Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV") translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.001349, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001598/0.001599, allocations: 191.8 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.056/3.056, allocations: 472.6 MB / 0.7448 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 65.3 kB / 0.9115 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3849, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV): time 0.008056/0.393, allocations: 6.04 MB / 1.074 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00432/0.3974, allocations: 1.811 MB / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001534/0.399, allocations: 39.88 kB / 1.075 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006694/0.3997, allocations: 182.3 kB / 1.076 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00065/0.4003, allocations: 142.9 kB / 1.076 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.4015, allocations: 0.5152 MB / 1.076 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001692/0.4032, allocations: 1.738 MB / 1.078 GB, free: 256 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001317/0.4045, allocations: 0.9985 MB / 1.079 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000759/0.4053, allocations: 0.5913 MB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005881/0.4059, allocations: 0.6372 MB / 1.08 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002079/0.4061, allocations: 200 kB / 1.08 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001891/0.4063, allocations: 200 kB / 1.08 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002792/0.4066, allocations: 382.7 kB / 1.081 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005529/0.4072, allocations: 0.7422 MB / 1.082 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002045/0.4092, allocations: 2.212 MB / 1.084 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.4092, allocations: 0 / 1.084 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.967e-06/0.4093, allocations: 0 / 1.084 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.303e-05/0.4093, allocations: 0 / 1.084 GB, free: 10.24 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 302 * Number of variables: 302 Notification: Performance of Generate backend data structure: time 0.003761/0.4131, allocations: 1.769 MB / 1.085 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 8.893e-05/0.4132, allocations: 8.031 kB / 1.085 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003557/0.4136, allocations: 170.9 kB / 1.086 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/0.4151, allocations: 0.8487 MB / 1.086 GB, free: 7.344 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.26e-05/0.4152, allocations: 90.75 kB / 1.087 GB, free: 7.254 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/0.4154, allocations: 120.4 kB / 1.087 GB, free: 7.137 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0024/0.4178, allocations: 1.221 MB / 1.088 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.33e-05/0.4179, allocations: 3.938 kB / 1.088 GB, free: 5.863 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.418, allocations: 48 kB / 1.088 GB, free: 5.816 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-05/0.4181, allocations: 28 kB / 1.088 GB, free: 5.789 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002067/0.4201, allocations: 0.9342 MB / 1.089 GB, free: 4.848 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007392/0.4275, allocations: 4.084 MB / 1.093 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003073/0.4307, allocations: 1.166 MB / 1.094 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009544/0.4317, allocations: 474.8 kB / 1.094 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-05/0.4318, allocations: 16.58 kB / 1.094 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.846e-05/0.4319, allocations: 43.16 kB / 1.094 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=75): time 5.049e-06/0.4319, allocations: 0 / 1.094 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of matching and sorting (n=75): time 0.002864/0.4347, allocations: 1.047 MB / 1.095 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001696/0.4349, allocations: 192.6 kB / 1.096 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001948/0.4369, allocations: 1.011 MB / 1.097 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001261/0.437, allocations: 45.7 kB / 1.097 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007154/0.4378, allocations: 0.6052 MB / 1.097 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.000309/0.4381, allocations: 256.3 kB / 1.098 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003119/0.4384, allocations: 154.6 kB / 1.098 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002323/0.4386, allocations: 342 kB / 1.098 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007793/0.4394, allocations: 336.6 kB / 1.098 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009848/0.4404, allocations: 0.5474 MB / 1.099 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001593/0.442, allocations: 0.7867 MB / 1.1 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/0.442, allocations: 4 kB / 1.1 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002348/0.4444, allocations: 0.9724 MB / 1.101 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.969e-05/0.4445, allocations: 11.94 kB / 1.101 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/0.4445, allocations: 4 kB / 1.101 GB, free: 8.387 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.105e-05/0.4445, allocations: 8 kB / 1.101 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007769/0.4453, allocations: 199.9 kB / 1.101 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.44e-05/0.4453, allocations: 11.94 kB / 1.101 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008876/0.4462, allocations: 154.8 kB / 1.101 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.921e-05/0.4463, allocations: 39.98 kB / 1.101 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001035/0.4474, allocations: 486 kB / 1.101 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006698/0.448, allocations: 496.5 kB / 1.102 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001066/0.4491, allocations: 0.6775 MB / 1.103 GB, free: 6.195 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.986e-06/0.4491, allocations: 4 kB / 1.103 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of matching and sorting (n=105) (initialization_lambda0): time 0.001491/0.4506, allocations: 0.8512 MB / 1.103 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.4507, allocations: 8 kB / 1.103 GB, free: 5.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.4507, allocations: 7.938 kB / 1.103 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.4507, allocations: 8.531 kB / 1.103 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005859/0.4513, allocations: 171.7 kB / 1.104 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.4513, allocations: 8 kB / 1.104 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005945/0.4519, allocations: 115.3 kB / 1.104 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.986e-05/0.452, allocations: 35.94 kB / 1.104 GB, free: 4.98 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 11 (boxWitPreIndDam.conCoo.con1.y,boxWitPreIndDam.conHea.con1.y,boxWitExpDam.conDam.con1.y,boxWitExpDam.conCoo.con1.y,boxWitExpDam.conHea.con1.y,boxWitPreIndDam.hysWitHol.y,$PRE.boxWitPreIndDam.hysWitHol.y,boxWitExpDam.hysWitHol.y,$PRE.boxWitExpDam.hysWitHol.y,boxWitPreIndDam.greThr.y,boxWitExpDam.greThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002785/0.4522, allocations: 244 kB / 1.104 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.4524, allocations: 118.5 kB / 1.104 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001743/0.4542, allocations: 0.8177 MB / 1.105 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.4542, allocations: 8 kB / 1.105 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.4542, allocations: 8 kB / 1.105 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.4542, allocations: 3.984 kB / 1.105 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003004/0.4572, allocations: 2.028 MB / 1.107 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.4572, allocations: 0 / 1.107 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006777/0.4579, allocations: 155.8 kB / 1.107 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.4579, allocations: 0 / 1.107 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.874e-05/0.458, allocations: 19.98 kB / 1.107 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.458, allocations: 4 kB / 1.107 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.458, allocations: 0 / 1.107 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002272/0.4603, allocations: 1.298 MB / 1.108 GB, free: 204 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002694/0.4606, allocations: 211.6 kB / 1.109 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.4607, allocations: 12 kB / 1.109 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005129/0.4612, allocations: 67.92 kB / 1.109 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.4614, allocations: 56.58 kB / 1.109 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.429e-05/0.4614, allocations: 27.98 kB / 1.109 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.00106/0.4625, allocations: 0.6914 MB / 1.109 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4625, allocations: 0 / 1.109 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001155/0.4637, allocations: 398.2 kB / 1.11 GB, free: 14.72 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (boxWitExpDam.conHea.I.y,boxWitExpDam.conCoo.I.y,boxWitExpDam.conDam.I.y,boxWitPreIndDam.conHea.I.y,boxWitPreIndDam.conCoo.I.y) * Number of discrete variables: 2 (boxWitExpDam.hysWitHol.y,boxWitPreIndDam.hysWitHol.y) * Number of discrete states: 2 (boxWitPreIndDam.hysWitHol.y,boxWitExpDam.hysWitHol.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002279/0.4639, allocations: 139 kB / 1.11 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002898/0.4668, allocations: 1.204 MB / 1.111 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.4668, allocations: 0 / 1.111 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007351/0.4676, allocations: 385 kB / 1.111 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.4688, allocations: 254 kB / 1.112 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004023/0.4729, allocations: 2.458 MB / 1.114 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008231/0.4737, allocations: 1.096 MB / 1.115 GB, free: 9.137 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0006305/0.4743, allocations: 135.9 kB / 1.115 GB, free: 9 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002671/0.4746, allocations: 91.41 kB / 1.115 GB, free: 8.91 MB / 0.8731 GB Notification: Performance of SimCode: time 1.122e-06/0.4746, allocations: 0 / 1.115 GB, free: 8.91 MB / 0.8731 GB Notification: Performance of Templates: time 0.02376/0.4984, allocations: 11.48 MB / 1.127 GB, free: 13.54 MB / 0.8887 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.makefile (rm -f Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.sim & ./Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe 2>&1)