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.592/1.592, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001184/0.001184, allocations: 180.9 kB / 361.4 MB, free: 6.855 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.65/1.65, allocations: 205.3 MB / 0.62 GB, free: 11.67 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.0008426/0.0008424, allocations: 104 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.93e-05/1.931e-05, allocations: 0 / 0.8517 GB, free: 2.758 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6699/0.67, allocations: 115.3 MB / 0.9644 GB, free: 78.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1851/0.8551, allocations: 141.3 MB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.8554, allocations: 85.67 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02046/0.8759, allocations: 7.38 MB / 1.11 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.184e-06/0.876, allocations: 0 / 1.11 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.438e-05/0.8761, allocations: 16 kB / 1.11 GB, free: 7.16 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.001627/0.8777, allocations: 0.6737 MB / 1.11 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.152e-05/0.8778, allocations: 14.09 kB / 1.11 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002475/0.878, allocations: 52.47 kB / 1.11 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009065/0.879, allocations: 387.3 kB / 1.111 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.512e-05/0.879, allocations: 16 kB / 1.111 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.8791, allocations: 28 kB / 1.111 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006666/0.8798, allocations: 278.5 kB / 1.111 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007415/0.8806, allocations: 364.3 kB / 1.111 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.8806, allocations: 2.438 kB / 1.111 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.84e-05/0.8806, allocations: 0 / 1.111 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.863e-05/0.8807, allocations: 12 kB / 1.111 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002619/0.8833, allocations: 1.254 MB / 1.113 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005783/0.8839, allocations: 259.4 kB / 1.113 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002085/0.8841, allocations: 120.4 kB / 1.113 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.363e-05/0.8842, allocations: 4.234 kB / 1.113 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000412/0.8846, allocations: 212.2 kB / 1.113 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=30): time 2.805e-06/0.8846, allocations: 0 / 1.113 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30): time 0.0006047/0.8852, allocations: 245.8 kB / 1.113 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.8854, allocations: 162.2 kB / 1.114 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003637/0.8857, allocations: 254.2 kB / 1.114 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.282e-05/0.8858, allocations: 29.7 kB / 1.114 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002241/0.886, allocations: 236.1 kB / 1.114 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.763e-05/0.8861, allocations: 92.03 kB / 1.114 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/0.8861, allocations: 0 / 1.114 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.8863, allocations: 338.8 kB / 1.114 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.8866, allocations: 108 kB / 1.115 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002723/0.8869, allocations: 176.1 kB / 1.115 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003843/0.8872, allocations: 124.1 kB / 1.115 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.8873, allocations: 0 / 1.115 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007636/0.888, allocations: 349.5 kB / 1.115 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000233/0.8883, allocations: 311.2 kB / 1.116 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.8883, allocations: 0 / 1.116 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.8883, allocations: 4 kB / 1.116 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/0.8886, allocations: 55.91 kB / 1.116 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.8886, allocations: 0 / 1.116 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003741/0.889, allocations: 75.64 kB / 1.116 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.356e-05/0.8891, allocations: 15.98 kB / 1.116 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.8891, allocations: 8.938 kB / 1.116 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006663/0.8898, allocations: 281.1 kB / 1.116 GB, free: 424 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.8898, allocations: 0 / 1.116 GB, free: 424 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.86e-06/0.8898, allocations: 4 kB / 1.116 GB, free: 420 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.8901, allocations: 55.91 kB / 1.116 GB, free: 364 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.8901, allocations: 3.203 kB / 1.116 GB, free: 364 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003486/0.8904, allocations: 67.81 kB / 1.116 GB, free: 296 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.272e-05/0.8905, allocations: 12.75 kB / 1.116 GB, free: 284 kB / 0.7136 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.0001436/0.8906, allocations: 114.2 kB / 1.116 GB, free: 164 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.679e-05/0.8907, allocations: 31.62 kB / 1.116 GB, free: 132 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005698/0.8913, allocations: 284.9 kB / 1.116 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.8913, allocations: 4 kB / 1.116 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.8913, allocations: 0 / 1.116 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.8913, allocations: 0 / 1.116 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009949/0.8923, allocations: 0.7665 MB / 1.117 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.8923, allocations: 10.78 kB / 1.117 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002564/0.8926, allocations: 55.91 kB / 1.117 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.955e-05/0.8926, allocations: 7.984 kB / 1.117 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.8927, allocations: 4 kB / 1.117 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.8927, allocations: 0 / 1.117 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.8927, allocations: 6.953 kB / 1.117 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007333/0.8934, allocations: 0.532 MB / 1.118 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.785e-05/0.8935, allocations: 116.7 kB / 1.118 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.348e-05/0.8936, allocations: 0 / 1.118 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.8938, allocations: 24.05 kB / 1.118 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/0.8939, allocations: 23.91 kB / 1.118 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-05/0.8939, allocations: 15.94 kB / 1.118 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002061/0.8941, allocations: 194 kB / 1.118 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8941, allocations: 0 / 1.118 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005713/0.8947, allocations: 163.2 kB / 1.118 GB, free: 13.82 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.0002386/0.8949, allocations: 126.9 kB / 1.118 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008213/0.8958, allocations: 0.5357 MB / 1.119 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.8958, allocations: 0 / 1.119 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001956/0.896, allocations: 127.9 kB / 1.119 GB, free: 13 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.8964, allocations: 49.23 kB / 1.119 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.8975, allocations: 492.3 kB / 1.12 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004693/0.8979, allocations: 0.8163 MB / 1.12 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00026/0.8982, allocations: 51.27 kB / 1.12 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.545e-05/0.8983, allocations: 35.42 kB / 1.121 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of SimCode: time 2.7e-07/0.8983, allocations: 0.9375 kB / 1.121 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of Templates: time 0.009347/0.9077, allocations: 4.237 MB / 1.125 GB, free: 7.406 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)