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.001651/0.00165, allocations: 101.7 kB / 16.27 MB, free: 6.008 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.001777/0.001777, allocations: 183.4 kB / 17.19 MB, free: 5.621 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.406/1.406, allocations: 205.1 MB / 223.1 MB, free: 12.33 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.791/1.791, allocations: 292.3 MB / 0.5495 GB, free: 17.64 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.001639/0.00164, allocations: 67.91 kB / 0.6721 GB, free: 6.602 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2431, allocations: 114.6 MB / 0.784 GB, free: 3.938 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.7877/1.031, allocations: 295.1 MB / 1.072 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02837/1.059, allocations: 16.86 MB / 1.089 GB, free: 2.215 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005113/1.064, allocations: 75.62 kB / 1.089 GB, free: 2.141 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.006205/1.071, allocations: 1.896 MB / 1.091 GB, free: 240 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0181/1.089, allocations: 6.363 MB / 1.097 GB, free: 9.84 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.008986/1.098, allocations: 2.958 MB / 1.1 GB, free: 6.883 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01216/1.11, allocations: 7.652 MB / 1.107 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004708/1.115, allocations: 2.553 MB / 1.11 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00722/1.122, allocations: 2.768 MB / 1.112 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006309/1.128, allocations: 2.701 MB / 1.115 GB, free: 7.148 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001216/1.13, allocations: 328 kB / 1.115 GB, free: 6.828 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01539/1.145, allocations: 6.165 MB / 1.121 GB, free: 0.6484 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.002628/1.148, allocations: 1.34 MB / 1.123 GB, free: 15.3 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00429/1.152, allocations: 1.879 MB / 1.124 GB, free: 13.41 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01678/1.169, allocations: 6.849 MB / 1.131 GB, free: 6.555 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.154e-05/1.169, allocations: 0 / 1.131 GB, free: 6.555 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.643e-06/1.169, allocations: 0 / 1.131 GB, free: 6.555 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001465/1.169, allocations: 0 / 1.131 GB, free: 6.555 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.01335/1.182, allocations: 4.11 MB / 1.135 GB, free: 2.379 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/1.183, allocations: 16.02 kB / 1.135 GB, free: 2.363 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006618/1.189, allocations: 0.9171 MB / 1.136 GB, free: 1.441 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4715/1.661, allocations: 1.806 MB / 1.138 GB, free: 305.9 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001799/1.661, allocations: 194.4 kB / 1.138 GB, free: 305.9 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007783/1.662, allocations: 266.3 kB / 1.138 GB, free: 305.9 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005618/1.667, allocations: 3.33 MB / 1.141 GB, free: 305.6 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.333e-05/1.667, allocations: 10.66 kB / 1.142 GB, free: 305.6 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002471/1.668, allocations: 104.2 kB / 1.142 GB, free: 305.6 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001468/1.668, allocations: 138.5 kB / 1.142 GB, free: 305.6 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005969/1.674, allocations: 3.49 MB / 1.145 GB, free: 304.9 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.02051/1.694, allocations: 12.2 MB / 1.157 GB, free: 297 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005289/1.7, allocations: 3.511 MB / 1.16 GB, free: 295.2 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003066/1.703, allocations: 1.828 MB / 1.162 GB, free: 294.6 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001344/1.704, allocations: 1.49 MB / 1.164 GB, free: 293 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.418e-05/1.704, allocations: 64.95 kB / 1.164 GB, free: 292.9 MB / 0.92 GB Notification: Performance of pre-optimization done (n=278): time 4.308e-06/1.704, allocations: 0 / 1.164 GB, free: 292.9 MB / 0.92 GB Notification: Performance of matching and sorting (n=278): time 0.007828/1.712, allocations: 3.882 MB / 1.168 GB, free: 291.4 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.661e-05/1.712, allocations: 80.03 kB / 1.168 GB, free: 291.3 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003659/1.716, allocations: 1.356 MB / 1.169 GB, free: 290.8 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0004376/1.716, allocations: 78.92 kB / 1.169 GB, free: 290.7 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009959/1.717, allocations: 0.9699 MB / 1.17 GB, free: 290 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001226/1.719, allocations: 0.9461 MB / 1.171 GB, free: 289.2 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001038/1.72, allocations: 409.4 kB / 1.171 GB, free: 289.1 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 7.632e-05/1.72, allocations: 309.1 kB / 1.172 GB, free: 288.8 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00249/1.722, allocations: 1.09 MB / 1.173 GB, free: 288.4 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002585/1.725, allocations: 1.385 MB / 1.174 GB, free: 287.7 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004784/1.73, allocations: 2.642 MB / 1.177 GB, free: 286.5 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.719e-05/1.73, allocations: 4.609 kB / 1.177 GB, free: 286.5 MB / 0.92 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005948/1.736, allocations: 2.969 MB / 1.18 GB, free: 285.3 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.258e-05/1.736, allocations: 8.453 kB / 1.18 GB, free: 285.3 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/1.736, allocations: 6.031 kB / 1.18 GB, free: 285.3 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.743e-05/1.736, allocations: 15.41 kB / 1.18 GB, free: 285.3 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002408/1.738, allocations: 0.5128 MB / 1.18 GB, free: 285.2 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.064e-05/1.738, allocations: 15.45 kB / 1.18 GB, free: 285.2 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002819/1.741, allocations: 184.6 kB / 1.18 GB, free: 285.1 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002326/1.741, allocations: 83.78 kB / 1.18 GB, free: 285.1 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.001924/1.743, allocations: 0.644 MB / 1.181 GB, free: 284.7 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009842/1.744, allocations: 232.7 kB / 1.181 GB, free: 284.6 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006498/1.751, allocations: 3.102 MB / 1.184 GB, free: 283.3 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.474e-05/1.751, allocations: 26.62 kB / 1.184 GB, free: 283.3 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.183e-05/1.751, allocations: 5.812 kB / 1.184 GB, free: 283.3 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004742/1.756, allocations: 2.646 MB / 1.187 GB, free: 282.2 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0158/1.771, allocations: 6.197 MB / 1.193 GB, free: 279.6 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/1.771, allocations: 1.25 kB / 1.193 GB, free: 279.6 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003122/1.775, allocations: 0.5518 MB / 1.193 GB, free: 279.6 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.157e-05/1.775, allocations: 13.91 kB / 1.193 GB, free: 279.6 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000421/1.775, allocations: 58.72 kB / 1.193 GB, free: 279.6 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.491e-05/1.775, allocations: 8.75 kB / 1.193 GB, free: 279.6 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.775, allocations: 5.781 kB / 1.193 GB, free: 279.6 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009885/1.785, allocations: 4.794 MB / 1.198 GB, free: 277.5 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001903/1.787, allocations: 0.6057 MB / 1.199 GB, free: 277.1 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007094/1.788, allocations: 57.16 kB / 1.199 GB, free: 277.1 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002246/1.79, allocations: 66.44 kB / 1.199 GB, free: 277 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004206/1.79, allocations: 163 kB / 1.199 GB, free: 277 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001856/1.791, allocations: 81.5 kB / 1.199 GB, free: 277 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001607/1.792, allocations: 0.9391 MB / 1.2 GB, free: 276.6 MB / 0.92 GB Notification: Performance of sort global known variables: time 4.7e-07/1.792, allocations: 0 / 1.2 GB, free: 276.6 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.003239/1.796, allocations: 0.9837 MB / 1.201 GB, free: 276.5 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.0008601/1.796, allocations: 373.1 kB / 1.201 GB, free: 276.3 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01249/1.809, allocations: 5.543 MB / 1.207 GB, free: 275.3 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/1.809, allocations: 0 / 1.207 GB, free: 275.3 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.002194/1.811, allocations: 1.508 MB / 1.208 GB, free: 274.9 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006744/1.818, allocations: 1.356 MB / 1.21 GB, free: 274.6 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009801/1.828, allocations: 6.17 MB / 1.216 GB, free: 271.1 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001136/1.829, allocations: 1.89 MB / 1.217 GB, free: 269.2 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001267/1.83, allocations: 229 kB / 1.218 GB, free: 269 MB / 0.92 GB Notification: Performance of SimCode: time 1.833e-06/1.83, allocations: 0 / 1.218 GB, free: 269 MB / 0.92 GB Notification: Performance of Templates: time 0.05883/1.889, allocations: 43.01 MB / 1.26 GB, free: 226.3 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 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)