Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.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.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.543/1.543, allocations: 289.9 MB / 297.4 MB, free: 6.344 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.001069/0.001069, allocations: 172.9 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.344/1.344, allocations: 205.3 MB / 0.626 GB, free: 7.18 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.0009304/0.0009303, allocations: 84.17 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.391e-05/1.388e-05, allocations: 4 kB / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6339/0.6339, allocations: 116.3 MB / 0.9732 GB, free: 76.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.195/0.829, allocations: 142.3 MB / 1.112 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/0.8293, allocations: 83.94 kB / 1.112 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01907/0.8484, allocations: 7.389 MB / 1.119 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.435e-06/0.8485, allocations: 0 / 1.119 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.91e-05/0.8485, allocations: 8 kB / 1.119 GB, free: 0.5312 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.001187/0.8497, allocations: 0.666 MB / 1.12 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.8498, allocations: 11.97 kB / 1.12 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.8499, allocations: 51.44 kB / 1.12 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006964/0.8506, allocations: 403.2 kB / 1.121 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.182e-05/0.8506, allocations: 12 kB / 1.121 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.664e-05/0.8507, allocations: 28 kB / 1.121 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005332/0.8513, allocations: 274.6 kB / 1.121 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006702/0.8519, allocations: 364.2 kB / 1.121 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.852, allocations: 0 / 1.121 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.072e-05/0.852, allocations: 0 / 1.121 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.852, allocations: 12 kB / 1.121 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001824/0.8539, allocations: 1.258 MB / 1.122 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004981/0.8544, allocations: 259.5 kB / 1.123 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.8546, allocations: 117.3 kB / 1.123 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.8546, allocations: 8.219 kB / 1.123 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003099/0.8549, allocations: 194.9 kB / 1.123 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=30): time 1.472e-06/0.8549, allocations: 0 / 1.123 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30): time 0.0004752/0.8554, allocations: 241.8 kB / 1.123 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.223e-05/0.8555, allocations: 162.2 kB / 1.123 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/0.8558, allocations: 262.2 kB / 1.124 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/0.8558, allocations: 29.7 kB / 1.124 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.856, allocations: 232.1 kB / 1.124 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.806e-05/0.8561, allocations: 90.69 kB / 1.124 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/0.8561, allocations: 4 kB / 1.124 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.8563, allocations: 342.8 kB / 1.124 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.8565, allocations: 105.2 kB / 1.124 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002236/0.8567, allocations: 168.1 kB / 1.125 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003314/0.857, allocations: 136.2 kB / 1.125 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.857, allocations: 0 / 1.125 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006083/0.8577, allocations: 346.4 kB / 1.125 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001455/0.8578, allocations: 302.6 kB / 1.125 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.8578, allocations: 0 / 1.125 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.8579, allocations: 7.984 kB / 1.125 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.8581, allocations: 62.47 kB / 1.125 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.8581, allocations: 4 kB / 1.125 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003273/0.8585, allocations: 71.64 kB / 1.125 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.843e-05/0.8585, allocations: 19.98 kB / 1.125 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.995e-06/0.8585, allocations: 4 kB / 1.126 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005203/0.8591, allocations: 281 kB / 1.126 GB, free: 9.789 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-06/0.8591, allocations: 2.062 kB / 1.126 GB, free: 9.789 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.076e-06/0.8591, allocations: 4.062 kB / 1.126 GB, free: 9.785 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.8593, allocations: 59.91 kB / 1.126 GB, free: 9.727 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.8593, allocations: 5.719 kB / 1.126 GB, free: 9.723 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002957/0.8596, allocations: 63.75 kB / 1.126 GB, free: 9.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.8597, allocations: 16 kB / 1.126 GB, free: 9.645 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.000105/0.8598, allocations: 108.9 kB / 1.126 GB, free: 9.531 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.452e-05/0.8598, allocations: 35.61 kB / 1.126 GB, free: 9.496 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000459/0.8603, allocations: 284.9 kB / 1.126 GB, free: 9.211 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.8603, allocations: 4 kB / 1.126 GB, free: 9.207 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.8603, allocations: 0 / 1.126 GB, free: 9.207 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.8603, allocations: 4 kB / 1.126 GB, free: 9.203 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008448/0.8612, allocations: 0.7634 MB / 1.127 GB, free: 8.387 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.8612, allocations: 0 / 1.127 GB, free: 8.387 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002456/0.8614, allocations: 55.91 kB / 1.127 GB, free: 8.332 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.8615, allocations: 0 / 1.127 GB, free: 8.332 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.8615, allocations: 16.08 kB / 1.127 GB, free: 8.316 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.8615, allocations: 6.625 kB / 1.127 GB, free: 8.312 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.8615, allocations: 5.641 kB / 1.127 GB, free: 8.309 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006108/0.8621, allocations: 0.5354 MB / 1.128 GB, free: 7.73 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.721e-05/0.8622, allocations: 112.7 kB / 1.128 GB, free: 7.602 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.276e-05/0.8623, allocations: 4 kB / 1.128 GB, free: 7.598 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.8625, allocations: 15.98 kB / 1.128 GB, free: 7.582 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.9e-05/0.8625, allocations: 27.95 kB / 1.128 GB, free: 7.555 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.8625, allocations: 8.062 kB / 1.128 GB, free: 7.547 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001655/0.8627, allocations: 202 kB / 1.128 GB, free: 7.352 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8627, allocations: 3.938 kB / 1.128 GB, free: 7.348 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004766/0.8632, allocations: 159.2 kB / 1.128 GB, free: 7.191 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.0002137/0.8634, allocations: 119.1 kB / 1.128 GB, free: 7.062 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007141/0.8642, allocations: 0.5396 MB / 1.129 GB, free: 6.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.8642, allocations: 0 / 1.129 GB, free: 6.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.8643, allocations: 120.2 kB / 1.129 GB, free: 6.383 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.8647, allocations: 59.78 kB / 1.129 GB, free: 6.324 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000867/0.8656, allocations: 487.5 kB / 1.129 GB, free: 5.816 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.866, allocations: 0.8202 MB / 1.13 GB, free: 4.973 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002256/0.8662, allocations: 49.77 kB / 1.13 GB, free: 4.93 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.024e-05/0.8663, allocations: 27.42 kB / 1.13 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of SimCode: time 1.994e-06/0.8663, allocations: 0 / 1.13 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of Templates: time 0.00835/0.8746, allocations: 4.233 MB / 1.134 GB, free: 0.7891 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.makefile (rm -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.sim & ./Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe 2>&1)