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.001114/0.001115, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001748/0.001748, allocations: 195.1 kB / 16.53 MB, free: 6.664 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.45/1.45, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.85/2.85, allocations: 472.6 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 67.77 kB / 0.912 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4116, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV): time 0.007534/0.4192, allocations: 6.105 MB / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00416/0.4234, allocations: 1.912 MB / 1.076 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001323/0.4247, allocations: 35.88 kB / 1.076 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005997/0.4254, allocations: 253.3 kB / 1.076 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005835/0.426, allocations: 210 kB / 1.076 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.4271, allocations: 0.5813 MB / 1.077 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00156/0.4286, allocations: 1.734 MB / 1.079 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00129/0.4299, allocations: 0.9946 MB / 1.08 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006999/0.4307, allocations: 0.5836 MB / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005496/0.4312, allocations: 0.6411 MB / 1.081 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.000213/0.4314, allocations: 200 kB / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.4316, allocations: 200 kB / 1.081 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002697/0.4319, allocations: 390.7 kB / 1.082 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000528/0.4324, allocations: 0.7343 MB / 1.082 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00177/0.4342, allocations: 2.216 MB / 1.085 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4342, allocations: 0 / 1.085 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4342, allocations: 0 / 1.085 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.04e-05/0.4343, allocations: 0 / 1.085 GB, free: 9.535 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.002949/0.4372, allocations: 1.765 MB / 1.086 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.4373, allocations: 8.031 kB / 1.086 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002492/0.4375, allocations: 170.8 kB / 1.086 GB, free: 7.535 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.4387, allocations: 0.8526 MB / 1.087 GB, free: 6.641 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.313e-05/0.4387, allocations: 94.75 kB / 1.087 GB, free: 6.547 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.4389, allocations: 124.4 kB / 1.087 GB, free: 6.426 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/0.4409, allocations: 1.214 MB / 1.089 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.4409, allocations: 3.938 kB / 1.089 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.395e-05/0.441, allocations: 55.98 kB / 1.089 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/0.4411, allocations: 28 kB / 1.089 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001902/0.443, allocations: 0.9342 MB / 1.09 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005469/0.4484, allocations: 4.087 MB / 1.094 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002721/0.4512, allocations: 1.17 MB / 1.095 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008357/0.4521, allocations: 470.8 kB / 1.095 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.392e-05/0.4521, allocations: 8.656 kB / 1.095 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.4522, allocations: 47.16 kB / 1.095 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=75): time 2.505e-06/0.4522, allocations: 4 kB / 1.095 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=75): time 0.002475/0.4546, allocations: 1.035 MB / 1.096 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.4548, allocations: 192.6 kB / 1.097 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/0.4562, allocations: 1.011 MB / 1.097 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.638e-05/0.4563, allocations: 49.62 kB / 1.098 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004839/0.4567, allocations: 0.6131 MB / 1.098 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/0.457, allocations: 256.3 kB / 1.098 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002256/0.4572, allocations: 158.6 kB / 1.099 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.4573, allocations: 333.9 kB / 1.099 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007199/0.458, allocations: 336.7 kB / 1.099 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008526/0.4589, allocations: 0.5634 MB / 1.1 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.4603, allocations: 0.779 MB / 1.1 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.4603, allocations: 0 / 1.1 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001906/0.4623, allocations: 0.9843 MB / 1.101 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.4623, allocations: 15.88 kB / 1.101 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.4623, allocations: 4 kB / 1.101 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/0.4623, allocations: 8 kB / 1.101 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006988/0.463, allocations: 183.7 kB / 1.102 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.636e-05/0.4631, allocations: 11.98 kB / 1.102 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007214/0.4638, allocations: 162.8 kB / 1.102 GB, free: 7.297 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-05/0.4639, allocations: 32 kB / 1.102 GB, free: 7.266 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008357/0.4647, allocations: 490 kB / 1.102 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006184/0.4653, allocations: 0.4888 MB / 1.103 GB, free: 6.203 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001011/0.4664, allocations: 0.6736 MB / 1.103 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.465e-06/0.4664, allocations: 0 / 1.103 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of matching and sorting (n=105) (initialization_lambda0): time 0.001377/0.4677, allocations: 0.8517 MB / 1.104 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.4678, allocations: 12.06 kB / 1.104 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.4678, allocations: 7.938 kB / 1.104 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.4678, allocations: 11.94 kB / 1.104 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005749/0.4684, allocations: 159.7 kB / 1.104 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.4684, allocations: 11.98 kB / 1.104 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006075/0.469, allocations: 127.3 kB / 1.105 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.582e-05/0.4691, allocations: 32 kB / 1.105 GB, free: 4.262 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.0002545/0.4693, allocations: 229.3 kB / 1.105 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/0.4695, allocations: 118.5 kB / 1.105 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001753/0.4713, allocations: 0.8216 MB / 1.106 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.4713, allocations: 12 kB / 1.106 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.4713, allocations: 0 / 1.106 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.4713, allocations: 3.984 kB / 1.106 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003122/0.4744, allocations: 2.032 MB / 1.108 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.4745, allocations: 0 / 1.108 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006477/0.4751, allocations: 151.8 kB / 1.108 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.4751, allocations: 4 kB / 1.108 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.702e-05/0.4752, allocations: 19.98 kB / 1.108 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.4752, allocations: 4 kB / 1.108 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/0.4752, allocations: 0 / 1.108 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00231/0.4775, allocations: 1.29 MB / 1.109 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000229/0.4778, allocations: 211.4 kB / 1.109 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.4779, allocations: 20 kB / 1.109 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005025/0.4784, allocations: 71.92 kB / 1.109 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.4785, allocations: 52.58 kB / 1.11 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.67e-05/0.4786, allocations: 23.98 kB / 1.11 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009184/0.4795, allocations: 0.6875 MB / 1.11 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4795, allocations: 0 / 1.11 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001042/0.4806, allocations: 406.2 kB / 1.111 GB, free: 14.02 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.000242/0.4808, allocations: 151 kB / 1.111 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002775/0.4836, allocations: 1.19 MB / 1.112 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.4836, allocations: 128 / 1.112 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007045/0.4843, allocations: 387.5 kB / 1.112 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.4854, allocations: 247.6 kB / 1.113 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003153/0.4886, allocations: 1.976 MB / 1.114 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006486/0.4892, allocations: 1.096 MB / 1.116 GB, free: 8.918 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0005648/0.4898, allocations: 135.9 kB / 1.116 GB, free: 8.781 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002161/0.49, allocations: 87.41 kB / 1.116 GB, free: 8.695 MB / 0.8731 GB Notification: Performance of SimCode: time 9.32e-07/0.49, allocations: 0 / 1.116 GB, free: 8.695 MB / 0.8731 GB Notification: Performance of Templates: time 0.02513/0.5152, allocations: 11.69 MB / 1.127 GB, free: 13.12 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)