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.0006901/0.0006902, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.003879/0.003879, allocations: 173 kB / 16.26 MB, free: 6.613 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.156/1.156, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.298/1.298, allocations: 252 MB / 0.5105 GB, free: 4.664 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.0004418/0.0004419, allocations: 12 kB / 0.6249 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.367, allocations: 106.3 MB / 0.7287 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.002817/0.3698, allocations: 2.883 MB / 0.7315 GB, free: 8.34 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001636/0.3715, allocations: 1.077 MB / 0.7326 GB, free: 7.254 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002991/0.3718, allocations: 15.94 kB / 0.7326 GB, free: 7.238 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002286/0.3721, allocations: 79.25 kB / 0.7327 GB, free: 7.16 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001975/0.3723, allocations: 59.52 kB / 0.7327 GB, free: 7.102 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003882/0.3727, allocations: 219.8 kB / 0.7329 GB, free: 6.887 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005289/0.3732, allocations: 0.6372 MB / 0.7336 GB, free: 6.25 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004046/0.3736, allocations: 324.5 kB / 0.7339 GB, free: 5.926 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.3738, allocations: 147 kB / 0.734 GB, free: 5.781 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.374, allocations: 186.7 kB / 0.7342 GB, free: 5.598 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.532e-05/0.374, allocations: 16 kB / 0.7342 GB, free: 5.582 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.125e-05/0.3741, allocations: 12 kB / 0.7342 GB, free: 5.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.612e-05/0.3741, allocations: 75.52 kB / 0.7343 GB, free: 5.496 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.3743, allocations: 244.1 kB / 0.7345 GB, free: 5.25 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005024/0.3748, allocations: 0.7607 MB / 0.7353 GB, free: 4.488 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3748, allocations: 0 / 0.7353 GB, free: 4.488 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3748, allocations: 0 / 0.7353 GB, free: 4.488 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.3749, allocations: 0 / 0.7353 GB, free: 4.488 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.00115/0.376, allocations: 0.8143 MB / 0.7361 GB, free: 3.625 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.3761, allocations: 12.03 kB / 0.7361 GB, free: 3.613 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.3762, allocations: 68.09 kB / 0.7361 GB, free: 3.547 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004907/0.3767, allocations: 458.8 kB / 0.7366 GB, free: 3.059 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.3767, allocations: 37.38 kB / 0.7366 GB, free: 3.023 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.542e-05/0.3768, allocations: 40.38 kB / 0.7367 GB, free: 2.984 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008089/0.3776, allocations: 0.5183 MB / 0.7372 GB, free: 2.438 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.3776, allocations: 3.938 kB / 0.7372 GB, free: 2.434 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.645e-05/0.3776, allocations: 24 kB / 0.7372 GB, free: 2.41 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.3776, allocations: 16 kB / 0.7372 GB, free: 2.395 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000793/0.3784, allocations: 419.7 kB / 0.7376 GB, free: 1.984 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002115/0.3806, allocations: 2.037 MB / 0.7396 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007523/0.3813, allocations: 398 kB / 0.74 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003482/0.3817, allocations: 196.9 kB / 0.7402 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.3817, allocations: 4.234 kB / 0.7402 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.3818, allocations: 46.73 kB / 0.7402 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=27): time 1.282e-06/0.3818, allocations: 0 / 0.7402 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=27): time 0.0009889/0.3828, allocations: 487 kB / 0.7407 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.3828, allocations: 110.8 kB / 0.7408 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004944/0.3833, allocations: 0.498 MB / 0.7413 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.3834, allocations: 33.7 kB / 0.7413 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.3835, allocations: 283.8 kB / 0.7416 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.749e-05/0.3836, allocations: 98.72 kB / 0.7417 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/0.3836, allocations: 41.69 kB / 0.7417 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.3838, allocations: 358.8 kB / 0.742 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003114/0.3841, allocations: 152.6 kB / 0.7422 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003484/0.3844, allocations: 221 kB / 0.7424 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000626/0.3851, allocations: 356.5 kB / 0.7427 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3851, allocations: 0 / 0.7427 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007702/0.3859, allocations: 448.6 kB / 0.7432 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.079e-05/0.3859, allocations: 120.4 kB / 0.7433 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3859, allocations: 64 / 0.7433 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.386, allocations: 8 kB / 0.7433 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/0.3863, allocations: 83.89 kB / 0.7434 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.3863, allocations: 0 / 0.7434 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002643/0.3865, allocations: 75.55 kB / 0.7434 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.3866, allocations: 15.88 kB / 0.7435 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.901e-06/0.3866, allocations: 4 kB / 0.7435 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005162/0.3871, allocations: 303.9 kB / 0.7438 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.3871, allocations: 4 kB / 0.7438 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.826e-06/0.3871, allocations: 0 / 0.7438 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.3874, allocations: 75.89 kB / 0.7438 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.3874, allocations: 7.938 kB / 0.7438 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.3876, allocations: 59.58 kB / 0.7439 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.3876, allocations: 12 kB / 0.7439 GB, free: 11.29 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.0001857/0.3878, allocations: 257 kB / 0.7441 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.854e-05/0.3879, allocations: 51.38 kB / 0.7442 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007241/0.3886, allocations: 390.5 kB / 0.7446 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3886, allocations: 0 / 0.7446 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3886, allocations: 0 / 0.7446 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.3886, allocations: 4 kB / 0.7446 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004547/0.3891, allocations: 0.5126 MB / 0.7451 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3891, allocations: 3.938 kB / 0.7451 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000269/0.3894, allocations: 71.89 kB / 0.7451 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.3894, allocations: 4 kB / 0.7451 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.3894, allocations: 7.938 kB / 0.7452 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.3894, allocations: 4 kB / 0.7452 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.3894, allocations: 7.984 kB / 0.7452 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.3905, allocations: 0.64 MB / 0.7458 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.889e-05/0.3906, allocations: 132.4 kB / 0.7459 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.334e-05/0.3906, allocations: 8 kB / 0.7459 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.3909, allocations: 35.97 kB / 0.746 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.3909, allocations: 24.03 kB / 0.746 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.3909, allocations: 4 kB / 0.746 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003476/0.3913, allocations: 362.9 kB / 0.7463 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3913, allocations: 0 / 0.7463 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004194/0.3917, allocations: 151.4 kB / 0.7465 GB, free: 8.543 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 0.0001025/0.3918, allocations: 107.8 kB / 0.7466 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009249/0.3928, allocations: 0.4966 MB / 0.7471 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3928, allocations: 0 / 0.7471 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003049/0.3931, allocations: 172.2 kB / 0.7472 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005628/0.3936, allocations: 112.5 kB / 0.7473 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.3949, allocations: 1.039 MB / 0.7484 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.3952, allocations: 0.8392 MB / 0.7492 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001875/0.3954, allocations: 47.44 kB / 0.7492 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.286e-05/0.3955, allocations: 39.42 kB / 0.7493 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.3955, allocations: 4 kB / 0.7493 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of Templates: time 0.007719/0.4032, allocations: 4.573 MB / 0.7537 GB, free: 1.113 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: