Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.649/1.649, allocations: 285.4 MB / 298 MB, free: 6 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.0009838/0.0009838, allocations: 184.8 kB / 366.4 MB, free: 2.098 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.286/1.286, allocations: 205.1 MB / 0.6248 GB, free: 7.75 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.0008023/0.0008023, allocations: 91.88 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.569e-05/2.579e-05, allocations: 4 kB / 0.8583 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5401/0.5401, allocations: 115.3 MB / 0.9709 GB, free: 77.85 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1676/0.7078, allocations: 144.2 MB / 1.112 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/0.7081, allocations: 93.8 kB / 1.112 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0354/0.7435, allocations: 13.79 MB / 1.125 GB, free: 9.719 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7435, allocations: 0 / 1.125 GB, free: 9.719 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.075e-05/0.7436, allocations: 8 kB / 1.125 GB, free: 9.711 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.001312/0.7449, allocations: 0.6904 MB / 1.126 GB, free: 8.965 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.853e-05/0.7449, allocations: 16.02 kB / 1.126 GB, free: 8.949 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002291/0.7452, allocations: 55.25 kB / 1.126 GB, free: 8.895 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009752/0.7462, allocations: 441.8 kB / 1.126 GB, free: 8.422 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.688e-05/0.7462, allocations: 16.12 kB / 1.126 GB, free: 8.406 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.7463, allocations: 12 kB / 1.126 GB, free: 8.395 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002986/0.7466, allocations: 137.6 kB / 1.127 GB, free: 8.25 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.7466, allocations: 0 / 1.127 GB, free: 8.25 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.7466, allocations: 4 kB / 1.127 GB, free: 8.246 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.7466, allocations: 0 / 1.127 GB, free: 8.246 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.7468, allocations: 68.55 kB / 1.127 GB, free: 8.18 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.7479, allocations: 0.5911 MB / 1.127 GB, free: 7.539 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.7481, allocations: 131.7 kB / 1.127 GB, free: 7.402 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.618e-05/0.7482, allocations: 40.86 kB / 1.127 GB, free: 7.359 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.7482, allocations: 4 kB / 1.127 GB, free: 7.355 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001917/0.7484, allocations: 109.6 kB / 1.128 GB, free: 7.238 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 1.824e-06/0.7484, allocations: 0 / 1.128 GB, free: 7.238 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.000366/0.7488, allocations: 196.8 kB / 1.128 GB, free: 7.039 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.7488, allocations: 81.11 kB / 1.128 GB, free: 6.941 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007155/0.7496, allocations: 0.6127 MB / 1.128 GB, free: 6.324 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.7496, allocations: 29.7 kB / 1.128 GB, free: 6.289 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.7498, allocations: 267.3 kB / 1.129 GB, free: 6.027 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.874e-05/0.7499, allocations: 35.59 kB / 1.129 GB, free: 5.992 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.421e-05/0.7499, allocations: 4 kB / 1.129 GB, free: 5.988 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.75, allocations: 374.8 kB / 1.129 GB, free: 5.613 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.7502, allocations: 73.3 kB / 1.129 GB, free: 5.543 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.7503, allocations: 133.7 kB / 1.129 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.7505, allocations: 86.83 kB / 1.129 GB, free: 5.312 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.7505, allocations: 7.938 kB / 1.129 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003893/0.7509, allocations: 280.8 kB / 1.13 GB, free: 5.023 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.7509, allocations: 4 kB / 1.13 GB, free: 5.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.7509, allocations: 8.016 kB / 1.13 GB, free: 5.012 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.751, allocations: 4 kB / 1.13 GB, free: 5.008 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.7511, allocations: 31.98 kB / 1.13 GB, free: 4.977 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.7511, allocations: 3.938 kB / 1.13 GB, free: 4.973 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.7513, allocations: 31.83 kB / 1.13 GB, free: 4.941 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.7514, allocations: 11.98 kB / 1.13 GB, free: 4.93 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 9.178e-05/0.7515, allocations: 120.2 kB / 1.13 GB, free: 4.809 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.354e-05/0.7516, allocations: 55.34 kB / 1.13 GB, free: 4.754 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003711/0.7519, allocations: 214.3 kB / 1.13 GB, free: 4.535 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.7519, allocations: 15.92 kB / 1.13 GB, free: 4.52 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.752, allocations: 0 / 1.13 GB, free: 4.52 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.752, allocations: 0 / 1.13 GB, free: 4.52 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003348/0.7523, allocations: 381.3 kB / 1.13 GB, free: 4.098 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.7523, allocations: 0 / 1.13 GB, free: 4.098 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.957e-05/0.7524, allocations: 11.98 kB / 1.13 GB, free: 4.086 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.303e-06/0.7524, allocations: 4 kB / 1.13 GB, free: 4.082 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.7524, allocations: 5.188 kB / 1.13 GB, free: 4.078 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.7524, allocations: 0 / 1.13 GB, free: 4.078 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.7524, allocations: 3.953 kB / 1.13 GB, free: 4.074 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.7527, allocations: 232.3 kB / 1.131 GB, free: 3.828 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.7528, allocations: 132.3 kB / 1.131 GB, free: 3.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.163e-05/0.7529, allocations: 8.844 kB / 1.131 GB, free: 3.672 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.753, allocations: 15.98 kB / 1.131 GB, free: 3.656 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.276e-05/0.7531, allocations: 23.92 kB / 1.131 GB, free: 3.633 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.7531, allocations: 12 kB / 1.131 GB, free: 3.621 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004877/0.7536, allocations: 459.1 kB / 1.131 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7536, allocations: 0 / 1.131 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003475/0.754, allocations: 83.92 kB / 1.131 GB, free: 3.098 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.0009074/0.7549, allocations: 433.9 kB / 1.132 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003163/0.7552, allocations: 151.8 kB / 1.132 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.7552, allocations: 0 / 1.132 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.7554, allocations: 71.02 kB / 1.132 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.7558, allocations: 79.31 kB / 1.132 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00091/0.7567, allocations: 0.5994 MB / 1.133 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.7571, allocations: 0.8828 MB / 1.134 GB, free: 1.004 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001467/0.7572, allocations: 42.98 kB / 1.134 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.789e-05/0.7573, allocations: 35.42 kB / 1.134 GB, free: 0.9297 MB / 0.7292 GB Notification: Performance of SimCode: time 3.6e-07/0.7573, allocations: 6.75 kB / 1.134 GB, free: 0.9258 MB / 0.7292 GB Notification: Performance of Templates: time 0.00989/0.7672, allocations: 4.675 MB / 1.138 GB, free: 12.34 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)