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.001018/0.001018, allocations: 108 kB / 15.6 MB, free: 132 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.001034/0.001034, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.186/1.186, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.37/1.37, allocations: 251.7 MB / 0.5092 GB, free: 3.164 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.001293/0.001293, allocations: 63.91 kB / 0.6223 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3592, allocations: 104.7 MB / 0.7245 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.003801/0.363, allocations: 3.284 MB / 0.7277 GB, free: 9.625 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.3645, allocations: 1.135 MB / 0.7288 GB, free: 8.48 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002134/0.3648, allocations: 11.94 kB / 0.7288 GB, free: 8.469 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002305/0.365, allocations: 110.9 kB / 0.7289 GB, free: 8.359 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001787/0.3652, allocations: 87.14 kB / 0.729 GB, free: 8.273 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003764/0.3656, allocations: 259.6 kB / 0.7293 GB, free: 8.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005035/0.3661, allocations: 0.688 MB / 0.7299 GB, free: 7.332 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003995/0.3665, allocations: 336.5 kB / 0.7303 GB, free: 6.996 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002064/0.3667, allocations: 231 kB / 0.7305 GB, free: 6.77 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.3669, allocations: 254.6 kB / 0.7307 GB, free: 6.52 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.636e-05/0.367, allocations: 76 kB / 0.7308 GB, free: 6.445 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.586e-05/0.3671, allocations: 76 kB / 0.7309 GB, free: 6.371 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.136e-05/0.3672, allocations: 147.5 kB / 0.731 GB, free: 6.227 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001732/0.3673, allocations: 290.4 kB / 0.7313 GB, free: 5.941 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005619/0.3679, allocations: 0.843 MB / 0.7321 GB, free: 5.098 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.3679, allocations: 0 / 0.7321 GB, free: 5.098 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3679, allocations: 0 / 0.7321 GB, free: 5.098 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.3679, allocations: 4 kB / 0.7321 GB, free: 5.094 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.00119/0.3691, allocations: 0.8882 MB / 0.733 GB, free: 4.156 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.3692, allocations: 12.03 kB / 0.733 GB, free: 4.145 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.255e-05/0.3693, allocations: 68.09 kB / 0.7331 GB, free: 4.078 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000469/0.3697, allocations: 462.8 kB / 0.7335 GB, free: 3.586 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.3698, allocations: 33.38 kB / 0.7335 GB, free: 3.555 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.676e-05/0.3698, allocations: 48.38 kB / 0.7336 GB, free: 3.508 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007413/0.3706, allocations: 0.5026 MB / 0.7341 GB, free: 2.98 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3706, allocations: 0 / 0.7341 GB, free: 2.98 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.726e-05/0.3707, allocations: 24 kB / 0.7341 GB, free: 2.957 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.3707, allocations: 8 kB / 0.7341 GB, free: 2.949 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007392/0.3714, allocations: 399.7 kB / 0.7345 GB, free: 2.559 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002037/0.3735, allocations: 2.018 MB / 0.7365 GB, free: 464 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007041/0.3742, allocations: 359.5 kB / 0.7368 GB, free: 96 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003363/0.3745, allocations: 192 kB / 0.737 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.3746, allocations: 4.234 kB / 0.737 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.3746, allocations: 38.8 kB / 0.737 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=27): time 2.655e-06/0.3746, allocations: 0 / 0.737 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=27): time 0.0009405/0.3755, allocations: 440.4 kB / 0.7374 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.3756, allocations: 110.8 kB / 0.7376 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004705/0.3761, allocations: 0.4981 MB / 0.738 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.3761, allocations: 29.7 kB / 0.7381 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.3763, allocations: 287.8 kB / 0.7383 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.063e-05/0.3763, allocations: 94.72 kB / 0.7384 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.33e-05/0.3764, allocations: 62.03 kB / 0.7385 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.3766, allocations: 358.8 kB / 0.7388 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003133/0.3769, allocations: 142.1 kB / 0.739 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003368/0.3772, allocations: 216.9 kB / 0.7392 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005845/0.3778, allocations: 324.4 kB / 0.7395 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3778, allocations: 0 / 0.7395 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007295/0.3786, allocations: 408.7 kB / 0.7399 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.3786, allocations: 12.06 kB / 0.7399 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3786, allocations: 4 kB / 0.7399 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.3786, allocations: 0 / 0.7399 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003008/0.3789, allocations: 79.88 kB / 0.74 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.379, allocations: 0 / 0.74 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.3792, allocations: 59.56 kB / 0.74 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.3792, allocations: 8 kB / 0.74 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003194/0.3796, allocations: 256.7 kB / 0.7403 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002494/0.3798, allocations: 188.2 kB / 0.7405 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004155/0.3802, allocations: 264.2 kB / 0.7407 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.475e-06/0.3802, allocations: 4 kB / 0.7407 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005678/0.3808, allocations: 364.8 kB / 0.7411 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.655e-06/0.3808, allocations: 6.031 kB / 0.7411 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-06/0.3808, allocations: 0 / 0.7411 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.109e-06/0.3809, allocations: 7.984 kB / 0.7411 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.3811, allocations: 67.91 kB / 0.7411 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.3811, allocations: 7.938 kB / 0.7411 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.3813, allocations: 43.66 kB / 0.7412 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.3814, allocations: 16.09 kB / 0.7412 GB, free: 11.41 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 0.0001067/0.3815, allocations: 208.2 kB / 0.7414 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.536e-05/0.3815, allocations: 47.34 kB / 0.7414 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006934/0.3822, allocations: 359.3 kB / 0.7418 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.3822, allocations: 4 kB / 0.7418 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3823, allocations: 0 / 0.7418 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3823, allocations: 0 / 0.7418 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004594/0.3827, allocations: 0.5244 MB / 0.7423 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3827, allocations: 0 / 0.7423 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002623/0.383, allocations: 59.89 kB / 0.7424 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.383, allocations: 0 / 0.7424 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.383, allocations: 8 kB / 0.7424 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.383, allocations: 3.984 kB / 0.7424 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.383, allocations: 4 kB / 0.7424 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009545/0.384, allocations: 0.5888 MB / 0.743 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.49e-05/0.3841, allocations: 132.4 kB / 0.7431 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.653e-05/0.3842, allocations: 8 kB / 0.7431 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.3844, allocations: 23.97 kB / 0.7431 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/0.3844, allocations: 27.91 kB / 0.7431 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.3845, allocations: 4 kB / 0.7431 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003335/0.3848, allocations: 358.9 kB / 0.7435 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3848, allocations: 64 / 0.7435 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004189/0.3852, allocations: 159.4 kB / 0.7436 GB, free: 8.816 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.715e-05/0.3853, allocations: 99.25 kB / 0.7437 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009484/0.3863, allocations: 488.5 kB / 0.7442 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3863, allocations: 0 / 0.7442 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002841/0.3866, allocations: 147.8 kB / 0.7443 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005925/0.3872, allocations: 125.1 kB / 0.7445 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.3883, allocations: 0.832 MB / 0.7453 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.3886, allocations: 0.8347 MB / 0.7461 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001869/0.3888, allocations: 63.41 kB / 0.7461 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.895e-05/0.3889, allocations: 35.42 kB / 0.7462 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.3889, allocations: 0 / 0.7462 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of Templates: time 0.007895/0.3968, allocations: 4.917 MB / 0.751 GB, free: 1.285 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)