Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.631/1.631, allocations: 297.8 MB / 313.7 MB, free: 148 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 179.4 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 223.2 MB / 0.6626 GB, free: 4.336 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007827/0.0007827, allocations: 95.45 kB / 0.7808 GB, free: 50.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006558/0.000656, allocations: 16 kB / 0.9088 GB, free: 2.883 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6203/0.621, allocations: 120.3 MB / 1.026 GB, free: 55.85 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1782/0.7993, allocations: 148 MB / 1.171 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.7996, allocations: 94.44 kB / 1.171 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03687/0.8365, allocations: 14.17 MB / 1.185 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.113e-06/0.8365, allocations: 0 / 1.185 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.195e-05/0.8366, allocations: 8 kB / 1.185 GB, free: 15.73 MB / 0.7605 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.001054/0.8376, allocations: 0.8076 MB / 1.186 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.8377, allocations: 12.02 kB / 1.186 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.418e-05/0.8378, allocations: 62.12 kB / 1.186 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006481/0.8384, allocations: 456.8 kB / 1.186 GB, free: 14.31 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.8385, allocations: 9.688 kB / 1.186 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/0.8385, allocations: 12.38 kB / 1.186 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/0.8388, allocations: 154.8 kB / 1.186 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.8388, allocations: 0 / 1.186 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.8388, allocations: 4 kB / 1.186 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.8388, allocations: 4 kB / 1.186 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.839, allocations: 75.89 kB / 1.186 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008342/0.8399, allocations: 0.5981 MB / 1.187 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/0.8402, allocations: 134.6 kB / 1.187 GB, free: 13.26 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.8403, allocations: 49.59 kB / 1.187 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.8403, allocations: 3.984 kB / 1.187 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002172/0.8405, allocations: 112.2 kB / 1.187 GB, free: 13.08 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=13): time 2.655e-06/0.8405, allocations: 0.7969 kB / 1.187 GB, free: 13.08 MB / 0.7605 GB Notification: Performance of matching and sorting (n=13): time 0.0005294/0.8411, allocations: 242.7 kB / 1.187 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.8411, allocations: 77.11 kB / 1.187 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008132/0.842, allocations: 0.6915 MB / 1.188 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.842, allocations: 29.7 kB / 1.188 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.8422, allocations: 269.6 kB / 1.188 GB, free: 11.74 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.039e-05/0.8422, allocations: 39.59 kB / 1.188 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.177e-05/0.8423, allocations: 4 kB / 1.188 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.8424, allocations: 370.8 kB / 1.189 GB, free: 11.33 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.8426, allocations: 83.95 kB / 1.189 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.8428, allocations: 129.1 kB / 1.189 GB, free: 11.1 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002668/0.8431, allocations: 156.5 kB / 1.189 GB, free: 10.94 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8431, allocations: 0 / 1.189 GB, free: 10.94 MB / 0.7605 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004402/0.8435, allocations: 291.1 kB / 1.189 GB, free: 10.65 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.8435, allocations: 4 kB / 1.189 GB, free: 10.65 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.8436, allocations: 4 kB / 1.189 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.8436, allocations: 3.938 kB / 1.189 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.8437, allocations: 35.92 kB / 1.189 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.8437, allocations: 1.688 kB / 1.189 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.8439, allocations: 38.05 kB / 1.19 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.16e-05/0.844, allocations: 8 kB / 1.19 GB, free: 10.56 MB / 0.7605 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.0002128/0.8442, allocations: 206.2 kB / 1.19 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.567e-05/0.8442, allocations: 55.34 kB / 1.19 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004045/0.8447, allocations: 226.5 kB / 1.19 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.8447, allocations: 7.922 kB / 1.19 GB, free: 10.06 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.8447, allocations: 4 kB / 1.19 GB, free: 10.06 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.8447, allocations: 0 / 1.19 GB, free: 10.06 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004035/0.8451, allocations: 381.9 kB / 1.19 GB, free: 9.637 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.8451, allocations: 0 / 1.19 GB, free: 9.637 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.3e-05/0.8452, allocations: 15.98 kB / 1.19 GB, free: 9.621 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.8452, allocations: 0 / 1.19 GB, free: 9.621 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.8452, allocations: 4.688 kB / 1.19 GB, free: 9.617 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.286e-06/0.8452, allocations: 4 kB / 1.19 GB, free: 9.613 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.8452, allocations: 5.5 kB / 1.19 GB, free: 9.609 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003587/0.8456, allocations: 232.4 kB / 1.191 GB, free: 9.363 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.8457, allocations: 140.3 kB / 1.191 GB, free: 9.207 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.965e-05/0.8458, allocations: 11.94 kB / 1.191 GB, free: 9.195 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.8459, allocations: 17.11 kB / 1.191 GB, free: 9.18 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.846, allocations: 15.97 kB / 1.191 GB, free: 9.164 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.846, allocations: 8 kB / 1.191 GB, free: 9.156 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004906/0.8465, allocations: 471 kB / 1.191 GB, free: 8.699 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8465, allocations: 0 / 1.191 GB, free: 8.699 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003442/0.8468, allocations: 83.5 kB / 1.191 GB, free: 8.621 MB / 0.7605 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.001014/0.8479, allocations: 474.4 kB / 1.192 GB, free: 8.387 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003415/0.8482, allocations: 163.9 kB / 1.192 GB, free: 8.227 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.8482, allocations: 0 / 1.192 GB, free: 8.227 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.8484, allocations: 59.92 kB / 1.192 GB, free: 8.168 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004678/0.8488, allocations: 82.36 kB / 1.192 GB, free: 8.094 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.8502, allocations: 0.9503 MB / 1.193 GB, free: 7.109 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004775/0.8506, allocations: 0.8623 MB / 1.194 GB, free: 6.223 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001486/0.8508, allocations: 64.81 kB / 1.194 GB, free: 6.176 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.411e-05/0.8509, allocations: 31.44 kB / 1.194 GB, free: 6.145 MB / 0.7605 GB Notification: Performance of SimCode: time 1.753e-06/0.8509, allocations: 0 / 1.194 GB, free: 6.145 MB / 0.7605 GB Notification: Performance of Templates: time 0.009244/0.8601, allocations: 4.637 MB / 1.198 GB, free: 1.684 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)