Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001035/0.001036, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006893/0.006894, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.48/1.48, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.904/2.904, allocations: 473.4 MB / 0.7469 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004012/0.0004013, allocations: 15.72 kB / 0.9158 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.4248, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV): time 0.007163/0.4321, allocations: 5.498 MB / 1.08 GB, free: 2 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004758/0.4369, allocations: 1.783 MB / 1.081 GB, free: 216 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001726/0.4387, allocations: 35.88 kB / 1.081 GB, free: 180 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005903/0.4393, allocations: 186.3 kB / 1.081 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0006914/0.44, allocations: 146.9 kB / 1.082 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.4411, allocations: 0.5113 MB / 1.082 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001666/0.4428, allocations: 1.57 MB / 1.084 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001304/0.4441, allocations: 0.9516 MB / 1.085 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005917/0.4447, allocations: 373.5 kB / 1.085 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004768/0.4452, allocations: 448.7 kB / 1.085 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.887e-05/0.4453, allocations: 36 kB / 1.085 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.311e-05/0.4454, allocations: 36 kB / 1.085 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001668/0.4456, allocations: 194.8 kB / 1.086 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004683/0.4461, allocations: 0.5525 MB / 1.086 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001645/0.4477, allocations: 2.032 MB / 1.088 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4477, allocations: 0 / 1.088 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.003e-06/0.4477, allocations: 0 / 1.088 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.128e-05/0.4478, allocations: 0 / 1.088 GB, free: 9.09 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.002883/0.4507, allocations: 1.547 MB / 1.09 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.4507, allocations: 8.031 kB / 1.09 GB, free: 7.477 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002526/0.451, allocations: 167 kB / 1.09 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.4522, allocations: 0.8565 MB / 1.091 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.659e-05/0.4523, allocations: 86.75 kB / 1.091 GB, free: 6.328 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/0.4525, allocations: 132.3 kB / 1.091 GB, free: 6.199 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002321/0.4548, allocations: 1.241 MB / 1.092 GB, free: 4.91 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.775e-05/0.4548, allocations: 15.86 kB / 1.092 GB, free: 4.895 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.4549, allocations: 48 kB / 1.092 GB, free: 4.848 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3e-05/0.455, allocations: 28 kB / 1.092 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002054/0.457, allocations: 1.001 MB / 1.093 GB, free: 3.812 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00614/0.4632, allocations: 4.13 MB / 1.097 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003301/0.4665, allocations: 1.323 MB / 1.098 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/0.4676, allocations: 0.4987 MB / 1.099 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.767e-05/0.4677, allocations: 16.64 kB / 1.099 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.672e-05/0.4678, allocations: 43.16 kB / 1.099 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=75): time 5.33e-06/0.4678, allocations: 0 / 1.099 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of matching and sorting (n=75): time 0.003042/0.4708, allocations: 1.137 MB / 1.1 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001716/0.471, allocations: 192.6 kB / 1.1 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001813/0.4728, allocations: 1.011 MB / 1.101 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001364/0.473, allocations: 45.7 kB / 1.101 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007173/0.4737, allocations: 0.6052 MB / 1.102 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002862/0.474, allocations: 256.3 kB / 1.102 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.4742, allocations: 77.67 kB / 1.102 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002122/0.4744, allocations: 338 kB / 1.103 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008282/0.4752, allocations: 357.8 kB / 1.103 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.4763, allocations: 0.5864 MB / 1.103 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001687/0.478, allocations: 0.8453 MB / 1.104 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.478, allocations: 7.938 kB / 1.104 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002347/0.4803, allocations: 1.031 MB / 1.105 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.000196/0.4806, allocations: 216.1 kB / 1.106 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.4806, allocations: 4 kB / 1.106 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.819e-05/0.4806, allocations: 8 kB / 1.106 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007851/0.4814, allocations: 203.7 kB / 1.106 GB, free: 6.461 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.221e-05/0.4814, allocations: 15.92 kB / 1.106 GB, free: 6.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009443/0.4824, allocations: 194.8 kB / 1.106 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.639e-05/0.4825, allocations: 28 kB / 1.106 GB, free: 6.227 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.4825, allocations: 5.875 kB / 1.106 GB, free: 6.223 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001319/0.4838, allocations: 0.746 MB / 1.107 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.4838, allocations: 4 kB / 1.107 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.4839, allocations: 8 kB / 1.107 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006121/0.4845, allocations: 175.7 kB / 1.107 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.729e-05/0.4845, allocations: 11.94 kB / 1.107 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008513/0.4854, allocations: 147 kB / 1.107 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.084e-05/0.4854, allocations: 32 kB / 1.107 GB, free: 5.105 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.001014/0.4864, allocations: 376.9 kB / 1.107 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002105/0.4867, allocations: 110.6 kB / 1.108 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001913/0.4886, allocations: 0.8919 MB / 1.108 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.4886, allocations: 8 kB / 1.108 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.4886, allocations: 4 kB / 1.108 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.4886, allocations: 3.984 kB / 1.108 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00328/0.4919, allocations: 2.087 MB / 1.11 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.4919, allocations: 0 / 1.11 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006943/0.4926, allocations: 167.8 kB / 1.111 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/0.4927, allocations: 4 kB / 1.111 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-05/0.4927, allocations: 23.92 kB / 1.111 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.4927, allocations: 4 kB / 1.111 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.4927, allocations: 0 / 1.111 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002616/0.4954, allocations: 1.384 MB / 1.112 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002415/0.4956, allocations: 215.4 kB / 1.112 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.4957, allocations: 16 kB / 1.112 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005416/0.4963, allocations: 95.92 kB / 1.112 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.4964, allocations: 48.58 kB / 1.112 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.905e-05/0.4965, allocations: 27.98 kB / 1.112 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009879/0.4975, allocations: 0.6875 MB / 1.113 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4975, allocations: 8 kB / 1.113 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001098/0.4986, allocations: 398.2 kB / 1.113 GB, free: 14.45 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.0002211/0.4988, allocations: 139 kB / 1.114 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002509/0.5013, allocations: 1.232 MB / 1.115 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.5013, allocations: 0 / 1.115 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007803/0.5021, allocations: 412.5 kB / 1.115 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.5034, allocations: 240.1 kB / 1.115 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00373/0.5071, allocations: 2.509 MB / 1.118 GB, free: 9.906 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00068/0.5078, allocations: 1.1 MB / 1.119 GB, free: 8.777 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0005992/0.5084, allocations: 135.9 kB / 1.119 GB, free: 8.641 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002341/0.5086, allocations: 83.41 kB / 1.119 GB, free: 8.559 MB / 0.8731 GB Notification: Performance of SimCode: time 8.72e-07/0.5087, allocations: 0 / 1.119 GB, free: 8.559 MB / 0.8731 GB Notification: Performance of Templates: time 0.0226/0.5313, allocations: 10.88 MB / 1.13 GB, free: 13.79 MB / 0.8887 GB make -j1 -f Buildings_1.6_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.makefile (rm -f Buildings_1.6_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_1.6_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_1.6_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.sim & ./Buildings_1.6_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe 2>&1)