Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.672/1.672, allocations: 287.5 MB / 302.6 MB, free: 8.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001186/0.001186, allocations: 182 kB / 371.2 MB, free: 10.77 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.61/1.61, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009715/0.0009714, allocations: 89.86 kB / 0.7432 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003714, allocations: 10.25 kB / 0.8661 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2142, allocations: 115.3 MB / 0.9787 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.6738/0.888, allocations: 185.9 MB / 1.16 GB, free: 3.176 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0108/0.8989, allocations: 5.902 MB / 1.166 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001475/0.9004, allocations: 25.44 kB / 1.166 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001642/0.9021, allocations: 483 kB / 1.166 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.006609/0.9087, allocations: 1.934 MB / 1.168 GB, free: 12.45 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition ‘zonFlo.useDefaultProperties and initial()‘. Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.9104, allocations: 0.4885 MB / 1.169 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.005837/0.9163, allocations: 4.011 MB / 1.173 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001717/0.918, allocations: 0.896 MB / 1.174 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00286/0.9209, allocations: 1.064 MB / 1.175 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002331/0.9232, allocations: 1.045 MB / 1.176 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001675/0.9234, allocations: 55.28 kB / 1.176 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00402/0.9274, allocations: 1.141 MB / 1.177 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0005282/0.928, allocations: 437.8 kB / 1.177 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0004545/0.9284, allocations: 288.9 kB / 1.178 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002388/0.9308, allocations: 1.84 MB / 1.179 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.9308, allocations: 0 / 1.179 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9308, allocations: 0 / 1.179 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.697e-05/0.9309, allocations: 0 / 1.179 GB, free: 6.02 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.003319/0.9342, allocations: 1.507 MB / 1.181 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.9342, allocations: 10.84 kB / 1.181 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001959/0.9362, allocations: 348.3 kB / 1.181 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.9375, allocations: 0.8349 MB / 1.182 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.463e-05/0.9376, allocations: 75.34 kB / 1.182 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.9377, allocations: 97.91 kB / 1.182 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/0.9396, allocations: 1.189 MB / 1.183 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.9397, allocations: 1.438 kB / 1.183 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.826e-05/0.9398, allocations: 43.95 kB / 1.183 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.414e-05/0.9399, allocations: 63.31 kB / 1.183 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001842/0.9417, allocations: 1.237 MB / 1.185 GB, free: 2.676 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006368/0.9481, allocations: 5.057 MB / 1.19 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/0.9495, allocations: 1.145 MB / 1.191 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007115/0.9502, allocations: 0.5075 MB / 1.191 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.178e-05/0.9503, allocations: 20.47 kB / 1.191 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006807/0.951, allocations: 476.8 kB / 1.192 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=76): time 3.116e-06/0.951, allocations: 0 / 1.192 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=76): time 0.001843/0.9529, allocations: 1.152 MB / 1.193 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.9529, allocations: 67.97 kB / 1.193 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005999/0.9535, allocations: 0.5614 MB / 1.193 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.371e-05/0.9536, allocations: 36.36 kB / 1.193 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003246/0.9539, allocations: 461.4 kB / 1.194 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002182/0.9542, allocations: 264.7 kB / 1.194 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.9542, allocations: 14.91 kB / 1.194 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001881/0.9544, allocations: 385.2 kB / 1.194 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004588/0.9549, allocations: 327.1 kB / 1.195 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005346/0.9554, allocations: 454.8 kB / 1.195 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.9565, allocations: 0.8252 MB / 1.196 GB, free: 9.934 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.9565, allocations: 0 / 1.196 GB, free: 9.934 MB / 0.7292 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001301/0.9578, allocations: 0.9141 MB / 1.197 GB, free: 9.461 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.9578, allocations: 8.781 kB / 1.197 GB, free: 9.461 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.9579, allocations: 6.969 kB / 1.197 GB, free: 9.457 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.9579, allocations: 4.562 kB / 1.197 GB, free: 9.457 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006344/0.9585, allocations: 154.1 kB / 1.197 GB, free: 9.426 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.712e-05/0.9585, allocations: 19.89 kB / 1.197 GB, free: 9.414 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009479/0.9595, allocations: 132.4 kB / 1.197 GB, free: 9.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.708e-05/0.9596, allocations: 23.97 kB / 1.197 GB, free: 9.336 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004519/0.96, allocations: 332.1 kB / 1.198 GB, free: 9.09 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.9601, allocations: 77.44 kB / 1.198 GB, free: 9.051 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001988/0.9603, allocations: 109.3 kB / 1.198 GB, free: 8.965 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.9603, allocations: 12.69 kB / 1.198 GB, free: 8.961 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/0.9604, allocations: 3.938 kB / 1.198 GB, free: 8.957 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001201/0.9616, allocations: 1.084 MB / 1.199 GB, free: 8.152 MB / 0.7292 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003142/0.9647, allocations: 2.305 MB / 1.201 GB, free: 6.551 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.9647, allocations: 0 / 1.201 GB, free: 6.551 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007985/0.9655, allocations: 180.1 kB / 1.201 GB, free: 6.512 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.9656, allocations: 2.469 kB / 1.201 GB, free: 6.512 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.168e-05/0.9656, allocations: 21.11 kB / 1.201 GB, free: 6.496 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.9656, allocations: 2.844 kB / 1.201 GB, free: 6.496 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.9656, allocations: 6.844 kB / 1.201 GB, free: 6.492 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.9675, allocations: 1.476 MB / 1.203 GB, free: 5.5 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000402/0.9679, allocations: 256 kB / 1.203 GB, free: 5.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.968, allocations: 12 kB / 1.203 GB, free: 5.219 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007695/0.9688, allocations: 107.7 kB / 1.203 GB, free: 5.113 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.1e-05/0.9689, allocations: 40.59 kB / 1.203 GB, free: 5.07 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.316e-05/0.969, allocations: 28 kB / 1.203 GB, free: 5.043 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00047/0.9694, allocations: 403 kB / 1.204 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9694, allocations: 0 / 1.204 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008771/0.9703, allocations: 367.1 kB / 1.204 GB, free: 4.293 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002537/0.9706, allocations: 181.3 kB / 1.204 GB, free: 4.109 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001158/0.9718, allocations: 0.798 MB / 1.205 GB, free: 3.312 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.9718, allocations: 0 / 1.205 GB, free: 3.312 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005475/0.9723, allocations: 427.5 kB / 1.205 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002501/0.9748, allocations: 0.5513 MB / 1.206 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003535/0.9784, allocations: 2.671 MB / 1.208 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007006/0.9791, allocations: 1.136 MB / 1.209 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0009945/0.9801, allocations: 283 kB / 1.21 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002192/0.9803, allocations: 71.44 kB / 1.21 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of SimCode: time 3.91e-07/0.9803, allocations: 0 / 1.21 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of Templates: time 0.02833/1.009, allocations: 17.66 MB / 1.227 GB, free: 12.64 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)