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.376/2.376, allocations: 284.8 MB / 297.3 MB, free: 6.316 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.001419/0.001419, allocations: 184.1 kB / 365.7 MB, free: 2.598 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 1.88/1.88, allocations: 205.1 MB / 0.6241 GB, free: 8.211 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001099/0.001099, allocations: 95.52 kB / 0.7372 GB, free: 40.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.403e-05/4.412e-05, allocations: 7.984 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7789/0.779, allocations: 115.2 MB / 0.97 GB, free: 78.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2424/1.021, allocations: 144 MB / 1.111 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003414/1.022, allocations: 92.45 kB / 1.111 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.06244/1.084, allocations: 13.8 MB / 1.124 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.724e-06/1.084, allocations: 0 / 1.124 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.135e-05/1.084, allocations: 8 kB / 1.124 GB, free: 10.51 MB / 0.7292 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.001315/1.086, allocations: 0.6892 MB / 1.125 GB, free: 9.766 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/1.086, allocations: 8.031 kB / 1.125 GB, free: 9.758 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/1.086, allocations: 64.44 kB / 1.125 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/1.087, allocations: 435.8 kB / 1.125 GB, free: 9.227 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.63e-05/1.087, allocations: 12.19 kB / 1.125 GB, free: 9.215 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.871e-05/1.087, allocations: 11.94 kB / 1.125 GB, free: 9.203 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003846/1.088, allocations: 137 kB / 1.126 GB, free: 9.059 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/1.088, allocations: 0 / 1.126 GB, free: 9.059 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/1.088, allocations: 4 kB / 1.126 GB, free: 9.055 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/1.088, allocations: 4 kB / 1.126 GB, free: 9.051 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002302/1.088, allocations: 68.55 kB / 1.126 GB, free: 8.984 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001519/1.09, allocations: 0.5911 MB / 1.126 GB, free: 8.344 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000358/1.09, allocations: 126.3 kB / 1.126 GB, free: 8.215 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/1.09, allocations: 44.84 kB / 1.126 GB, free: 8.168 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/1.09, allocations: 11.95 kB / 1.126 GB, free: 8.156 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002927/1.09, allocations: 104.9 kB / 1.126 GB, free: 8.043 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 3.105e-06/1.09, allocations: 0 / 1.126 GB, free: 8.043 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0005976/1.091, allocations: 192.8 kB / 1.127 GB, free: 7.848 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.976e-05/1.091, allocations: 85.09 kB / 1.127 GB, free: 7.746 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/1.092, allocations: 0.6049 MB / 1.127 GB, free: 7.133 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.792e-05/1.092, allocations: 37.69 kB / 1.127 GB, free: 7.09 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003266/1.093, allocations: 268.3 kB / 1.128 GB, free: 6.824 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.089e-05/1.093, allocations: 27.61 kB / 1.128 GB, free: 6.797 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/1.093, allocations: 4 kB / 1.128 GB, free: 6.793 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002307/1.093, allocations: 374.8 kB / 1.128 GB, free: 6.418 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/1.093, allocations: 77.52 kB / 1.128 GB, free: 6.344 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002899/1.094, allocations: 129.5 kB / 1.128 GB, free: 6.199 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/1.094, allocations: 94.77 kB / 1.128 GB, free: 6.109 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/1.094, allocations: 0 / 1.128 GB, free: 6.109 MB / 0.7292 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007701/1.095, allocations: 284.8 kB / 1.129 GB, free: 5.824 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/1.095, allocations: 7.953 kB / 1.129 GB, free: 5.816 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/1.095, allocations: 48 / 1.129 GB, free: 5.816 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/1.095, allocations: 12.05 kB / 1.129 GB, free: 5.805 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003134/1.095, allocations: 31.98 kB / 1.129 GB, free: 5.773 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/1.095, allocations: 3.938 kB / 1.129 GB, free: 5.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003567/1.096, allocations: 27.83 kB / 1.129 GB, free: 5.742 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.324e-05/1.096, allocations: 15.19 kB / 1.129 GB, free: 5.73 MB / 0.7292 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 0.0001415/1.096, allocations: 118.7 kB / 1.129 GB, free: 5.609 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/1.096, allocations: 59.34 kB / 1.129 GB, free: 5.551 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006678/1.097, allocations: 210.6 kB / 1.129 GB, free: 5.332 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/1.097, allocations: 4 kB / 1.129 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/1.097, allocations: 0 / 1.129 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/1.097, allocations: 3.984 kB / 1.129 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006315/1.097, allocations: 385.3 kB / 1.129 GB, free: 4.898 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/1.097, allocations: 0 / 1.129 GB, free: 4.898 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/1.097, allocations: 11.98 kB / 1.129 GB, free: 4.887 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.789e-06/1.097, allocations: 4 kB / 1.129 GB, free: 4.883 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/1.097, allocations: 1.406 kB / 1.129 GB, free: 4.883 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/1.098, allocations: 7.953 kB / 1.129 GB, free: 4.875 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.098, allocations: 0 / 1.129 GB, free: 4.875 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005422/1.098, allocations: 233.8 kB / 1.13 GB, free: 4.629 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001973/1.098, allocations: 132.3 kB / 1.13 GB, free: 4.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.692e-05/1.098, allocations: 8 kB / 1.13 GB, free: 4.473 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/1.099, allocations: 11.98 kB / 1.13 GB, free: 4.461 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.681e-05/1.099, allocations: 27.92 kB / 1.13 GB, free: 4.434 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/1.099, allocations: 4 kB / 1.13 GB, free: 4.43 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0009248/1.1, allocations: 467.1 kB / 1.13 GB, free: 3.98 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.41e-07/1.1, allocations: 0 / 1.13 GB, free: 3.98 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005817/1.1, allocations: 83.92 kB / 1.13 GB, free: 3.898 MB / 0.7292 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.001338/1.102, allocations: 433.3 kB / 1.131 GB, free: 3.652 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005746/1.102, allocations: 155.8 kB / 1.131 GB, free: 3.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/1.102, allocations: 0 / 1.131 GB, free: 3.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001841/1.103, allocations: 63.92 kB / 1.131 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007487/1.103, allocations: 73.31 kB / 1.131 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/1.105, allocations: 0.6029 MB / 1.132 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006505/1.106, allocations: 0.8808 MB / 1.132 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002754/1.106, allocations: 46.72 kB / 1.133 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/1.106, allocations: 39.36 kB / 1.133 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of SimCode: time 9.42e-07/1.106, allocations: 0 / 1.133 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of Templates: time 0.01673/1.123, allocations: 4.676 MB / 1.137 GB, free: 13.19 MB / 0.7448 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)