Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.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.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.619/1.619, allocations: 285.4 MB / 298 MB, free: 5.98 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.001167/0.001167, allocations: 188.9 kB / 366.4 MB, free: 2.086 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.578/1.578, allocations: 205.1 MB / 0.6248 GB, free: 7.758 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.0008762/0.0008763, allocations: 82.83 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.111e-05/3.112e-05, allocations: 4 kB / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7234/0.7234, allocations: 115.3 MB / 0.9709 GB, free: 77.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2035/0.927, allocations: 142 MB / 1.11 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.9273, allocations: 84.62 kB / 1.11 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01959/0.9469, allocations: 7.433 MB / 1.117 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9469, allocations: 0 / 1.117 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.51e-05/0.947, allocations: 12 kB / 1.117 GB, free: 2.383 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001197/0.9482, allocations: 0.6734 MB / 1.118 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.9483, allocations: 8.031 kB / 1.118 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001939/0.9485, allocations: 55.42 kB / 1.118 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007327/0.9492, allocations: 394.9 kB / 1.118 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.516e-05/0.9493, allocations: 33 kB / 1.118 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.773e-05/0.9494, allocations: 43.98 kB / 1.118 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007443/0.9501, allocations: 418.3 kB / 1.118 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.9501, allocations: 0 / 1.118 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.039e-05/0.9502, allocations: 16 kB / 1.118 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.9502, allocations: 12 kB / 1.118 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005255/0.9507, allocations: 295.9 kB / 1.119 GB, free: 364 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002196/0.9529, allocations: 1.379 MB / 1.12 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005698/0.9535, allocations: 272.8 kB / 1.12 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.9537, allocations: 121.3 kB / 1.12 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.831e-05/0.9538, allocations: 10.08 kB / 1.12 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003451/0.9541, allocations: 208 kB / 1.121 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=30): time 1.693e-06/0.9541, allocations: 0 / 1.121 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30): time 0.000546/0.9547, allocations: 285 kB / 1.121 GB, free: 14 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.557e-05/0.9548, allocations: 162.2 kB / 1.121 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000425/0.9552, allocations: 354.9 kB / 1.121 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.244e-05/0.9553, allocations: 33.7 kB / 1.121 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.9555, allocations: 220.4 kB / 1.122 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.454e-05/0.9555, allocations: 102.5 kB / 1.122 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/0.9556, allocations: 8 kB / 1.122 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.9557, allocations: 350.8 kB / 1.122 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.9559, allocations: 112 kB / 1.122 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/0.9562, allocations: 181.8 kB / 1.122 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002474/0.9565, allocations: 157.9 kB / 1.123 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.9565, allocations: 3.938 kB / 1.123 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006596/0.9571, allocations: 388.1 kB / 1.123 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001547/0.9573, allocations: 310.7 kB / 1.123 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.9573, allocations: 0 / 1.123 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.9573, allocations: 4 kB / 1.123 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002765/0.9576, allocations: 63.38 kB / 1.123 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.9576, allocations: 4 kB / 1.123 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003914/0.958, allocations: 95.03 kB / 1.123 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.926e-05/0.9581, allocations: 16 kB / 1.123 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.9581, allocations: 4 kB / 1.123 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005527/0.9587, allocations: 342.7 kB / 1.124 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.9587, allocations: 0 / 1.124 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.418e-06/0.9587, allocations: 0 / 1.124 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.9589, allocations: 55.92 kB / 1.124 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.9589, allocations: 7.938 kB / 1.124 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003454/0.9593, allocations: 83.58 kB / 1.124 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.133e-05/0.9593, allocations: 12 kB / 1.124 GB, free: 10.86 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: 5 ($whenCondition1,$whenCondition2,$whenCondition3,$PRE.uEna.y,uEna.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * 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.0001288/0.9595, allocations: 124.9 kB / 1.124 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.391e-05/0.9595, allocations: 35.53 kB / 1.124 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005405/0.9601, allocations: 326.4 kB / 1.124 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.9601, allocations: 8 kB / 1.124 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.9601, allocations: 3.953 kB / 1.124 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.9601, allocations: 3.984 kB / 1.124 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.9611, allocations: 0.8481 MB / 1.125 GB, free: 9.445 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.9612, allocations: 0 / 1.125 GB, free: 9.445 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002575/0.9614, allocations: 59.98 kB / 1.125 GB, free: 9.387 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.9614, allocations: 11.95 kB / 1.125 GB, free: 9.375 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/0.9615, allocations: 8 kB / 1.125 GB, free: 9.367 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.9615, allocations: 0 / 1.125 GB, free: 9.367 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.9615, allocations: 7.938 kB / 1.125 GB, free: 9.359 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007152/0.9622, allocations: 0.558 MB / 1.126 GB, free: 8.758 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.9623, allocations: 128.5 kB / 1.126 GB, free: 8.613 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.961e-05/0.9624, allocations: 12 kB / 1.126 GB, free: 8.602 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.9626, allocations: 23.97 kB / 1.126 GB, free: 8.578 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.9627, allocations: 24.03 kB / 1.126 GB, free: 8.555 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.9627, allocations: 12 kB / 1.126 GB, free: 8.543 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002941/0.963, allocations: 289.2 kB / 1.126 GB, free: 8.262 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.9e-07/0.963, allocations: 3.938 kB / 1.126 GB, free: 8.258 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000531/0.9636, allocations: 164.8 kB / 1.126 GB, free: 8.098 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (conTSup.con.I.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,uEna.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002014/0.9638, allocations: 127.1 kB / 1.127 GB, free: 7.961 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008481/0.9646, allocations: 0.5646 MB / 1.127 GB, free: 7.371 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.9646, allocations: 4.062 kB / 1.127 GB, free: 7.367 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.9649, allocations: 136.4 kB / 1.127 GB, free: 7.234 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.9653, allocations: 62.67 kB / 1.127 GB, free: 7.18 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009925/0.9663, allocations: 0.5034 MB / 1.128 GB, free: 6.645 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.9667, allocations: 0.8166 MB / 1.129 GB, free: 5.797 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002735/0.967, allocations: 61.23 kB / 1.129 GB, free: 5.738 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.143e-05/0.9671, allocations: 39.42 kB / 1.129 GB, free: 5.699 MB / 0.7292 GB Notification: Performance of SimCode: time 3.91e-07/0.9671, allocations: 0 / 1.129 GB, free: 5.699 MB / 0.7292 GB Notification: Performance of Templates: time 0.01045/0.9775, allocations: 5.112 MB / 1.134 GB, free: 0.7148 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.sim & ./Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe 2>&1)