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.72/1.72, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001139/0.001139, allocations: 195.4 kB / 377.1 MB, free: 1.52 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.861/1.861, allocations: 205.4 MB / 0.6367 GB, free: 8.629 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.0009656/0.000966, allocations: 87.84 kB / 0.751 GB, free: 62.9 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000515/0.0005151, allocations: 12 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2923, allocations: 116.3 MB / 0.9884 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8814/1.174, allocations: 143 MB / 1.128 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/1.174, allocations: 84.44 kB / 1.128 GB, free: 32.58 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01948/1.194, allocations: 7.449 MB / 1.135 GB, free: 27.57 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.404e-06/1.194, allocations: 4.516 kB / 1.135 GB, free: 27.57 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.732e-05/1.194, allocations: 8 kB / 1.135 GB, free: 27.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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001473/1.195, allocations: 0.7278 MB / 1.136 GB, free: 26.84 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/1.195, allocations: 8.031 kB / 1.136 GB, free: 26.83 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002361/1.195, allocations: 53.5 kB / 1.136 GB, free: 26.78 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007839/1.196, allocations: 395.1 kB / 1.137 GB, free: 26.4 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.708e-05/1.196, allocations: 29.7 kB / 1.137 GB, free: 26.37 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/1.196, allocations: 47.44 kB / 1.137 GB, free: 26.33 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009122/1.197, allocations: 436.7 kB / 1.137 GB, free: 25.95 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/1.197, allocations: 4 kB / 1.137 GB, free: 25.95 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.692e-05/1.197, allocations: 17.62 kB / 1.137 GB, free: 25.93 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/1.197, allocations: 12 kB / 1.137 GB, free: 25.92 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007011/1.198, allocations: 331.9 kB / 1.137 GB, free: 25.63 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002457/1.201, allocations: 1.377 MB / 1.139 GB, free: 24.47 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006561/1.201, allocations: 305.2 kB / 1.139 GB, free: 24.19 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.685e-05/1.201, allocations: 8.844 kB / 1.139 GB, free: 24.18 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004328/1.202, allocations: 222.1 kB / 1.139 GB, free: 23.98 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=30): time 1.943e-06/1.202, allocations: 0 / 1.139 GB, free: 23.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30): time 0.0008591/1.203, allocations: 411 kB / 1.14 GB, free: 23.61 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.804e-05/1.203, allocations: 166.9 kB / 1.14 GB, free: 23.41 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004752/1.203, allocations: 366.6 kB / 1.14 GB, free: 23.08 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.058e-05/1.203, allocations: 34.31 kB / 1.14 GB, free: 23.04 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000182/1.204, allocations: 224.9 kB / 1.14 GB, free: 22.84 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.861e-05/1.204, allocations: 95.22 kB / 1.14 GB, free: 22.75 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.386e-05/1.204, allocations: 12.84 kB / 1.14 GB, free: 22.74 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.772e-05/1.204, allocations: 351.6 kB / 1.141 GB, free: 22.4 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/1.204, allocations: 132.2 kB / 1.141 GB, free: 22.29 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003332/1.204, allocations: 202.6 kB / 1.141 GB, free: 22.08 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003059/1.205, allocations: 165.9 kB / 1.141 GB, free: 21.92 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/1.205, allocations: 0 / 1.141 GB, free: 21.92 MB / 0.7292 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007255/1.205, allocations: 434.2 kB / 1.142 GB, free: 21.52 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/1.206, allocations: 303.4 kB / 1.142 GB, free: 21.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/1.206, allocations: 4.516 kB / 1.142 GB, free: 21.19 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/1.206, allocations: 5.031 kB / 1.142 GB, free: 21.19 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002721/1.206, allocations: 60 kB / 1.142 GB, free: 21.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/1.206, allocations: 6.109 kB / 1.142 GB, free: 21.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003908/1.206, allocations: 84.48 kB / 1.142 GB, free: 21.06 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.1e-05/1.206, allocations: 18.25 kB / 1.142 GB, free: 21.05 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/1.206, allocations: 4 kB / 1.142 GB, free: 21.04 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005639/1.207, allocations: 350.2 kB / 1.143 GB, free: 20.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/1.207, allocations: 0 / 1.143 GB, free: 20.72 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.502e-06/1.207, allocations: 8.062 kB / 1.143 GB, free: 20.71 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/1.207, allocations: 54.64 kB / 1.143 GB, free: 20.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/1.207, allocations: 8.656 kB / 1.143 GB, free: 20.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003528/1.208, allocations: 81.03 kB / 1.143 GB, free: 20.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/1.208, allocations: 17.31 kB / 1.143 GB, free: 20.58 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 () * Number of clocked 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.0002451/1.208, allocations: 242.4 kB / 1.143 GB, free: 20.33 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.014e-05/1.208, allocations: 44.14 kB / 1.143 GB, free: 20.29 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007015/1.209, allocations: 359.3 kB / 1.143 GB, free: 19.97 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/1.209, allocations: 0.7031 kB / 1.143 GB, free: 19.97 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/1.209, allocations: 9.766 kB / 1.143 GB, free: 19.96 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/1.209, allocations: 2.062 kB / 1.143 GB, free: 19.96 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/1.21, allocations: 0.8779 MB / 1.144 GB, free: 19.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/1.21, allocations: 4 kB / 1.144 GB, free: 19.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002682/1.21, allocations: 52.89 kB / 1.144 GB, free: 19.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.21e-05/1.21, allocations: 12.69 kB / 1.144 GB, free: 19.09 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/1.21, allocations: 10.39 kB / 1.144 GB, free: 19.08 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/1.21, allocations: 96 / 1.144 GB, free: 19.08 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/1.21, allocations: 13 kB / 1.144 GB, free: 19.07 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009644/1.211, allocations: 0.6061 MB / 1.145 GB, free: 18.46 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/1.212, allocations: 125 kB / 1.145 GB, free: 18.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.362e-05/1.212, allocations: 8.797 kB / 1.145 GB, free: 18.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/1.212, allocations: 24.84 kB / 1.145 GB, free: 18.29 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.596e-05/1.212, allocations: 23.92 kB / 1.145 GB, free: 18.28 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/1.212, allocations: 9.219 kB / 1.145 GB, free: 18.27 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004622/1.212, allocations: 291.1 kB / 1.145 GB, free: 18.02 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.212, allocations: 0 / 1.145 GB, free: 18.02 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006861/1.213, allocations: 168.1 kB / 1.145 GB, free: 17.86 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 () * Number of clocked 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.0002877/1.213, allocations: 124.8 kB / 1.146 GB, free: 17.73 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00108/1.215, allocations: 0.6036 MB / 1.146 GB, free: 17.15 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/1.215, allocations: 0 / 1.146 GB, free: 17.15 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002757/1.215, allocations: 145.5 kB / 1.146 GB, free: 17.02 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004506/1.215, allocations: 62.39 kB / 1.146 GB, free: 16.97 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/1.217, allocations: 0.8304 MB / 1.147 GB, free: 16.16 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/1.217, allocations: 0.8186 MB / 1.148 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002379/1.217, allocations: 51.64 kB / 1.148 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.286e-05/1.217, allocations: 37.78 kB / 1.148 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of SimCode: time 7.12e-07/1.217, allocations: 5.031 kB / 1.148 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of Templates: time 0.01173/1.229, allocations: 4.588 MB / 1.153 GB, free: 12.71 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)