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.672/1.672, allocations: 288.3 MB / 303.2 MB, free: 8.25 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.00112/0.001119, allocations: 185.1 kB / 371.8 MB, free: 10.29 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.842/1.842, allocations: 205.4 MB / 0.6306 GB, free: 9.992 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009209/0.000921, allocations: 93.14 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004041/0.0004041, allocations: 11.09 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2815, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8703/1.152, allocations: 142 MB / 1.118 GB, free: 16.37 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/1.152, allocations: 86.5 kB / 1.118 GB, free: 16.37 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01797/1.17, allocations: 7.445 MB / 1.125 GB, free: 31.64 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.553e-06/1.17, allocations: 0 / 1.125 GB, free: 31.64 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.536e-05/1.17, allocations: 15.47 kB / 1.126 GB, free: 31.64 MB / 0.698 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.001139/1.171, allocations: 0.7263 MB / 1.126 GB, free: 31.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/1.171, allocations: 7.844 kB / 1.126 GB, free: 31.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/1.172, allocations: 54.69 kB / 1.126 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005945/1.172, allocations: 395.9 kB / 1.127 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.989e-05/1.172, allocations: 34.5 kB / 1.127 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.316e-05/1.172, allocations: 37.69 kB / 1.127 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007087/1.173, allocations: 442.7 kB / 1.127 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/1.173, allocations: 0 / 1.127 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.094e-05/1.173, allocations: 17.72 kB / 1.127 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/1.173, allocations: 11.5 kB / 1.127 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005359/1.174, allocations: 331.3 kB / 1.127 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/1.175, allocations: 1.378 MB / 1.129 GB, free: 29.92 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000615/1.176, allocations: 308 kB / 1.129 GB, free: 29.86 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.058e-05/1.176, allocations: 4.109 kB / 1.129 GB, free: 29.86 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003996/1.177, allocations: 225.5 kB / 1.129 GB, free: 29.74 MB / 0.698 GB Notification: Performance of pre-optimization done (n=30): time 1.413e-06/1.177, allocations: 3.938 kB / 1.129 GB, free: 29.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.0007542/1.177, allocations: 410.8 kB / 1.13 GB, free: 29.64 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.115e-05/1.177, allocations: 162.1 kB / 1.13 GB, free: 29.45 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003536/1.178, allocations: 364.4 kB / 1.13 GB, free: 29.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/1.178, allocations: 32.7 kB / 1.13 GB, free: 29.27 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/1.178, allocations: 231.5 kB / 1.13 GB, free: 29.14 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.122e-05/1.178, allocations: 94.12 kB / 1.131 GB, free: 29.07 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.058e-05/1.178, allocations: 11.41 kB / 1.131 GB, free: 29.06 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001453/1.178, allocations: 353.8 kB / 1.131 GB, free: 28.73 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/1.178, allocations: 129 kB / 1.131 GB, free: 28.72 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/1.179, allocations: 201.1 kB / 1.131 GB, free: 28.62 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/1.179, allocations: 164.4 kB / 1.131 GB, free: 28.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.179, allocations: 0 / 1.131 GB, free: 28.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006761/1.18, allocations: 438.4 kB / 1.132 GB, free: 28.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001467/1.18, allocations: 312.6 kB / 1.132 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/1.18, allocations: 0 / 1.132 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/1.18, allocations: 0 / 1.132 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/1.18, allocations: 58.38 kB / 1.132 GB, free: 28.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/1.18, allocations: 3.969 kB / 1.132 GB, free: 28.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003402/1.181, allocations: 84.42 kB / 1.132 GB, free: 28.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.604e-05/1.181, allocations: 19.2 kB / 1.132 GB, free: 28.09 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.605e-06/1.181, allocations: 3.844 kB / 1.132 GB, free: 28.09 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005379/1.181, allocations: 349.6 kB / 1.133 GB, free: 28.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/1.181, allocations: 4.062 kB / 1.133 GB, free: 28.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.707e-06/1.181, allocations: 7.812 kB / 1.133 GB, free: 28.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/1.181, allocations: 53.03 kB / 1.133 GB, free: 28.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/1.181, allocations: 7.891 kB / 1.133 GB, free: 28.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003001/1.182, allocations: 81.67 kB / 1.133 GB, free: 27.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/1.182, allocations: 19.14 kB / 1.133 GB, free: 27.97 MB / 0.698 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.00023/1.182, allocations: 239.5 kB / 1.133 GB, free: 27.78 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.466e-05/1.182, allocations: 42.59 kB / 1.133 GB, free: 27.75 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006048/1.183, allocations: 355 kB / 1.133 GB, free: 27.66 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/1.183, allocations: 3.594 kB / 1.133 GB, free: 27.66 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/1.183, allocations: 7.938 kB / 1.133 GB, free: 27.65 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/1.183, allocations: 0 / 1.133 GB, free: 27.65 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/1.184, allocations: 0.8835 MB / 1.134 GB, free: 27.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/1.184, allocations: 7.812 kB / 1.134 GB, free: 27.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002322/1.184, allocations: 57.69 kB / 1.134 GB, free: 27.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/1.184, allocations: 7.922 kB / 1.134 GB, free: 27.15 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/1.184, allocations: 3.5 kB / 1.134 GB, free: 27.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/1.184, allocations: 12.03 kB / 1.134 GB, free: 27.14 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/1.184, allocations: 0 / 1.134 GB, free: 27.14 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007876/1.185, allocations: 0.6091 MB / 1.135 GB, free: 26.88 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.519e-05/1.185, allocations: 127.9 kB / 1.135 GB, free: 26.75 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.487e-05/1.185, allocations: 11.25 kB / 1.135 GB, free: 26.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/1.185, allocations: 30.61 kB / 1.135 GB, free: 26.74 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.851e-05/1.185, allocations: 19.16 kB / 1.135 GB, free: 26.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/1.185, allocations: 11.73 kB / 1.135 GB, free: 26.73 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002686/1.186, allocations: 290.1 kB / 1.135 GB, free: 26.61 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.1e-07/1.186, allocations: 0 / 1.135 GB, free: 26.61 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005111/1.186, allocations: 172 kB / 1.136 GB, free: 26.58 MB / 0.698 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.0002211/1.186, allocations: 122.5 kB / 1.136 GB, free: 26.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009143/1.187, allocations: 0.6018 MB / 1.136 GB, free: 26.29 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.187, allocations: 4.125 kB / 1.136 GB, free: 26.29 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002342/1.187, allocations: 150.5 kB / 1.136 GB, free: 26.26 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/1.188, allocations: 55.77 kB / 1.136 GB, free: 26.25 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/1.189, allocations: 0.8333 MB / 1.137 GB, free: 25.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/1.189, allocations: 0.8167 MB / 1.138 GB, free: 24.95 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00019/1.19, allocations: 58.2 kB / 1.138 GB, free: 24.92 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.364e-05/1.19, allocations: 30.5 kB / 1.138 GB, free: 24.91 MB / 0.698 GB Notification: Performance of SimCode: time 5.71e-07/1.19, allocations: 0 / 1.138 GB, free: 24.91 MB / 0.698 GB Notification: Performance of Templates: time 0.008072/1.198, allocations: 4.591 MB / 1.143 GB, free: 22.7 MB / 0.698 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)