Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008622/0.0008622, allocations: 109.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008805/0.0008805, allocations: 216.5 kB / 22.25 MB, free: 3.727 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9295/0.9295, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7755/0.7755, allocations: 203.8 MB / 0.5042 GB, free: 10.41 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001004/0.001004, allocations: 71.05 kB / 0.7182 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4872/0.4882, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.00154/0.4897, allocations: 0.7162 MB / 0.8185 GB, free: 0.5781 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.4909, allocations: 1.169 MB / 0.8196 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.759e-05/0.4909, allocations: 1.75 kB / 0.8196 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.912e-05/0.491, allocations: 4.594 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.696e-05/0.491, allocations: 18.64 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004281/0.4915, allocations: 138.4 kB / 0.8198 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.4916, allocations: 118.4 kB / 0.8199 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.743e-05/0.4917, allocations: 13.81 kB / 0.8199 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.89e-05/0.4918, allocations: 43.2 kB / 0.82 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.822e-05/0.4919, allocations: 41.98 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.4919, allocations: 8.906 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.801e-05/0.492, allocations: 27.39 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.369e-05/0.492, allocations: 8.984 kB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.817e-05/0.4921, allocations: 41.11 kB / 0.8201 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.4923, allocations: 111 kB / 0.8202 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.4923, allocations: 4 kB / 0.8202 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.913e-06/0.4923, allocations: 2.219 kB / 0.8202 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.4923, allocations: 3.938 kB / 0.8202 GB, free: 15.48 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005134/0.4928, allocations: 335.8 kB / 0.8205 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.4928, allocations: 8.844 kB / 0.8205 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.07e-05/0.4929, allocations: 39.12 kB / 0.8206 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.394e-05/0.4929, allocations: 9.531 kB / 0.8206 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.188e-05/0.493, allocations: 117.5 kB / 0.8207 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.493, allocations: 2.234 kB / 0.8207 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.493, allocations: 6.688 kB / 0.8207 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.4932, allocations: 73.59 kB / 0.8208 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.4932, allocations: 3.938 kB / 0.8208 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.4932, allocations: 0.6094 kB / 0.8208 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.4932, allocations: 0 / 0.8208 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.4933, allocations: 42.33 kB / 0.8208 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004078/0.4937, allocations: 285.2 kB / 0.8211 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.4939, allocations: 61.06 kB / 0.8211 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.132e-05/0.4939, allocations: 29.69 kB / 0.8212 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.4939, allocations: 8.922 kB / 0.8212 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/0.4941, allocations: 84.55 kB / 0.8213 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/0.4941, allocations: 7.562 kB / 0.8213 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.000293/0.4944, allocations: 146.5 kB / 0.8214 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.4945, allocations: 55.94 kB / 0.8215 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.464e-05/0.4945, allocations: 118.3 kB / 0.8216 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.4945, allocations: 33.89 kB / 0.8216 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.577e-05/0.4946, allocations: 89.55 kB / 0.8217 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.4946, allocations: 23.09 kB / 0.8217 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.576e-05/0.4947, allocations: 39.28 kB / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.488e-05/0.4948, allocations: 323.3 kB / 0.8221 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.4949, allocations: 83.97 kB / 0.8221 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.495, allocations: 122.6 kB / 0.8223 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.4952, allocations: 143.1 kB / 0.8224 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4952, allocations: 0 / 0.8224 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002892/0.4955, allocations: 246.7 kB / 0.8226 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.4955, allocations: 37.22 kB / 0.8227 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.4955, allocations: 3.5 kB / 0.8227 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.4955, allocations: 0 / 0.8227 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.452e-05/0.4956, allocations: 13.03 kB / 0.8227 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.4956, allocations: 4.969 kB / 0.8227 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.4957, allocations: 45.3 kB / 0.8227 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.4957, allocations: 10.62 kB / 0.8227 GB, free: 13.38 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003571/0.4961, allocations: 123.6 kB / 0.8229 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.039e-05/0.4961, allocations: 9.734 kB / 0.8229 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.63e-05/0.4961, allocations: 9.469 kB / 0.8229 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.4961, allocations: 1.406 kB / 0.8229 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.4961, allocations: 0 / 0.8229 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.4961, allocations: 1.562 kB / 0.8229 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003134/0.4964, allocations: 339.6 kB / 0.8232 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.4965, allocations: 4 kB / 0.8232 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.914e-05/0.4965, allocations: 8.906 kB / 0.8232 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.4965, allocations: 0 / 0.8232 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.4965, allocations: 4.469 kB / 0.8232 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.4965, allocations: 1.031 kB / 0.8232 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4965, allocations: 0 / 0.8232 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.4967, allocations: 211.9 kB / 0.8234 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.764e-06/0.4967, allocations: 7.172 kB / 0.8234 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.4967, allocations: 2.094 kB / 0.8234 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.831e-05/0.4967, allocations: 15.39 kB / 0.8234 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.4968, allocations: 9.484 kB / 0.8235 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.4968, allocations: 3.125 kB / 0.8235 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.711e-05/0.4968, allocations: 96.45 kB / 0.8236 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4968, allocations: 0 / 0.8236 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001806/0.497, allocations: 28 kB / 0.8236 GB, free: 12.68 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004501/0.4974, allocations: 0.7541 MB / 0.8243 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000299/0.4977, allocations: 191.6 kB / 0.8245 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4977, allocations: 1.312 kB / 0.8245 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.533e-05/0.4978, allocations: 31.81 kB / 0.8245 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.498, allocations: 22.47 kB / 0.8246 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.4996, allocations: 1.813 MB / 0.8263 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.368e-05/0.4996, allocations: 70.83 kB / 0.8264 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.204e-05/0.4997, allocations: 9.688 kB / 0.8264 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.316e-05/0.4997, allocations: 25.14 kB / 0.8264 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of SimCode: time 6.22e-07/0.4997, allocations: 0 / 0.8264 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01788/0.5176, allocations: 3.209 MB / 0.8296 GB, free: 9.211 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.751/7.269, allocations: 9.766 kB / 0.8296 GB, free: 9.207 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Change.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.210722274612635] Failed to read output from testmodel.py, exit status != 0: 7.347382692154497 7.358127703 6.863808236 Calling exit ...