Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.7/1.7, allocations: 289.7 MB / 302.2 MB, free: 2.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001065/0.001064, allocations: 176.7 kB / 371.6 MB, free: 3.398 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.332/1.332, allocations: 205.1 MB / 0.6309 GB, free: 11.73 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008543/0.0008545, allocations: 91.41 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 2.989e-05/2.991e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2047, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6179/0.8227, allocations: 145.2 MB / 1.122 GB, free: 39.97 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.8229, allocations: 92.64 kB / 1.122 GB, free: 39.93 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03141/0.8544, allocations: 13.78 MB / 1.135 GB, free: 32.13 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.152e-06/0.8544, allocations: 0.5625 kB / 1.135 GB, free: 32.13 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.795e-05/0.8544, allocations: 8 kB / 1.135 GB, free: 32.12 MB / 0.7448 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.00065/0.8551, allocations: 0.6908 MB / 1.136 GB, free: 31.46 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.8551, allocations: 16.03 kB / 1.136 GB, free: 31.44 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.458e-05/0.8552, allocations: 41.81 kB / 1.136 GB, free: 31.4 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.132e-05/0.8552, allocations: 56.97 kB / 1.136 GB, free: 31.34 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005708/0.8558, allocations: 438 kB / 1.136 GB, free: 30.95 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.8558, allocations: 11.27 kB / 1.136 GB, free: 30.95 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.8559, allocations: 11.69 kB / 1.136 GB, free: 30.94 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.8561, allocations: 146 kB / 1.137 GB, free: 30.84 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.8561, allocations: 4 kB / 1.137 GB, free: 30.84 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.8561, allocations: 7.812 kB / 1.137 GB, free: 30.83 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.8561, allocations: 0 / 1.137 GB, free: 30.83 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.8563, allocations: 66.89 kB / 1.137 GB, free: 30.79 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007663/0.857, allocations: 0.5937 MB / 1.137 GB, free: 30.37 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.8573, allocations: 123.2 kB / 1.137 GB, free: 30.29 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.73e-05/0.8573, allocations: 42.42 kB / 1.137 GB, free: 30.26 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.8574, allocations: 4 kB / 1.137 GB, free: 30.25 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.8575, allocations: 112.1 kB / 1.138 GB, free: 30.17 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.422e-06/0.8575, allocations: 0.5625 kB / 1.138 GB, free: 30.17 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0003278/0.8579, allocations: 190.7 kB / 1.138 GB, free: 30.02 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.8579, allocations: 88.67 kB / 1.138 GB, free: 29.91 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005775/0.8585, allocations: 0.6047 MB / 1.138 GB, free: 29.49 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.8585, allocations: 33.52 kB / 1.138 GB, free: 29.45 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.8587, allocations: 267.9 kB / 1.139 GB, free: 29.33 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.8587, allocations: 32.27 kB / 1.139 GB, free: 29.3 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.316e-05/0.8588, allocations: 7.75 kB / 1.139 GB, free: 29.3 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.8589, allocations: 370.1 kB / 1.139 GB, free: 28.97 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.859, allocations: 80.8 kB / 1.139 GB, free: 28.93 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.8592, allocations: 124.9 kB / 1.139 GB, free: 28.83 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.8593, allocations: 90.56 kB / 1.139 GB, free: 28.78 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.8593, allocations: 4 kB / 1.139 GB, free: 28.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004115/0.8598, allocations: 279.4 kB / 1.14 GB, free: 28.57 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.8598, allocations: 8.516 kB / 1.14 GB, free: 28.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.8598, allocations: 1.562 kB / 1.14 GB, free: 28.56 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.8598, allocations: 4 kB / 1.14 GB, free: 28.55 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.86, allocations: 39.75 kB / 1.14 GB, free: 28.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.86, allocations: 0.5625 kB / 1.14 GB, free: 28.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.8602, allocations: 26.83 kB / 1.14 GB, free: 28.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/0.8603, allocations: 14.86 kB / 1.14 GB, free: 28.5 MB / 0.7448 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 () * 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 9.329e-05/0.8604, allocations: 123.1 kB / 1.14 GB, free: 28.38 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.974e-05/0.8604, allocations: 60.66 kB / 1.14 GB, free: 28.32 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003734/0.8608, allocations: 214 kB / 1.14 GB, free: 28.17 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.8608, allocations: 4 kB / 1.14 GB, free: 28.17 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.8608, allocations: 4 kB / 1.14 GB, free: 28.16 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.8608, allocations: 0.7031 kB / 1.14 GB, free: 28.16 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003998/0.8613, allocations: 382.4 kB / 1.14 GB, free: 27.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.8613, allocations: 0 / 1.14 GB, free: 27.88 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.799e-05/0.8613, allocations: 12.33 kB / 1.14 GB, free: 27.87 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.8613, allocations: 8.547 kB / 1.14 GB, free: 27.86 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.8614, allocations: 1.406 kB / 1.14 GB, free: 27.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.8614, allocations: 4.562 kB / 1.14 GB, free: 27.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.8614, allocations: 0 / 1.14 GB, free: 27.86 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003377/0.8617, allocations: 235.7 kB / 1.141 GB, free: 27.66 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.8619, allocations: 134.7 kB / 1.141 GB, free: 27.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.51e-05/0.8619, allocations: 8.594 kB / 1.141 GB, free: 27.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.8621, allocations: 14.77 kB / 1.141 GB, free: 27.51 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.34e-05/0.8622, allocations: 23.19 kB / 1.141 GB, free: 27.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.8622, allocations: 9.266 kB / 1.141 GB, free: 27.49 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005193/0.8627, allocations: 460.7 kB / 1.141 GB, free: 27.19 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8627, allocations: 4 kB / 1.141 GB, free: 27.18 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000399/0.8631, allocations: 84.73 kB / 1.141 GB, free: 27.11 MB / 0.7448 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) * 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.001435/0.8646, allocations: 1.086 MB / 1.142 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002684/0.8648, allocations: 157.8 kB / 1.143 GB, free: 26.1 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.8649, allocations: 0 / 1.143 GB, free: 26.1 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.126e-05/0.8649, allocations: 62.8 kB / 1.143 GB, free: 26.06 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004867/0.8654, allocations: 82.91 kB / 1.143 GB, free: 26.02 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.8668, allocations: 0.7378 MB / 1.143 GB, free: 25.43 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.8672, allocations: 0.8711 MB / 1.144 GB, free: 24.62 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001616/0.8674, allocations: 52.03 kB / 1.144 GB, free: 24.59 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.8676, allocations: 167 kB / 1.145 GB, free: 24.57 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/0.8676, allocations: 7.938 kB / 1.145 GB, free: 24.56 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02276/0.8904, allocations: 10.09 MB / 1.154 GB, free: 18.41 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001183/0.8905, allocations: 196.1 kB / 1.155 GB, free: 18.18 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.02/2.911, allocations: 0 / 1.155 GB, free: 18.18 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)