Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009674/0.0009674, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009484/0.0009485, allocations: 191.6 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.129/1.129, allocations: 205.1 MB / 222.1 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.291/1.291, allocations: 251.6 MB / 0.5089 GB, free: 3.289 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 63.91 kB / 0.6218 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3495, allocations: 104.7 MB / 0.724 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.003468/0.353, allocations: 3.295 MB / 0.7272 GB, free: 9.793 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.3543, allocations: 1.096 MB / 0.7283 GB, free: 8.688 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001977/0.3545, allocations: 15.94 kB / 0.7283 GB, free: 8.672 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002131/0.3547, allocations: 79.23 kB / 0.7284 GB, free: 8.594 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001619/0.3549, allocations: 59.53 kB / 0.7284 GB, free: 8.535 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003375/0.3553, allocations: 219.8 kB / 0.7286 GB, free: 8.32 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000482/0.3557, allocations: 0.6997 MB / 0.7293 GB, free: 7.621 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003655/0.3561, allocations: 336.5 kB / 0.7296 GB, free: 7.285 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001927/0.3563, allocations: 235 kB / 0.7299 GB, free: 7.055 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.3565, allocations: 254.6 kB / 0.7301 GB, free: 6.805 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.771e-05/0.3566, allocations: 76 kB / 0.7302 GB, free: 6.73 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.253e-05/0.3566, allocations: 76 kB / 0.7303 GB, free: 6.656 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.07e-05/0.3567, allocations: 151.5 kB / 0.7304 GB, free: 6.508 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.3569, allocations: 294.4 kB / 0.7307 GB, free: 6.219 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005154/0.3574, allocations: 0.8274 MB / 0.7315 GB, free: 5.391 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3574, allocations: 0 / 0.7315 GB, free: 5.391 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3574, allocations: 0 / 0.7315 GB, free: 5.391 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.3575, allocations: 0 / 0.7315 GB, free: 5.391 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.00113/0.3586, allocations: 0.896 MB / 0.7324 GB, free: 4.445 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.3586, allocations: 12.03 kB / 0.7324 GB, free: 4.434 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.591e-05/0.3587, allocations: 68.09 kB / 0.7324 GB, free: 4.367 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004431/0.3592, allocations: 462.8 kB / 0.7329 GB, free: 3.875 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.3592, allocations: 37.36 kB / 0.7329 GB, free: 3.84 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.871e-05/0.3593, allocations: 48.38 kB / 0.733 GB, free: 3.793 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00074/0.36, allocations: 0.5026 MB / 0.7335 GB, free: 3.262 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.36, allocations: 4 kB / 0.7335 GB, free: 3.258 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/0.3601, allocations: 16 kB / 0.7335 GB, free: 3.242 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.3601, allocations: 12 kB / 0.7335 GB, free: 3.23 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000709/0.3608, allocations: 395.7 kB / 0.7339 GB, free: 2.844 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002009/0.3628, allocations: 2.022 MB / 0.7358 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006711/0.3635, allocations: 359.5 kB / 0.7362 GB, free: 384 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003039/0.3638, allocations: 178.6 kB / 0.7363 GB, free: 204 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.3638, allocations: 8.234 kB / 0.7364 GB, free: 196 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.3639, allocations: 34.73 kB / 0.7364 GB, free: 152 kB / 0.545 GB Notification: Performance of pre-optimization done (n=27): time 1.303e-06/0.3639, allocations: 0 / 0.7364 GB, free: 152 kB / 0.545 GB Notification: Performance of matching and sorting (n=27): time 0.0008703/0.3648, allocations: 447 kB / 0.7368 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.3648, allocations: 106.8 kB / 0.7369 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004589/0.3653, allocations: 0.5059 MB / 0.7374 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.3653, allocations: 33.7 kB / 0.7374 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.3655, allocations: 279.8 kB / 0.7377 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.593e-05/0.3655, allocations: 98.72 kB / 0.7378 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.783e-05/0.3656, allocations: 58.03 kB / 0.7379 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.3657, allocations: 362.8 kB / 0.7382 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002837/0.366, allocations: 142.1 kB / 0.7383 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003105/0.3663, allocations: 212.9 kB / 0.7385 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005323/0.3669, allocations: 320.4 kB / 0.7388 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3669, allocations: 4 kB / 0.7389 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006699/0.3676, allocations: 412.6 kB / 0.7392 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.3676, allocations: 4 kB / 0.7392 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3676, allocations: 7.938 kB / 0.7393 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.3676, allocations: 4.125 kB / 0.7393 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000287/0.3679, allocations: 83.88 kB / 0.7393 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.3679, allocations: 0 / 0.7393 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/0.3682, allocations: 55.56 kB / 0.7394 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/0.3682, allocations: 16 kB / 0.7394 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002988/0.3685, allocations: 244.7 kB / 0.7396 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002297/0.3687, allocations: 188.2 kB / 0.7398 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003943/0.3691, allocations: 280.1 kB / 0.7401 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.102e-06/0.3691, allocations: 0 / 0.7401 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.000513/0.3697, allocations: 356.9 kB / 0.7404 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.131e-06/0.3697, allocations: 8 kB / 0.7404 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3697, allocations: 8 kB / 0.7404 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-06/0.3697, allocations: 3.938 kB / 0.7404 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.3699, allocations: 67.89 kB / 0.7405 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.3699, allocations: 7.938 kB / 0.7405 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.3701, allocations: 51.66 kB / 0.7406 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.3702, allocations: 8 kB / 0.7406 GB, free: 11.68 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (vavBoxCon.conCoo.I.trigger_internal,vavBoxCon.conHea.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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 9.706e-05/0.3703, allocations: 204.1 kB / 0.7408 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.152e-05/0.3703, allocations: 51.34 kB / 0.7408 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006454/0.371, allocations: 346.5 kB / 0.7412 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.371, allocations: 4 kB / 0.7412 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.371, allocations: 4 kB / 0.7412 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.371, allocations: 0 / 0.7412 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004257/0.3714, allocations: 0.5127 MB / 0.7417 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3715, allocations: 0 / 0.7417 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/0.3717, allocations: 63.89 kB / 0.7417 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.3717, allocations: 4 kB / 0.7417 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.3718, allocations: 4 kB / 0.7417 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3718, allocations: 0 / 0.7417 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.3718, allocations: 4 kB / 0.7417 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008859/0.3727, allocations: 0.5853 MB / 0.7423 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.302e-05/0.3727, allocations: 140.5 kB / 0.7424 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.639e-05/0.3728, allocations: 8 kB / 0.7424 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.373, allocations: 27.97 kB / 0.7425 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.3731, allocations: 15.97 kB / 0.7425 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.3731, allocations: 8 kB / 0.7425 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003207/0.3734, allocations: 366.8 kB / 0.7428 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3734, allocations: 0 / 0.7428 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004023/0.3738, allocations: 151.4 kB / 0.743 GB, free: 9.109 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (vavBoxCon.conHea.I.y,vavBoxCon.conCoo.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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 9.411e-05/0.3739, allocations: 111.2 kB / 0.7431 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008738/0.3748, allocations: 481.5 kB / 0.7436 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3748, allocations: 0 / 0.7436 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002648/0.3751, allocations: 151.8 kB / 0.7437 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005452/0.3756, allocations: 123.2 kB / 0.7438 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.3768, allocations: 1.016 MB / 0.7448 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.3771, allocations: 0.8426 MB / 0.7456 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001889/0.3773, allocations: 59.42 kB / 0.7457 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.341e-05/0.3774, allocations: 39.42 kB / 0.7457 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.3774, allocations: 3.938 kB / 0.7457 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of Templates: time 0.007122/0.3845, allocations: 4.817 MB / 0.7504 GB, free: 1.48 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & ./Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)