Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.193/2.193, allocations: 251.1 MB / 266.7 MB, free: 11.65 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001283/0.001282, allocations: 176.4 kB / 326.2 MB, free: 2.887 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.382/2.382, allocations: 205.4 MB / 0.5772 GB, free: 20.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009636/0.0009628, allocations: 91.61 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006373/0.0006375, allocations: 14.09 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.239, allocations: 106.3 MB / 0.8995 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.239/0.4781, allocations: 137.8 MB / 1.034 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003845/0.4785, allocations: 91.95 kB / 1.034 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06208/0.5406, allocations: 13.67 MB / 1.047 GB, free: 9.734 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.274e-06/0.5407, allocations: 0 / 1.047 GB, free: 9.734 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.399e-05/0.5408, allocations: 12 kB / 1.047 GB, free: 9.723 MB / 0.698 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.001748/0.5425, allocations: 0.7954 MB / 1.048 GB, free: 8.867 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.5426, allocations: 8.031 kB / 1.048 GB, free: 8.859 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/0.5428, allocations: 64.19 kB / 1.048 GB, free: 8.797 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.5439, allocations: 421.2 kB / 1.049 GB, free: 8.348 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.764e-05/0.5439, allocations: 8.562 kB / 1.049 GB, free: 8.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.581e-05/0.544, allocations: 12.31 kB / 1.049 GB, free: 8.328 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004694/0.5445, allocations: 150.6 kB / 1.049 GB, free: 8.172 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.5445, allocations: 0 / 1.049 GB, free: 8.172 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.239e-05/0.5446, allocations: 8 kB / 1.049 GB, free: 8.164 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.5446, allocations: 4 kB / 1.049 GB, free: 8.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002932/0.5449, allocations: 75.95 kB / 1.049 GB, free: 8.086 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.5464, allocations: 0.5864 MB / 1.05 GB, free: 7.449 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005336/0.547, allocations: 130.7 kB / 1.05 GB, free: 7.312 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.5472, allocations: 48.83 kB / 1.05 GB, free: 7.262 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.5473, allocations: 0 / 1.05 GB, free: 7.262 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003788/0.5476, allocations: 120.3 kB / 1.05 GB, free: 7.133 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 2.705e-06/0.5477, allocations: 0 / 1.05 GB, free: 7.133 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0009507/0.5486, allocations: 247.2 kB / 1.05 GB, free: 6.887 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.965e-05/0.5487, allocations: 81.05 kB / 1.05 GB, free: 6.789 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/0.5502, allocations: 0.6758 MB / 1.051 GB, free: 6.102 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001158/0.5504, allocations: 33.7 kB / 1.051 GB, free: 6.062 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003397/0.5507, allocations: 268.3 kB / 1.051 GB, free: 5.793 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.365e-05/0.5508, allocations: 39.53 kB / 1.051 GB, free: 5.754 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.884e-05/0.5508, allocations: 8 kB / 1.051 GB, free: 5.746 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002238/0.5511, allocations: 366.8 kB / 1.051 GB, free: 5.379 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003125/0.5514, allocations: 79.95 kB / 1.052 GB, free: 5.301 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003477/0.5518, allocations: 136.4 kB / 1.052 GB, free: 5.152 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003097/0.5521, allocations: 88.03 kB / 1.052 GB, free: 5.066 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.5521, allocations: 0 / 1.052 GB, free: 5.066 MB / 0.698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000893/0.553, allocations: 281.8 kB / 1.052 GB, free: 4.785 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.5531, allocations: 4 kB / 1.052 GB, free: 4.781 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.5531, allocations: 4 kB / 1.052 GB, free: 4.777 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.5531, allocations: 0 / 1.052 GB, free: 4.777 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000302/0.5534, allocations: 47.84 kB / 1.052 GB, free: 4.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.5534, allocations: 4.062 kB / 1.052 GB, free: 4.727 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003759/0.5538, allocations: 27.89 kB / 1.052 GB, free: 4.699 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-05/0.5539, allocations: 8 kB / 1.052 GB, free: 4.691 MB / 0.698 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 ($whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.mWat_flow.tab.nextTimeEvent,assWatMas.runSig,assWatMas.assMes.u,$PRE.assWatMas.hys.y,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004568/0.5544, allocations: 211.5 kB / 1.052 GB, free: 4.477 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.5545, allocations: 63.28 kB / 1.052 GB, free: 4.414 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007134/0.5552, allocations: 218.5 kB / 1.053 GB, free: 4.191 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.5553, allocations: 7.938 kB / 1.053 GB, free: 4.184 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.5553, allocations: 0 / 1.053 GB, free: 4.184 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.5553, allocations: 0 / 1.053 GB, free: 4.184 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000607/0.5559, allocations: 385.3 kB / 1.053 GB, free: 3.758 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.5559, allocations: 3.938 kB / 1.053 GB, free: 3.754 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.5561, allocations: 8 kB / 1.053 GB, free: 3.746 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.425e-06/0.5561, allocations: 4 kB / 1.053 GB, free: 3.742 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.5561, allocations: 7.984 kB / 1.053 GB, free: 3.734 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.5561, allocations: 3.938 kB / 1.053 GB, free: 3.73 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5561, allocations: 4 kB / 1.053 GB, free: 3.727 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006802/0.5568, allocations: 237.2 kB / 1.053 GB, free: 3.477 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002026/0.557, allocations: 140.3 kB / 1.053 GB, free: 3.32 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.893e-05/0.5571, allocations: 8 kB / 1.053 GB, free: 3.312 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002481/0.5574, allocations: 15.92 kB / 1.053 GB, free: 3.297 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.445e-05/0.5575, allocations: 19.97 kB / 1.053 GB, free: 3.277 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.5576, allocations: 8 kB / 1.053 GB, free: 3.27 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009819/0.5585, allocations: 467 kB / 1.054 GB, free: 2.816 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/0.5586, allocations: 0 / 1.054 GB, free: 2.816 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006087/0.5592, allocations: 72 kB / 1.054 GB, free: 2.746 MB / 0.698 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.runSig,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001416/0.5606, allocations: 450.9 kB / 1.054 GB, free: 2.461 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007445/0.5614, allocations: 167.8 kB / 1.055 GB, free: 2.297 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.5614, allocations: 0 / 1.055 GB, free: 2.297 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000249/0.5617, allocations: 63.91 kB / 1.055 GB, free: 2.234 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009114/0.5626, allocations: 84.19 kB / 1.055 GB, free: 2.156 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.5649, allocations: 0.9421 MB / 1.056 GB, free: 1.176 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005994/0.5656, allocations: 0.8625 MB / 1.056 GB, free: 292 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003087/0.5659, allocations: 50.25 kB / 1.056 GB, free: 244 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.566, allocations: 35.42 kB / 1.056 GB, free: 212 kB / 0.698 GB Notification: Performance of SimCode: time 1.353e-06/0.5661, allocations: 0 / 1.056 GB, free: 212 kB / 0.698 GB Notification: Performance of Templates: time 0.576/1.142, allocations: 4.442 MB / 1.061 GB, free: 147.7 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)