Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.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.001844/0.001844, allocations: 108.3 kB / 19.72 MB, free: 416 kB / 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.001951/0.001951, allocations: 215.2 kB / 23.02 MB, free: 2.957 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 1.746/1.746, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.403/3.403, allocations: 0.5045 GB / 0.8104 GB, free: 2.801 MB / 0.6511 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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: translateModel(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus") translateModel(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00373/0.00373, allocations: 67.89 kB / 1.177 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9467/0.9504, allocations: 180 MB / 1.353 GB, free: 1.621 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.004605/0.955, allocations: 2.162 MB / 1.355 GB, free: 15.44 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.003283/0.9583, allocations: 1.359 MB / 1.356 GB, free: 14.08 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002303/0.9585, allocations: 11.88 kB / 1.356 GB, free: 14.07 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.000564/0.9591, allocations: 179.3 kB / 1.357 GB, free: 13.89 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005649/0.9597, allocations: 223 kB / 1.357 GB, free: 13.67 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004811/0.9601, allocations: 183.6 kB / 1.357 GB, free: 13.49 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0005806/0.9607, allocations: 430.8 kB / 1.357 GB, free: 13.07 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002272/0.9609, allocations: 72.11 kB / 1.357 GB, free: 13 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002511/0.9612, allocations: 179.2 kB / 1.358 GB, free: 12.83 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003792/0.9616, allocations: 191.2 kB / 1.358 GB, free: 12.64 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 8.603e-05/0.9617, allocations: 28 kB / 1.358 GB, free: 12.61 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003057/0.962, allocations: 79.91 kB / 1.358 GB, free: 12.54 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002358/0.9622, allocations: 119.6 kB / 1.358 GB, free: 12.42 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.9624, allocations: 123.2 kB / 1.358 GB, free: 12.3 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007313/0.9631, allocations: 0.5057 MB / 1.359 GB, free: 11.79 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.9631, allocations: 3.938 kB / 1.359 GB, free: 11.79 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9631, allocations: 0 / 1.359 GB, free: 11.79 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.9631, allocations: 0 / 1.359 GB, free: 11.79 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001244/0.9644, allocations: 0.669 MB / 1.359 GB, free: 11.09 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.9644, allocations: 8.922 kB / 1.359 GB, free: 11.08 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.9645, allocations: 48.66 kB / 1.359 GB, free: 11.03 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006488/0.9652, allocations: 348.8 kB / 1.36 GB, free: 10.67 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.9652, allocations: 20.3 kB / 1.36 GB, free: 10.65 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/0.9652, allocations: 15.94 kB / 1.36 GB, free: 10.63 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004262/0.9656, allocations: 207.5 kB / 1.36 GB, free: 10.41 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.9657, allocations: 4 kB / 1.36 GB, free: 10.41 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.9657, allocations: 8 kB / 1.36 GB, free: 10.4 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.9657, allocations: 4 kB / 1.36 GB, free: 10.39 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002322/0.9659, allocations: 95.89 kB / 1.36 GB, free: 10.3 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.9671, allocations: 0.6721 MB / 1.361 GB, free: 9.59 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000363/0.9675, allocations: 137.3 kB / 1.361 GB, free: 9.438 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.9676, allocations: 57.7 kB / 1.361 GB, free: 9.375 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.9677, allocations: 0 / 1.361 GB, free: 9.375 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002969/0.968, allocations: 132.9 kB / 1.361 GB, free: 9.227 MB / 1.042 GB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.968, allocations: 0 / 1.361 GB, free: 9.227 MB / 1.042 GB Notification: Performance of matching and sorting (n=12): time 0.0006218/0.9686, allocations: 229.3 kB / 1.361 GB, free: 8.996 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.968e-05/0.9687, allocations: 110.8 kB / 1.361 GB, free: 8.863 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007914/0.9695, allocations: 0.5799 MB / 1.362 GB, free: 8.273 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.9695, allocations: 29.7 kB / 1.362 GB, free: 8.238 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004936/0.97, allocations: 216.5 kB / 1.362 GB, free: 8.02 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 4.58e-05/0.9701, allocations: 35.73 kB / 1.362 GB, free: 7.984 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.9702, allocations: 73.67 kB / 1.362 GB, free: 7.906 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002093/0.9704, allocations: 350.8 kB / 1.362 GB, free: 7.555 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.9706, allocations: 112 kB / 1.363 GB, free: 7.445 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003227/0.9709, allocations: 244.7 kB / 1.363 GB, free: 7.168 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003757/0.9713, allocations: 206.7 kB / 1.363 GB, free: 6.953 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.9713, allocations: 4 kB / 1.363 GB, free: 6.949 MB / 1.042 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000655/0.972, allocations: 357.2 kB / 1.363 GB, free: 6.594 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.972, allocations: 8 kB / 1.363 GB, free: 6.586 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.972, allocations: 0 / 1.363 GB, free: 6.586 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.972, allocations: 4 kB / 1.363 GB, free: 6.582 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.9722, allocations: 47.91 kB / 1.363 GB, free: 6.535 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.9722, allocations: 4.484 kB / 1.363 GB, free: 6.531 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002368/0.9725, allocations: 43.95 kB / 1.363 GB, free: 6.488 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.659e-05/0.9725, allocations: 12 kB / 1.363 GB, free: 6.477 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.TTanBot.tab.nextTimeEvent,$whenCondition2,$PRE.TTanTop.tab.nextTimeEvent,$whenCondition1,TTanTop.tab.nextTimeEventScaled,$PRE.TTanTop.tab.nextTimeEventScaled,TTanTop.tab.nextTimeEvent,tanSta.hysCha.y,$PRE.tanSta.hysCha.y,TTanBot.tab.nextTimeEventScaled,$PRE.TTanBot.tab.nextTimeEventScaled,TTanBot.tab.nextTimeEvent,tanSta.hysEmp.y,$PRE.tanSta.hysEmp.y,tanSta.gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * 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.000266/0.9728, allocations: 199.4 kB / 1.364 GB, free: 6.273 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.86e-05/0.9728, allocations: 43.72 kB / 1.364 GB, free: 6.23 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005017/0.9733, allocations: 208.9 kB / 1.364 GB, free: 6.02 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.9734, allocations: 4 kB / 1.364 GB, free: 6.016 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.9734, allocations: 0 / 1.364 GB, free: 6.016 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.9734, allocations: 0 / 1.364 GB, free: 6.016 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003797/0.9737, allocations: 261 kB / 1.364 GB, free: 5.73 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.9737, allocations: 0 / 1.364 GB, free: 5.73 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.331e-05/0.9738, allocations: 15.98 kB / 1.364 GB, free: 5.715 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.9738, allocations: 0 / 1.364 GB, free: 5.715 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.9738, allocations: 0 / 1.364 GB, free: 5.715 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.156e-05/0.9738, allocations: 7.938 kB / 1.364 GB, free: 5.707 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.9738, allocations: 0 / 1.364 GB, free: 5.707 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004467/0.9743, allocations: 233.6 kB / 1.364 GB, free: 5.457 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.9744, allocations: 47.72 kB / 1.364 GB, free: 5.41 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.472e-05/0.9744, allocations: 7.984 kB / 1.364 GB, free: 5.402 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.9746, allocations: 19.98 kB / 1.364 GB, free: 5.383 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.192e-05/0.9747, allocations: 23.95 kB / 1.364 GB, free: 5.359 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.9747, allocations: 8 kB / 1.364 GB, free: 5.352 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.000471/0.9751, allocations: 355.1 kB / 1.365 GB, free: 5.008 MB / 1.042 GB Notification: Performance of sort global known variables: time 1e-07/0.9751, allocations: 0 / 1.365 GB, free: 5.008 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0003587/0.9755, allocations: 75.88 kB / 1.365 GB, free: 4.934 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled,$whenCondition1,tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanTop.tab.nextTimeEventScaled) * Number of discrete states: 6 (tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanTop.tab.nextTimeEventScaled,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002989/0.9785, allocations: 468.5 kB / 1.365 GB, free: 4.656 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0005583/0.9791, allocations: 199.8 kB / 1.366 GB, free: 4.461 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.9791, allocations: 0 / 1.366 GB, free: 4.461 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.9792, allocations: 59.91 kB / 1.366 GB, free: 4.402 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005837/0.9798, allocations: 100.6 kB / 1.366 GB, free: 4.312 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.9811, allocations: 0.6381 MB / 1.366 GB, free: 3.641 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.9814, allocations: 204.7 kB / 1.367 GB, free: 3.418 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0001677/0.9816, allocations: 58.94 kB / 1.367 GB, free: 3.363 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.693e-05/0.9817, allocations: 39.42 kB / 1.367 GB, free: 3.324 MB / 1.042 GB Notification: Performance of SimCode: time 9.01e-07/0.9817, allocations: 0 / 1.367 GB, free: 3.324 MB / 1.042 GB Notification: Performance of Templates: time 0.01269/0.9943, allocations: 5.369 MB / 1.372 GB, free: 14.03 MB / 1.057 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.makefile [Timeout 300] (rm -f Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; mkfifo Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; head -c 1048576 < Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe >> ../files/Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.sim & ./Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.49534029699862]