Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.52/1.52, allocations: 289.9 MB / 297.4 MB, free: 6.414 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.00103/0.001031, allocations: 180.8 kB / 366.7 MB, free: 1.664 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.32/1.32, allocations: 205.3 MB / 0.626 GB, free: 7.176 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.0008542/0.0008542, allocations: 89.22 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.896e-05/1.899e-05, allocations: 8 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5593/0.5593, allocations: 116.3 MB / 0.9733 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1694/0.7288, allocations: 143.4 MB / 1.113 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/0.729, allocations: 96.42 kB / 1.113 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02508/0.7541, allocations: 10.08 MB / 1.123 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7542, allocations: 0 / 1.123 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.223e-05/0.7542, allocations: 4 kB / 1.123 GB, free: 12.56 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006774/0.7549, allocations: 0.5637 MB / 1.124 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.7549, allocations: 8.031 kB / 1.124 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.705e-05/0.755, allocations: 43.44 kB / 1.124 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005054/0.7555, allocations: 359.2 kB / 1.124 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.7555, allocations: 4 kB / 1.124 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.7556, allocations: 7.984 kB / 1.124 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.589e-05/0.7557, allocations: 28.84 kB / 1.124 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.7558, allocations: 75.78 kB / 1.124 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.7558, allocations: 0 / 1.124 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.7558, allocations: 4 kB / 1.124 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.7558, allocations: 1.812 kB / 1.124 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006195/0.7565, allocations: 441.1 kB / 1.125 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.7566, allocations: 66.61 kB / 1.125 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.761e-05/0.7566, allocations: 20.98 kB / 1.125 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.7567, allocations: 7.984 kB / 1.125 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001254/0.7568, allocations: 78.58 kB / 1.125 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.7568, allocations: 0 / 1.125 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0002226/0.757, allocations: 113.1 kB / 1.125 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.7571, allocations: 59.33 kB / 1.125 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000464/0.7575, allocations: 457.3 kB / 1.126 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.7576, allocations: 29.7 kB / 1.126 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.7577, allocations: 219.9 kB / 1.126 GB, free: 9.836 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.7578, allocations: 19.8 kB / 1.126 GB, free: 9.816 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.987e-06/0.7578, allocations: 0 / 1.126 GB, free: 9.816 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.7579, allocations: 358.8 kB / 1.126 GB, free: 9.457 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.093e-05/0.758, allocations: 48 kB / 1.126 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.951e-05/0.7581, allocations: 75.64 kB / 1.126 GB, free: 9.328 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.7583, allocations: 64.06 kB / 1.126 GB, free: 9.266 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7583, allocations: 7.969 kB / 1.126 GB, free: 9.258 MB / 0.7292 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003416/0.7587, allocations: 209 kB / 1.126 GB, free: 9.047 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.7587, allocations: 8 kB / 1.127 GB, free: 9.039 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.7587, allocations: 0 / 1.127 GB, free: 9.039 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.7587, allocations: 0 / 1.127 GB, free: 9.039 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.7589, allocations: 23.98 kB / 1.127 GB, free: 9.016 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.7589, allocations: 5.75 kB / 1.127 GB, free: 9.016 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.759, allocations: 11.98 kB / 1.127 GB, free: 9.004 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.7591, allocations: 15.98 kB / 1.127 GB, free: 8.988 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.TWat.tab.nextTimeEvent,$PRE.assWatTem.hys.y,assWatTem.hys.y,TWat.tab.nextTimeEvent,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 7.9e-05/0.7591, allocations: 112.9 kB / 1.127 GB, free: 8.871 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.357e-05/0.7592, allocations: 39.44 kB / 1.127 GB, free: 8.832 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002178/0.7594, allocations: 133.6 kB / 1.127 GB, free: 8.691 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.7594, allocations: 0 / 1.127 GB, free: 8.691 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.7594, allocations: 0 / 1.127 GB, free: 8.691 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.7595, allocations: 4 kB / 1.127 GB, free: 8.688 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.7597, allocations: 274 kB / 1.127 GB, free: 8.383 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.7597, allocations: 4 kB / 1.127 GB, free: 8.379 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.096e-05/0.7597, allocations: 7.938 kB / 1.127 GB, free: 8.371 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.7597, allocations: 0 / 1.127 GB, free: 8.371 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.7598, allocations: 4 kB / 1.127 GB, free: 8.367 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.7598, allocations: 0 / 1.127 GB, free: 8.367 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.7598, allocations: 1.875 kB / 1.127 GB, free: 8.367 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.76, allocations: 148.5 kB / 1.127 GB, free: 8.203 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.633e-05/0.7601, allocations: 124.5 kB / 1.127 GB, free: 8.062 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.982e-05/0.7601, allocations: 4 kB / 1.127 GB, free: 8.059 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.762e-05/0.7602, allocations: 11.98 kB / 1.127 GB, free: 8.047 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.7603, allocations: 11.98 kB / 1.127 GB, free: 8.035 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.7603, allocations: 4 kB / 1.127 GB, free: 8.031 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003098/0.7606, allocations: 334.9 kB / 1.128 GB, free: 7.707 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7606, allocations: 0 / 1.128 GB, free: 7.707 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002497/0.7609, allocations: 52 kB / 1.128 GB, free: 7.656 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: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007933/0.7617, allocations: 402.2 kB / 1.128 GB, free: 7.395 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000183/0.7618, allocations: 95.91 kB / 1.128 GB, free: 7.301 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.7619, allocations: 4.062 kB / 1.128 GB, free: 7.297 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.416e-05/0.7619, allocations: 31.55 kB / 1.128 GB, free: 7.27 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.7622, allocations: 51.98 kB / 1.128 GB, free: 7.223 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006827/0.7629, allocations: 449.3 kB / 1.129 GB, free: 6.762 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.7633, allocations: 0.8193 MB / 1.13 GB, free: 5.918 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.247e-05/0.7634, allocations: 29.61 kB / 1.13 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.847e-05/0.7634, allocations: 27.42 kB / 1.13 GB, free: 5.871 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/0.7635, allocations: 0 / 1.13 GB, free: 5.871 MB / 0.7292 GB Notification: Performance of Templates: time 0.006154/0.7696, allocations: 2.688 MB / 1.132 GB, free: 3.25 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1)