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.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.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.1-maint.8.1.x/package.mo): time 1.654/1.654, allocations: 293 MB / 309 MB, free: 4.809 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.001057/0.001057, allocations: 184.5 kB / 378.7 MB, free: 1.023 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.747/1.747, allocations: 205.4 MB / 0.6383 GB, free: 9.098 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.000927/0.000927, allocations: 94.95 kB / 0.7527 GB, free: 62.13 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004482/0.0004487, allocations: 12 kB / 0.8768 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3076, allocations: 116.4 MB / 0.9904 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7834/1.091, allocations: 144.3 MB / 1.131 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/1.091, allocations: 96.73 kB / 1.131 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02536/1.117, allocations: 10.23 MB / 1.141 GB, free: 23.36 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.144e-06/1.117, allocations: 0.5625 kB / 1.141 GB, free: 23.36 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.981e-05/1.117, allocations: 8 kB / 1.141 GB, free: 23.35 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.0009252/1.118, allocations: 0.6595 MB / 1.142 GB, free: 22.68 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/1.118, allocations: 12.03 kB / 1.142 GB, free: 22.67 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.815e-05/1.118, allocations: 45.17 kB / 1.142 GB, free: 22.62 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005467/1.118, allocations: 369.8 kB / 1.142 GB, free: 22.25 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/1.118, allocations: 8.938 kB / 1.142 GB, free: 22.25 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/1.118, allocations: 4.375 kB / 1.142 GB, free: 22.24 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/1.119, allocations: 83.95 kB / 1.143 GB, free: 22.17 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/1.119, allocations: 3.938 kB / 1.143 GB, free: 22.16 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/1.119, allocations: 0.7031 kB / 1.143 GB, free: 22.16 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/1.119, allocations: 1.125 kB / 1.143 GB, free: 22.16 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/1.119, allocations: 46.72 kB / 1.143 GB, free: 22.12 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007296/1.12, allocations: 475.1 kB / 1.143 GB, free: 21.68 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/1.12, allocations: 72.12 kB / 1.143 GB, free: 21.61 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.921e-05/1.12, allocations: 27.47 kB / 1.143 GB, free: 21.58 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/1.12, allocations: 4.656 kB / 1.143 GB, free: 21.58 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/1.12, allocations: 79.45 kB / 1.143 GB, free: 21.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 2.064e-06/1.12, allocations: 0 / 1.143 GB, free: 21.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0003346/1.12, allocations: 152.7 kB / 1.143 GB, free: 21.36 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/1.12, allocations: 52.02 kB / 1.143 GB, free: 21.29 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005726/1.121, allocations: 0.525 MB / 1.144 GB, free: 20.83 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/1.121, allocations: 33.7 kB / 1.144 GB, free: 20.79 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/1.121, allocations: 218.6 kB / 1.144 GB, free: 20.59 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/1.121, allocations: 21.67 kB / 1.144 GB, free: 20.57 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.898e-06/1.121, allocations: 8 kB / 1.144 GB, free: 20.56 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.44e-05/1.121, allocations: 356.6 kB / 1.145 GB, free: 20.22 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/1.121, allocations: 61 kB / 1.145 GB, free: 20.17 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/1.122, allocations: 76.66 kB / 1.145 GB, free: 20.09 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/1.122, allocations: 97.12 kB / 1.145 GB, free: 20 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.122, allocations: 3.938 kB / 1.145 GB, free: 20 MB / 0.7292 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003032/1.122, allocations: 219.6 kB / 1.145 GB, free: 19.79 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/1.122, allocations: 4 kB / 1.145 GB, free: 19.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/1.122, allocations: 0.5625 kB / 1.145 GB, free: 19.79 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/1.122, allocations: 0 / 1.145 GB, free: 19.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/1.122, allocations: 27.17 kB / 1.145 GB, free: 19.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/1.122, allocations: 2.984 kB / 1.145 GB, free: 19.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/1.122, allocations: 22.48 kB / 1.145 GB, free: 19.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/1.122, allocations: 9.109 kB / 1.145 GB, free: 19.74 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 () * Number of clocked 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 0.0001774/1.123, allocations: 185.5 kB / 1.145 GB, free: 19.56 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.924e-05/1.123, allocations: 39.53 kB / 1.145 GB, free: 19.52 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002357/1.123, allocations: 139 kB / 1.145 GB, free: 19.4 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/1.123, allocations: 1.125 kB / 1.145 GB, free: 19.4 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/1.123, allocations: 0 / 1.145 GB, free: 19.4 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/1.123, allocations: 0.75 kB / 1.145 GB, free: 19.4 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/1.123, allocations: 303.7 kB / 1.146 GB, free: 19.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/1.123, allocations: 0 / 1.146 GB, free: 19.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.04e-05/1.123, allocations: 12.75 kB / 1.146 GB, free: 19.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/1.123, allocations: 0 / 1.146 GB, free: 19.09 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/1.123, allocations: 2.531 kB / 1.146 GB, free: 19.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/1.123, allocations: 0 / 1.146 GB, free: 19.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.123, allocations: 3.938 kB / 1.146 GB, free: 19.08 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/1.123, allocations: 167 kB / 1.146 GB, free: 18.91 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.072e-05/1.124, allocations: 123.5 kB / 1.146 GB, free: 18.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.873e-05/1.124, allocations: 4.609 kB / 1.146 GB, free: 18.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.389e-05/1.124, allocations: 14.48 kB / 1.146 GB, free: 18.76 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.449e-05/1.124, allocations: 13.3 kB / 1.146 GB, free: 18.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/1.124, allocations: 1.656 kB / 1.146 GB, free: 18.75 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003806/1.124, allocations: 369.2 kB / 1.146 GB, free: 18.45 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.41e-07/1.124, allocations: 0 / 1.146 GB, free: 18.45 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003094/1.124, allocations: 61.86 kB / 1.146 GB, free: 18.39 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) * Number of clocked states: 0 () * 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.0009652/1.125, allocations: 460 kB / 1.147 GB, free: 18.12 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002393/1.126, allocations: 98.58 kB / 1.147 GB, free: 18.03 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.126, allocations: 0 / 1.147 GB, free: 18.03 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.745e-05/1.126, allocations: 32.55 kB / 1.147 GB, free: 18 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/1.126, allocations: 61.81 kB / 1.147 GB, free: 17.96 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/1.127, allocations: 0.718 MB / 1.148 GB, free: 17.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/1.128, allocations: 0.8199 MB / 1.149 GB, free: 16.51 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001172/1.128, allocations: 23.58 kB / 1.149 GB, free: 16.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.599e-05/1.128, allocations: 20.84 kB / 1.149 GB, free: 16.48 MB / 0.7292 GB Notification: Performance of SimCode: time 3.3e-07/1.128, allocations: 0 / 1.149 GB, free: 16.48 MB / 0.7292 GB Notification: Performance of Templates: time 0.008577/1.136, allocations: 3.168 MB / 1.152 GB, free: 14.64 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)