Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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.001858/0.001858, allocations: 104.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.002182/0.002182, allocations: 213 kB / 23.02 MB, free: 2.949 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.694/1.694, allocations: 230.6 MB / 256.8 MB, free: 9.602 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.384/3.384, allocations: 0.5045 GB / 0.8104 GB, free: 2.793 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.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00369/0.00369, allocations: 63.89 kB / 1.177 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9511/0.9547, allocations: 180 MB / 1.353 GB, free: 1.629 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.005062/0.9598, allocations: 2.414 MB / 1.355 GB, free: 15.2 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.00368/0.9635, allocations: 1.619 MB / 1.357 GB, free: 13.57 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003219/0.9638, allocations: 7.938 kB / 1.357 GB, free: 13.57 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.001208/0.965, allocations: 326.6 kB / 1.357 GB, free: 13.25 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0007482/0.9658, allocations: 270.8 kB / 1.357 GB, free: 12.98 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006075/0.9664, allocations: 206.3 kB / 1.358 GB, free: 12.79 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0005528/0.9669, allocations: 418.6 kB / 1.358 GB, free: 12.38 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.9671, allocations: 40.92 kB / 1.358 GB, free: 12.34 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002465/0.9673, allocations: 171.3 kB / 1.358 GB, free: 12.17 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002773/0.9676, allocations: 179.1 kB / 1.358 GB, free: 11.99 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 4.906e-05/0.9677, allocations: 20 kB / 1.358 GB, free: 11.97 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002178/0.9679, allocations: 79.94 kB / 1.358 GB, free: 11.89 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.9681, allocations: 131.5 kB / 1.359 GB, free: 11.77 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.9682, allocations: 142.9 kB / 1.359 GB, free: 11.62 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007077/0.969, allocations: 0.5201 MB / 1.359 GB, free: 11.11 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.969, allocations: 0 / 1.359 GB, free: 11.11 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.543e-06/0.969, allocations: 0 / 1.359 GB, free: 11.11 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.969, allocations: 3.938 kB / 1.359 GB, free: 11.1 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.00136/0.9703, allocations: 0.7909 MB / 1.36 GB, free: 10.27 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.9704, allocations: 8.922 kB / 1.36 GB, free: 10.27 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002562/0.9706, allocations: 68.5 kB / 1.36 GB, free: 10.2 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006523/0.9713, allocations: 387.3 kB / 1.36 GB, free: 9.793 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.9713, allocations: 12.12 kB / 1.36 GB, free: 9.781 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.9713, allocations: 8 kB / 1.36 GB, free: 9.773 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003302/0.9717, allocations: 153.4 kB / 1.361 GB, free: 9.613 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.9717, allocations: 0 / 1.361 GB, free: 9.613 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.9717, allocations: 8 kB / 1.361 GB, free: 9.605 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.9717, allocations: 3.938 kB / 1.361 GB, free: 9.602 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001965/0.9719, allocations: 79.89 kB / 1.361 GB, free: 9.523 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009552/0.9728, allocations: 0.4924 MB / 1.361 GB, free: 9 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003609/0.9732, allocations: 126.7 kB / 1.361 GB, free: 8.867 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.9733, allocations: 40.84 kB / 1.361 GB, free: 8.824 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.9733, allocations: 4 kB / 1.361 GB, free: 8.82 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002796/0.9736, allocations: 137 kB / 1.362 GB, free: 8.668 MB / 1.042 GB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.9736, allocations: 0 / 1.362 GB, free: 8.668 MB / 1.042 GB Notification: Performance of matching and sorting (n=13): time 0.0006071/0.9742, allocations: 253.1 kB / 1.362 GB, free: 8.414 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/0.9743, allocations: 59.34 kB / 1.362 GB, free: 8.344 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009399/0.9752, allocations: 0.7034 MB / 1.362 GB, free: 7.629 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.9753, allocations: 33.7 kB / 1.363 GB, free: 7.59 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000267/0.9755, allocations: 268.4 kB / 1.363 GB, free: 7.324 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 4.886e-05/0.9756, allocations: 35.72 kB / 1.363 GB, free: 7.289 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.9757, allocations: 69.64 kB / 1.363 GB, free: 7.215 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002254/0.9759, allocations: 370.8 kB / 1.363 GB, free: 6.844 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.9761, allocations: 71.97 kB / 1.363 GB, free: 6.773 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.9763, allocations: 182.2 kB / 1.363 GB, free: 6.57 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002823/0.9766, allocations: 139.2 kB / 1.364 GB, free: 6.426 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.9766, allocations: 0 / 1.364 GB, free: 6.426 MB / 1.042 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005144/0.9771, allocations: 282.5 kB / 1.364 GB, free: 6.145 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.9771, allocations: 4 kB / 1.364 GB, free: 6.141 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.9772, allocations: 3.938 kB / 1.364 GB, free: 6.137 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.9772, allocations: 4 kB / 1.364 GB, free: 6.133 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.9773, allocations: 43.91 kB / 1.364 GB, free: 6.09 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.9774, allocations: 0 / 1.364 GB, free: 6.09 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.9775, allocations: 19.94 kB / 1.364 GB, free: 6.07 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.9775, allocations: 8 kB / 1.364 GB, free: 6.062 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition1,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,assWatMas.hys.y,$PRE.assWatMas.hys.y,assWatMas.assMes.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002537/0.9778, allocations: 211.5 kB / 1.364 GB, free: 5.848 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-05/0.9779, allocations: 63.58 kB / 1.364 GB, free: 5.785 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004632/0.9783, allocations: 233.3 kB / 1.364 GB, free: 5.551 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.9783, allocations: 0 / 1.364 GB, free: 5.551 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.9784, allocations: 0 / 1.364 GB, free: 5.551 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.9784, allocations: 0 / 1.364 GB, free: 5.551 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004508/0.9788, allocations: 297.1 kB / 1.365 GB, free: 5.23 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.9788, allocations: 0 / 1.365 GB, free: 5.23 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.075e-05/0.9789, allocations: 11.94 kB / 1.365 GB, free: 5.219 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.9789, allocations: 0 / 1.365 GB, free: 5.219 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.391e-05/0.9789, allocations: 11.98 kB / 1.365 GB, free: 5.207 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.9789, allocations: 11.88 kB / 1.365 GB, free: 5.195 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.9789, allocations: 0 / 1.365 GB, free: 5.195 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000535/0.9795, allocations: 232.7 kB / 1.365 GB, free: 4.949 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.529e-05/0.9796, allocations: 59.55 kB / 1.365 GB, free: 4.891 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.386e-05/0.9796, allocations: 11.98 kB / 1.365 GB, free: 4.879 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.9798, allocations: 15.92 kB / 1.365 GB, free: 4.863 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.737e-05/0.9798, allocations: 15.97 kB / 1.365 GB, free: 4.848 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.9798, allocations: 8 kB / 1.365 GB, free: 4.84 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0006242/0.9805, allocations: 483 kB / 1.366 GB, free: 4.375 MB / 1.042 GB Notification: Performance of sort global known variables: time 9e-08/0.9805, allocations: 7.938 kB / 1.366 GB, free: 4.367 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0003313/0.9808, allocations: 71.83 kB / 1.366 GB, free: 4.297 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.003034/0.9838, allocations: 457.1 kB / 1.366 GB, free: 4.023 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0003922/0.9842, allocations: 151.8 kB / 1.366 GB, free: 3.875 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.9842, allocations: 4 kB / 1.366 GB, free: 3.871 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.9844, allocations: 59.91 kB / 1.366 GB, free: 3.812 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005291/0.9849, allocations: 92.38 kB / 1.366 GB, free: 3.73 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.9865, allocations: 0.8719 MB / 1.367 GB, free: 2.828 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.9868, allocations: 267.6 kB / 1.367 GB, free: 2.543 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0001318/0.9869, allocations: 46.95 kB / 1.368 GB, free: 2.5 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.975e-05/0.987, allocations: 35.42 kB / 1.368 GB, free: 2.465 MB / 1.042 GB Notification: Performance of SimCode: time 5.61e-07/0.987, allocations: 0 / 1.368 GB, free: 2.465 MB / 1.042 GB Notification: Performance of Templates: time 0.01168/0.9987, allocations: 5.066 MB / 1.372 GB, free: 13.48 MB / 1.057 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.652093414217234]