Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 107.5 kB / 16.29 MB, free: 6.02 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.001142/0.001142, allocations: 183.2 kB / 17.22 MB, free: 5.625 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.173/1.173, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.686/1.686, allocations: 292.3 MB / 0.5495 GB, free: 17.67 MB / 462.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.001963/0.001964, allocations: 66.41 kB / 0.6722 GB, free: 6.57 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2685, allocations: 114.5 MB / 0.7841 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.6003/0.8689, allocations: 295 MB / 1.072 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01968/0.8886, allocations: 16.86 MB / 1.089 GB, free: 2.371 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001635/0.8902, allocations: 71.62 kB / 1.089 GB, free: 2.301 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003402/0.8936, allocations: 1.9 MB / 1.091 GB, free: 400 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01125/0.9049, allocations: 6.356 MB / 1.097 GB, free: 10.01 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005592/0.9105, allocations: 2.986 MB / 1.1 GB, free: 7.023 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.007163/0.9177, allocations: 7.654 MB / 1.107 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002578/0.9203, allocations: 2.542 MB / 1.11 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003284/0.9236, allocations: 2.78 MB / 1.112 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003266/0.9269, allocations: 2.698 MB / 1.115 GB, free: 7.297 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004016/0.9273, allocations: 331.9 kB / 1.115 GB, free: 6.973 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009484/0.9368, allocations: 6.173 MB / 1.121 GB, free: 0.7852 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001142/0.9379, allocations: 1.34 MB / 1.123 GB, free: 15.44 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001765/0.9397, allocations: 1.871 MB / 1.124 GB, free: 13.56 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.008078/0.9478, allocations: 6.892 MB / 1.131 GB, free: 6.652 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.9478, allocations: 4 kB / 1.131 GB, free: 6.648 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.312e-06/0.9478, allocations: 4 kB / 1.131 GB, free: 6.645 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.241e-05/0.9478, allocations: 0 / 1.131 GB, free: 6.645 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.0078/0.9557, allocations: 4.114 MB / 1.135 GB, free: 2.465 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.9557, allocations: 8.031 kB / 1.135 GB, free: 2.457 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005219/0.9609, allocations: 0.9209 MB / 1.136 GB, free: 1.531 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2782/1.239, allocations: 1.807 MB / 1.138 GB, free: 306.3 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002/1.239, allocations: 196.4 kB / 1.138 GB, free: 306.3 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009198/1.24, allocations: 258.8 kB / 1.138 GB, free: 306.3 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006584/1.247, allocations: 3.33 MB / 1.142 GB, free: 306.1 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.121e-05/1.247, allocations: 15.3 kB / 1.142 GB, free: 306.1 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000228/1.247, allocations: 112.7 kB / 1.142 GB, free: 306.1 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001111/1.247, allocations: 136.4 kB / 1.142 GB, free: 306 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004849/1.252, allocations: 3.491 MB / 1.145 GB, free: 305.1 MB / 0.92 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.0212/1.273, allocations: 12.12 MB / 1.157 GB, free: 297.2 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006003/1.279, allocations: 3.504 MB / 1.161 GB, free: 295.4 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003738/1.283, allocations: 1.826 MB / 1.162 GB, free: 294.8 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001673/1.285, allocations: 1.494 MB / 1.164 GB, free: 293.2 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.978e-05/1.285, allocations: 66.27 kB / 1.164 GB, free: 293.1 MB / 0.92 GB Notification: Performance of pre-optimization done (n=278): time 7.474e-06/1.285, allocations: 3.766 kB / 1.164 GB, free: 293.1 MB / 0.92 GB Notification: Performance of matching and sorting (n=278): time 0.006947/1.292, allocations: 3.876 MB / 1.168 GB, free: 291.6 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/1.292, allocations: 86.98 kB / 1.168 GB, free: 291.5 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002092/1.294, allocations: 1.361 MB / 1.169 GB, free: 291 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002098/1.294, allocations: 75.05 kB / 1.169 GB, free: 291 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006693/1.295, allocations: 0.9701 MB / 1.17 GB, free: 290.2 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007802/1.296, allocations: 0.9491 MB / 1.171 GB, free: 289.5 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006497/1.297, allocations: 405 kB / 1.171 GB, free: 289.3 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 6.094e-05/1.297, allocations: 315.6 kB / 1.172 GB, free: 289 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001693/1.298, allocations: 1.087 MB / 1.173 GB, free: 288.6 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00188/1.3, allocations: 1.384 MB / 1.174 GB, free: 287.9 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004091/1.304, allocations: 2.646 MB / 1.177 GB, free: 286.7 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.358e-06/1.304, allocations: 1.219 kB / 1.177 GB, free: 286.7 MB / 0.92 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004862/1.309, allocations: 2.968 MB / 1.18 GB, free: 285.5 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/1.309, allocations: 8.312 kB / 1.18 GB, free: 285.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/1.309, allocations: 3.406 kB / 1.18 GB, free: 285.5 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.51e-05/1.309, allocations: 15.31 kB / 1.18 GB, free: 285.5 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002146/1.311, allocations: 0.5112 MB / 1.18 GB, free: 285.5 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.011e-05/1.312, allocations: 18.44 kB / 1.18 GB, free: 285.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/1.313, allocations: 189.6 kB / 1.18 GB, free: 285.3 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001746/1.314, allocations: 87.42 kB / 1.18 GB, free: 285.3 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (311): * Single equations (assignments): 311 * 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.001257/1.315, allocations: 0.6392 MB / 1.181 GB, free: 285 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005114/1.315, allocations: 228.4 kB / 1.181 GB, free: 284.8 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005275/1.321, allocations: 3.101 MB / 1.184 GB, free: 283.5 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.235e-05/1.321, allocations: 26.56 kB / 1.184 GB, free: 283.5 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/1.321, allocations: 0 / 1.184 GB, free: 283.5 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004233/1.325, allocations: 2.649 MB / 1.187 GB, free: 282.4 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01215/1.337, allocations: 6.195 MB / 1.193 GB, free: 279.8 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/1.337, allocations: 0.6562 kB / 1.193 GB, free: 279.8 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002521/1.34, allocations: 0.5492 MB / 1.193 GB, free: 279.8 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.402e-05/1.34, allocations: 14.48 kB / 1.193 GB, free: 279.8 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001721/1.34, allocations: 58.94 kB / 1.194 GB, free: 279.8 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.604e-05/1.34, allocations: 9 kB / 1.194 GB, free: 279.8 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.34, allocations: 7.125 kB / 1.194 GB, free: 279.8 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007134/1.347, allocations: 4.795 MB / 1.198 GB, free: 277.7 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001429/1.349, allocations: 0.6101 MB / 1.199 GB, free: 277.3 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003397/1.349, allocations: 56.92 kB / 1.199 GB, free: 277.3 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001561/1.351, allocations: 62.75 kB / 1.199 GB, free: 277.3 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003876/1.351, allocations: 162.2 kB / 1.199 GB, free: 277.2 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001852/1.351, allocations: 85.67 kB / 1.199 GB, free: 277.2 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001492/1.353, allocations: 0.9332 MB / 1.2 GB, free: 276.9 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/1.353, allocations: 0 / 1.2 GB, free: 276.9 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00223/1.355, allocations: 0.9818 MB / 1.201 GB, free: 276.7 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1],oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1]) * 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 (278): * Single equations (assignments): 278 * 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.0006189/1.356, allocations: 378.2 kB / 1.201 GB, free: 276.5 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.004218/1.36, allocations: 2.778 MB / 1.204 GB, free: 275.6 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/1.36, allocations: 2.125 kB / 1.204 GB, free: 275.6 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001719/1.361, allocations: 1.513 MB / 1.206 GB, free: 275.1 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004669/1.366, allocations: 1.352 MB / 1.207 GB, free: 274.9 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007148/1.373, allocations: 5.964 MB / 1.213 GB, free: 272 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/1.374, allocations: 1.89 MB / 1.215 GB, free: 270.8 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002419/1.377, allocations: 0.8412 MB / 1.215 GB, free: 270.4 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006656/1.378, allocations: 211.9 kB / 1.216 GB, free: 270.4 MB / 0.92 GB Notification: Performance of SimCode: time 8.51e-07/1.378, allocations: 0 / 1.216 GB, free: 270.4 MB / 0.92 GB Notification: Performance of Templates: time 0.6878/2.065, allocations: 49.83 MB / 1.264 GB, free: 222.4 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)