Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.537/2.537, allocations: 287.5 MB / 302.5 MB, free: 8.234 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001498/0.001497, allocations: 190.6 kB / 371 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.143/2.143, allocations: 205.4 MB / 0.6297 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001174/0.001174, allocations: 104.1 kB / 0.743 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004846/0.0004845, allocations: 11.5 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2235, allocations: 115.3 MB / 0.9784 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.05/1.273, allocations: 144.1 MB / 1.119 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003629/1.273, allocations: 96.11 kB / 1.119 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05597/1.329, allocations: 13.82 MB / 1.133 GB, free: 29.21 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.414e-06/1.33, allocations: 0 / 1.133 GB, free: 29.21 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.65e-05/1.33, allocations: 7.688 kB / 1.133 GB, free: 29.21 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.00183/1.331, allocations: 0.811 MB / 1.134 GB, free: 28.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/1.332, allocations: 11.64 kB / 1.134 GB, free: 28.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001701/1.332, allocations: 58.5 kB / 1.134 GB, free: 28.49 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/1.333, allocations: 436.2 kB / 1.134 GB, free: 28.17 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/1.333, allocations: 7.344 kB / 1.134 GB, free: 28.17 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/1.333, allocations: 10.91 kB / 1.134 GB, free: 28.17 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004104/1.333, allocations: 146.8 kB / 1.134 GB, free: 28.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/1.333, allocations: 0 / 1.134 GB, free: 28.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.753e-05/1.333, allocations: 6.734 kB / 1.134 GB, free: 28.09 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/1.333, allocations: 3.875 kB / 1.134 GB, free: 28.09 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002563/1.334, allocations: 80.23 kB / 1.134 GB, free: 28.08 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/1.335, allocations: 0.5941 MB / 1.135 GB, free: 27.69 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004485/1.335, allocations: 133.7 kB / 1.135 GB, free: 27.64 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/1.336, allocations: 3.812 kB / 1.135 GB, free: 27.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003069/1.336, allocations: 115.1 kB / 1.135 GB, free: 27.57 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 2.605e-06/1.336, allocations: 0 / 1.135 GB, free: 27.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0008248/1.337, allocations: 248.2 kB / 1.135 GB, free: 27.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.091e-05/1.337, allocations: 80.92 kB / 1.135 GB, free: 27.38 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/1.338, allocations: 0.6026 MB / 1.136 GB, free: 27.18 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.045e-05/1.338, allocations: 36.78 kB / 1.136 GB, free: 27.14 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/1.338, allocations: 269 kB / 1.136 GB, free: 27.04 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.546e-05/1.338, allocations: 34.2 kB / 1.136 GB, free: 27.02 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.531e-05/1.338, allocations: 2.312 kB / 1.136 GB, free: 27.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001895/1.339, allocations: 370.5 kB / 1.137 GB, free: 26.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002716/1.339, allocations: 91.89 kB / 1.137 GB, free: 26.67 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002914/1.339, allocations: 128.4 kB / 1.137 GB, free: 26.61 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/1.339, allocations: 93.53 kB / 1.137 GB, free: 26.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.34, allocations: 0 / 1.137 GB, free: 26.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007781/1.34, allocations: 297.8 kB / 1.137 GB, free: 26.49 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/1.34, allocations: 11.77 kB / 1.137 GB, free: 26.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/1.34, allocations: 0 / 1.137 GB, free: 26.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/1.34, allocations: 11.81 kB / 1.137 GB, free: 26.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/1.341, allocations: 30.98 kB / 1.137 GB, free: 26.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/1.341, allocations: 3.844 kB / 1.137 GB, free: 26.47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003384/1.341, allocations: 25.73 kB / 1.137 GB, free: 26.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.461e-05/1.341, allocations: 15.86 kB / 1.137 GB, free: 26.46 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.0004581/1.342, allocations: 207.6 kB / 1.138 GB, free: 26.33 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/1.342, allocations: 61.89 kB / 1.138 GB, free: 26.29 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006197/1.342, allocations: 219.8 kB / 1.138 GB, free: 26.21 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/1.342, allocations: 0 / 1.138 GB, free: 26.21 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.342, allocations: 0 / 1.138 GB, free: 26.21 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/1.342, allocations: 0 / 1.138 GB, free: 26.21 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004806/1.343, allocations: 383.2 kB / 1.138 GB, free: 25.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/1.343, allocations: 3.984 kB / 1.138 GB, free: 25.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.276e-05/1.343, allocations: 15.06 kB / 1.138 GB, free: 25.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/1.343, allocations: 3.75 kB / 1.138 GB, free: 25.94 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/1.343, allocations: 0 / 1.138 GB, free: 25.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/1.343, allocations: 3.953 kB / 1.138 GB, free: 25.94 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/1.343, allocations: 3.875 kB / 1.138 GB, free: 25.94 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005812/1.344, allocations: 236.3 kB / 1.138 GB, free: 25.82 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001802/1.344, allocations: 142.2 kB / 1.139 GB, free: 25.69 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.679e-05/1.344, allocations: 7.344 kB / 1.139 GB, free: 25.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/1.344, allocations: 11.67 kB / 1.139 GB, free: 25.68 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.529e-05/1.344, allocations: 23.08 kB / 1.139 GB, free: 25.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/1.344, allocations: 3.844 kB / 1.139 GB, free: 25.67 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008029/1.345, allocations: 471.3 kB / 1.139 GB, free: 25.51 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.345, allocations: 0 / 1.139 GB, free: 25.51 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006128/1.346, allocations: 87.25 kB / 1.139 GB, free: 25.5 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.001364/1.347, allocations: 474.1 kB / 1.14 GB, free: 25.29 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006444/1.348, allocations: 168.4 kB / 1.14 GB, free: 25.25 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/1.348, allocations: 0 / 1.14 GB, free: 25.25 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002084/1.348, allocations: 63.17 kB / 1.14 GB, free: 25.25 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007355/1.349, allocations: 79.48 kB / 1.14 GB, free: 25.22 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/1.351, allocations: 0.945 MB / 1.141 GB, free: 24.68 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005585/1.351, allocations: 0.8774 MB / 1.142 GB, free: 23.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002967/1.352, allocations: 53.2 kB / 1.142 GB, free: 23.87 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/1.352, allocations: 34.7 kB / 1.142 GB, free: 23.86 MB / 0.698 GB Notification: Performance of SimCode: time 9.12e-07/1.352, allocations: 0 / 1.142 GB, free: 23.86 MB / 0.698 GB Notification: Performance of Templates: time 0.01496/1.367, allocations: 4.584 MB / 1.146 GB, free: 21.59 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)