Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0008954/0.0008954, allocations: 100 kB / 15.05 MB, free: 1.105 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.0009009/0.0009009, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.251/1.251, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.544/0.544, allocations: 95.58 MB / 366 MB, free: 10.4 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005828/0.0005828, allocations: 12 kB / 446.8 MB, free: 9.414 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2993, allocations: 70.34 MB / 0.505 GB, free: 16.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.4189/0.7183, allocations: 180.2 MB / 0.681 GB, free: 432 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01849/0.7368, allocations: 14 MB / 0.6947 GB, free: 12 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003063/0.7399, allocations: 95.59 kB / 0.6948 GB, free: 12 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004876/0.7448, allocations: 1.236 MB / 0.696 GB, free: 0 / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009575/0.7544, allocations: 3.198 MB / 0.6991 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005252/0.7597, allocations: 1.644 MB / 0.7007 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00676/0.7665, allocations: 3.593 MB / 0.7042 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003274/0.7698, allocations: 1.622 MB / 0.7058 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004231/0.774, allocations: 1.79 MB / 0.7075 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003837/0.7779, allocations: 1.742 MB / 0.7092 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008308/0.7788, allocations: 117.4 kB / 0.7093 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005927/0.7847, allocations: 1.709 MB / 0.711 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001103/0.7858, allocations: 0.5114 MB / 0.7115 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001302/0.7871, allocations: 490.6 kB / 0.712 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003641/0.7908, allocations: 2.69 MB / 0.7146 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.7908, allocations: 0 / 0.7146 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7908, allocations: 0 / 0.7146 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.333e-05/0.7909, allocations: 0 / 0.7146 GB, free: 11.22 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.005025/0.7959, allocations: 2.503 MB / 0.7171 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.7959, allocations: 15.98 kB / 0.7171 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006282/0.7966, allocations: 265 kB / 0.7173 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002199/0.7988, allocations: 1.363 MB / 0.7187 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.13e-05/0.7989, allocations: 139.7 kB / 0.7188 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000248/0.7991, allocations: 188.9 kB / 0.719 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003173/0.8023, allocations: 2.163 MB / 0.7211 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.189e-05/0.8024, allocations: 4 kB / 0.7211 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001626/0.8026, allocations: 74.5 kB / 0.7212 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.579e-05/0.8026, allocations: 46.62 kB / 0.7212 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003424/0.806, allocations: 2.142 MB / 0.7233 GB, free: 4.668 MB / 0.4981 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.01071/0.8168, allocations: 8.329 MB / 0.7314 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002906/0.8197, allocations: 2.229 MB / 0.7336 GB, free: 12 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00279/0.8225, allocations: 3.281 MB / 0.7368 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/0.8226, allocations: 62.02 kB / 0.7369 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=215): time 4.158e-06/0.8226, allocations: 0 / 0.7369 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=235): time 0.01638/0.839, allocations: 7.352 MB / 0.744 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.8391, allocations: 73.41 kB / 0.7441 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/0.8404, allocations: 1.13 MB / 0.7452 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001428/0.8406, allocations: 71.58 kB / 0.7453 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004834/0.8411, allocations: 0.7251 MB / 0.746 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000598/0.8417, allocations: 0.7954 MB / 0.7468 GB, free: 184 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.8418, allocations: 44 kB / 0.7468 GB, free: 140 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.842, allocations: 386.1 kB / 0.7472 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/0.8433, allocations: 0.8279 MB / 0.748 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/0.8448, allocations: 1.071 MB / 0.749 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/0.8464, allocations: 0.969 MB / 0.75 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.525e-06/0.8464, allocations: 4 kB / 0.75 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=268) (initialization): time 0.004036/0.8504, allocations: 2.745 MB / 0.7527 GB, free: 10 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.8505, allocations: 8 kB / 0.7527 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.8505, allocations: 5.969 kB / 0.7527 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002749/0.8508, allocations: 103.5 kB / 0.7528 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002084/0.8529, allocations: 487.9 kB / 0.7532 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003523/0.8564, allocations: 5.26 MB / 0.7584 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001893/0.8583, allocations: 175.8 kB / 0.7585 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001846/0.8585, allocations: 83.98 kB / 0.7586 GB, free: 3.41 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (264): * Single equations (assignments): 260 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008853/0.8594, allocations: 469.6 kB / 0.7591 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003031/0.8597, allocations: 189.7 kB / 0.7593 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004965/0.8647, allocations: 3.19 MB / 0.7624 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.569e-05/0.8647, allocations: 31.94 kB / 0.7624 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.477e-06/0.8647, allocations: 3.953 kB / 0.7624 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.626e-05/0.8648, allocations: 11.95 kB / 0.7624 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00779/0.8726, allocations: 5.507 MB / 0.7678 GB, free: 9.695 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.8726, allocations: 1.859 kB / 0.7678 GB, free: 9.695 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002053/0.8747, allocations: 462.6 kB / 0.7682 GB, free: 9.266 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002255/0.8749, allocations: 94 kB / 0.7683 GB, free: 9.164 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001408/0.8751, allocations: 63.92 kB / 0.7684 GB, free: 9.102 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003247/0.8783, allocations: 5.25 MB / 0.7735 GB, free: 3.344 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.8783, allocations: 4.031 kB / 0.7735 GB, free: 3.34 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006058/0.8844, allocations: 4.3 MB / 0.7777 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/0.8855, allocations: 0.5296 MB / 0.7782 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003475/0.8859, allocations: 48 kB / 0.7783 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001509/0.8874, allocations: 155.7 kB / 0.7784 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002755/0.8877, allocations: 164.3 kB / 0.7786 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001643/0.8879, allocations: 79.95 kB / 0.7787 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001021/0.8889, allocations: 0.7781 MB / 0.7794 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8889, allocations: 4 kB / 0.7794 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002131/0.891, allocations: 0.8318 MB / 0.7802 GB, free: 12.27 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 14 (volEas.dynBal.medium.p,volEas.dynBal.medium.T,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.p,volOut.dynBal.medium.T,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.p,volTop.dynBal.medium.T,volWes.dynBal.medium.p,volWes.dynBal.medium.T) * 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 (257): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001078/0.8921, allocations: 0.6758 MB / 0.7809 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003857/0.896, allocations: 2.715 MB / 0.7836 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.896, allocations: 0 / 0.7836 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002129/0.8981, allocations: 1.754 MB / 0.7853 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003786/0.9019, allocations: 0.8938 MB / 0.7861 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008262/0.9102, allocations: 5.864 MB / 0.7919 GB, free: 332 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/0.9113, allocations: 1.574 MB / 0.7934 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002181/0.9135, allocations: 0.6268 MB / 0.794 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005939/0.9141, allocations: 205.9 kB / 0.7942 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of SimCode: time 7.52e-07/0.9141, allocations: 0 / 0.7942 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of Templates: time 0.06383/0.9779, allocations: 42.66 MB / 0.8359 GB, free: 3.699 MB / 0.6075 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) Environment - environmentSimulation: