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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.672/1.672, allocations: 293 MB / 309 MB, free: 4.855 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.001034/0.001034, allocations: 168.6 kB / 378.7 MB, free: 1.031 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.897/1.897, allocations: 205.4 MB / 0.6383 GB, free: 8.234 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.0008447/0.0008445, allocations: 95.81 kB / 0.7527 GB, free: 62.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000541/0.0005409, allocations: 12 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3107, allocations: 116.4 MB / 0.9904 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7676/1.078, allocations: 145.4 MB / 1.132 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/1.079, allocations: 96.55 kB / 1.132 GB, free: 29.9 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03561/1.114, allocations: 13.88 MB / 1.146 GB, free: 19.94 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.653e-06/1.114, allocations: 0.5625 kB / 1.146 GB, free: 19.94 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.102e-05/1.114, allocations: 8 kB / 1.146 GB, free: 19.93 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.001344/1.116, allocations: 0.8104 MB / 1.147 GB, free: 19.12 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/1.116, allocations: 8.688 kB / 1.147 GB, free: 19.11 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/1.116, allocations: 60.19 kB / 1.147 GB, free: 19.05 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008802/1.117, allocations: 455.6 kB / 1.147 GB, free: 18.61 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/1.117, allocations: 9.406 kB / 1.147 GB, free: 18.61 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-05/1.117, allocations: 13.03 kB / 1.147 GB, free: 18.59 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003122/1.117, allocations: 152.6 kB / 1.148 GB, free: 18.46 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/1.117, allocations: 0 / 1.148 GB, free: 18.46 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/1.117, allocations: 4.703 kB / 1.148 GB, free: 18.45 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/1.117, allocations: 4 kB / 1.148 GB, free: 18.45 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/1.118, allocations: 72.88 kB / 1.148 GB, free: 18.39 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/1.119, allocations: 0.5996 MB / 1.148 GB, free: 17.85 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/1.119, allocations: 132.3 kB / 1.148 GB, free: 17.73 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/1.119, allocations: 51.09 kB / 1.148 GB, free: 17.68 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/1.119, allocations: 0 / 1.148 GB, free: 17.68 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002278/1.119, allocations: 116.1 kB / 1.148 GB, free: 17.57 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 2.063e-06/1.119, allocations: 0 / 1.148 GB, free: 17.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0005772/1.12, allocations: 243.2 kB / 1.149 GB, free: 17.35 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/1.12, allocations: 77.81 kB / 1.149 GB, free: 17.26 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009496/1.121, allocations: 0.6902 MB / 1.149 GB, free: 16.66 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/1.121, allocations: 36 kB / 1.149 GB, free: 16.62 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/1.121, allocations: 269.7 kB / 1.15 GB, free: 16.37 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.12e-05/1.121, allocations: 35.33 kB / 1.15 GB, free: 16.34 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.337e-05/1.121, allocations: 0 / 1.15 GB, free: 16.34 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001061/1.121, allocations: 373 kB / 1.15 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/1.122, allocations: 79.67 kB / 1.15 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/1.122, allocations: 141 kB / 1.15 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/1.122, allocations: 147.9 kB / 1.15 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.122, allocations: 0 / 1.15 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004506/1.123, allocations: 289.9 kB / 1.151 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/1.123, allocations: 8.062 kB / 1.151 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/1.123, allocations: 0.5625 kB / 1.151 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/1.123, allocations: 7.938 kB / 1.151 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/1.123, allocations: 36.34 kB / 1.151 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/1.123, allocations: 5.641 kB / 1.151 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/1.123, allocations: 26.89 kB / 1.151 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.748e-05/1.123, allocations: 9.453 kB / 1.151 GB, free: 15.29 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 () * 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.000244/1.123, allocations: 218.1 kB / 1.151 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.367e-05/1.123, allocations: 55.25 kB / 1.151 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003884/1.124, allocations: 223.2 kB / 1.151 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/1.124, allocations: 4 kB / 1.151 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.124, allocations: 0 / 1.151 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/1.124, allocations: 3.578 kB / 1.151 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003592/1.124, allocations: 379 kB / 1.152 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/1.124, allocations: 0 / 1.152 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.016e-05/1.124, allocations: 18.06 kB / 1.152 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/1.124, allocations: 4 kB / 1.152 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/1.124, allocations: 9.234 kB / 1.152 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/1.124, allocations: 2.188 kB / 1.152 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.124, allocations: 0 / 1.152 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/1.125, allocations: 242 kB / 1.152 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/1.125, allocations: 133.6 kB / 1.152 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.711e-05/1.125, allocations: 11.94 kB / 1.152 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/1.125, allocations: 16.36 kB / 1.152 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.05e-05/1.125, allocations: 20.67 kB / 1.152 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/1.125, allocations: 5.219 kB / 1.152 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006373/1.126, allocations: 469.6 kB / 1.153 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.91e-07/1.126, allocations: 0 / 1.153 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004119/1.126, allocations: 86.19 kB / 1.153 GB, free: 13.55 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) * 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.001087/1.127, allocations: 464.9 kB / 1.153 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004269/1.128, allocations: 170.6 kB / 1.153 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.128, allocations: 128 / 1.153 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001586/1.128, allocations: 66.59 kB / 1.153 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005698/1.128, allocations: 84.97 kB / 1.153 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/1.13, allocations: 0.9521 MB / 1.154 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004353/1.13, allocations: 0.8628 MB / 1.155 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002149/1.131, allocations: 46.22 kB / 1.155 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.987e-05/1.131, allocations: 33.64 kB / 1.155 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of SimCode: time 7.91e-07/1.131, allocations: 3.938 kB / 1.155 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of Templates: time 0.01065/1.141, allocations: 4.641 MB / 1.16 GB, free: 8.055 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile (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 & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)