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.001218/0.001224, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001069/0.001069, allocations: 191.2 kB / 16.14 MB, free: 6.703 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.17/1.17, allocations: 205.1 MB / 222 MB, free: 5 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.32/1.32, allocations: 251.6 MB / 0.5088 GB, free: 3.309 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.001197/0.001197, allocations: 63.92 kB / 0.6216 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4115, allocations: 104.7 MB / 0.7238 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.003627/0.4152, allocations: 3.303 MB / 0.727 GB, free: 9.824 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.4166, allocations: 1.092 MB / 0.7281 GB, free: 8.723 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001987/0.4168, allocations: 15.94 kB / 0.7281 GB, free: 8.707 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002376/0.417, allocations: 83.3 kB / 0.7282 GB, free: 8.625 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001528/0.4172, allocations: 55.52 kB / 0.7282 GB, free: 8.57 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003386/0.4175, allocations: 227.8 kB / 0.7285 GB, free: 8.348 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004444/0.418, allocations: 0.6373 MB / 0.7291 GB, free: 7.711 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003632/0.4184, allocations: 316.5 kB / 0.7294 GB, free: 7.395 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.4185, allocations: 191 kB / 0.7296 GB, free: 7.207 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.4187, allocations: 222.7 kB / 0.7298 GB, free: 6.988 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.969e-05/0.4188, allocations: 28 kB / 0.7298 GB, free: 6.961 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.446e-05/0.4188, allocations: 32 kB / 0.7298 GB, free: 6.93 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.814e-05/0.4189, allocations: 103.5 kB / 0.7299 GB, free: 6.828 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.419, allocations: 246.4 kB / 0.7302 GB, free: 6.586 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004804/0.4195, allocations: 0.7961 MB / 0.7309 GB, free: 5.789 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.4195, allocations: 0 / 0.7309 GB, free: 5.789 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.904e-06/0.4195, allocations: 0 / 0.7309 GB, free: 5.789 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.4195, allocations: 3.938 kB / 0.7309 GB, free: 5.785 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.001144/0.4207, allocations: 0.8922 MB / 0.7318 GB, free: 4.844 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.4207, allocations: 8.031 kB / 0.7318 GB, free: 4.836 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.76e-05/0.4208, allocations: 68.09 kB / 0.7319 GB, free: 4.77 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004545/0.4213, allocations: 454.8 kB / 0.7323 GB, free: 4.285 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.4213, allocations: 37.38 kB / 0.7324 GB, free: 4.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.707e-05/0.4214, allocations: 44.38 kB / 0.7324 GB, free: 4.207 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007441/0.4221, allocations: 0.5143 MB / 0.7329 GB, free: 3.664 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.4222, allocations: 0 / 0.7329 GB, free: 3.664 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.538e-05/0.4222, allocations: 16 kB / 0.7329 GB, free: 3.648 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.4222, allocations: 12 kB / 0.7329 GB, free: 3.637 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007185/0.4229, allocations: 395.7 kB / 0.7333 GB, free: 3.25 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001988/0.4249, allocations: 2.026 MB / 0.7353 GB, free: 1.137 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006832/0.4256, allocations: 369.4 kB / 0.7356 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/0.4259, allocations: 174.7 kB / 0.7358 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.426, allocations: 8.234 kB / 0.7358 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.426, allocations: 38.78 kB / 0.7359 GB, free: 0.543 MB / 0.545 GB Notification: Performance of pre-optimization done (n=27): time 1.312e-06/0.426, allocations: 0 / 0.7359 GB, free: 0.543 MB / 0.545 GB Notification: Performance of matching and sorting (n=27): time 0.0008947/0.4269, allocations: 435.7 kB / 0.7363 GB, free: 116 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.427, allocations: 106.8 kB / 0.7364 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004544/0.4274, allocations: 0.5059 MB / 0.7369 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.4275, allocations: 29.7 kB / 0.7369 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.4276, allocations: 283.8 kB / 0.7372 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.528e-05/0.4277, allocations: 94.66 kB / 0.7373 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.313e-05/0.4278, allocations: 65.95 kB / 0.7373 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.4279, allocations: 362.7 kB / 0.7377 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002903/0.4282, allocations: 146.1 kB / 0.7378 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003178/0.4285, allocations: 201 kB / 0.738 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005599/0.4291, allocations: 316.5 kB / 0.7383 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.4291, allocations: 8 kB / 0.7383 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000708/0.4298, allocations: 420.5 kB / 0.7387 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.4299, allocations: 4 kB / 0.7387 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4299, allocations: 4.125 kB / 0.7387 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.4299, allocations: 4 kB / 0.7387 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003004/0.4302, allocations: 75.89 kB / 0.7388 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.4302, allocations: 4 kB / 0.7388 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/0.4305, allocations: 59.55 kB / 0.7388 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.4305, allocations: 16 kB / 0.7389 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003219/0.4308, allocations: 244.8 kB / 0.7391 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002453/0.4311, allocations: 192.1 kB / 0.7393 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004106/0.4315, allocations: 276.2 kB / 0.7395 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.282e-06/0.4315, allocations: 0 / 0.7395 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005473/0.432, allocations: 364.8 kB / 0.7399 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.146e-06/0.4321, allocations: 8 kB / 0.7399 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-06/0.4321, allocations: 0 / 0.7399 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.228e-06/0.4321, allocations: 4 kB / 0.7399 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/0.4323, allocations: 71.88 kB / 0.74 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.4323, allocations: 0 / 0.74 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.4326, allocations: 51.66 kB / 0.74 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.4326, allocations: 11.98 kB / 0.74 GB, free: 12.09 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.0001043/0.4327, allocations: 204.2 kB / 0.7402 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.358e-05/0.4328, allocations: 55.33 kB / 0.7403 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006843/0.4334, allocations: 350.7 kB / 0.7406 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.4335, allocations: 4 kB / 0.7406 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.4335, allocations: 4 kB / 0.7406 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.4335, allocations: 3.984 kB / 0.7406 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004461/0.4339, allocations: 0.5088 MB / 0.7411 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4339, allocations: 0 / 0.7411 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002639/0.4342, allocations: 67.89 kB / 0.7412 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.4342, allocations: 0 / 0.7412 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.4342, allocations: 11.94 kB / 0.7412 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4343, allocations: 0 / 0.7412 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4343, allocations: 0 / 0.7412 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009234/0.4352, allocations: 0.5853 MB / 0.7418 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.362e-05/0.4353, allocations: 144.5 kB / 0.7419 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.625e-05/0.4353, allocations: 4 kB / 0.7419 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/0.4356, allocations: 27.97 kB / 0.7419 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.711e-05/0.4356, allocations: 15.97 kB / 0.742 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.4357, allocations: 12 kB / 0.742 GB, free: 10 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003255/0.436, allocations: 350.9 kB / 0.7423 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.436, allocations: 0 / 0.7423 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004255/0.4364, allocations: 155.4 kB / 0.7424 GB, free: 9.512 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.0001068/0.4365, allocations: 115.2 kB / 0.7426 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000851/0.4374, allocations: 468.8 kB / 0.743 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4374, allocations: 0 / 0.743 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002704/0.4377, allocations: 143.9 kB / 0.7431 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006258/0.4383, allocations: 114 kB / 0.7433 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.4395, allocations: 1.022 MB / 0.7442 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.4398, allocations: 0.8389 MB / 0.7451 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001962/0.44, allocations: 59.42 kB / 0.7451 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.431e-05/0.4401, allocations: 39.42 kB / 0.7452 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.4401, allocations: 0 / 0.7452 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of Templates: time 0.007356/0.4475, allocations: 4.616 MB / 0.7497 GB, free: 2.098 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)