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.001287/0.001287, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.61/1.61, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.6207/0.6207, allocations: 95.48 MB / 365.2 MB, free: 9.887 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.001505/0.001505, allocations: 71.89 kB / 445.3 MB, free: 9.621 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3342, allocations: 69.07 MB / 0.5024 GB, free: 17.38 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.5765/0.9107, allocations: 210.9 MB / 0.7083 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02448/0.9353, allocations: 15.68 MB / 0.7236 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004551/0.9399, allocations: 60.31 kB / 0.7237 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004114/0.944, allocations: 1.145 MB / 0.7248 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01016/0.9542, allocations: 3.014 MB / 0.7278 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00752/0.9618, allocations: 2.105 MB / 0.7298 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01039/0.9722, allocations: 6.161 MB / 0.7358 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004703/0.9769, allocations: 2.077 MB / 0.7379 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007075/0.984, allocations: 2.397 MB / 0.7402 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005854/0.9899, allocations: 2.492 MB / 0.7426 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001322/0.9912, allocations: 252 kB / 0.7429 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007495/0.9988, allocations: 2.129 MB / 0.7449 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001581/1, allocations: 0.6932 MB / 0.7456 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003727/1.004, allocations: 1.357 MB / 0.747 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008641/1.013, allocations: 3.844 MB / 0.7507 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/1.013, allocations: 0 / 0.7507 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.874e-06/1.013, allocations: 0 / 0.7507 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001454/1.013, allocations: 0 / 0.7507 GB, free: 12.13 MB / 0.5294 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.00822/1.021, allocations: 2.856 MB / 0.7535 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/1.021, allocations: 19.98 kB / 0.7535 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001335/1.023, allocations: 265.9 kB / 0.7538 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003441/1.026, allocations: 1.417 MB / 0.7552 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001556/1.026, allocations: 139.7 kB / 0.7553 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004971/1.027, allocations: 180 kB / 0.7555 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005445/1.032, allocations: 2.193 MB / 0.7576 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-05/1.032, allocations: 3.938 kB / 0.7576 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000346/1.033, allocations: 76 kB / 0.7577 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.027e-05/1.033, allocations: 52 kB / 0.7577 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004585/1.037, allocations: 2.149 MB / 0.7598 GB, free: 2.625 MB / 0.5294 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.01337/1.051, allocations: 8.378 MB / 0.768 GB, free: 9.664 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003401/1.054, allocations: 2.246 MB / 0.7702 GB, free: 7.367 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002341/1.056, allocations: 1.336 MB / 0.7715 GB, free: 6.039 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003103/1.06, allocations: 3.274 MB / 0.7747 GB, free: 2.047 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.15e-05/1.06, allocations: 56.56 kB / 0.7748 GB, free: 1.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=215): time 6.082e-06/1.06, allocations: 0 / 0.7748 GB, free: 1.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=235): time 0.02014/1.08, allocations: 7.305 MB / 0.7819 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/1.08, allocations: 73.41 kB / 0.782 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002026/1.082, allocations: 1.137 MB / 0.7831 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002296/1.082, allocations: 69.7 kB / 0.7831 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006288/1.083, allocations: 0.7215 MB / 0.7838 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008442/1.084, allocations: 0.8007 MB / 0.7846 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006737/1.084, allocations: 355.9 kB / 0.785 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001094/1.085, allocations: 305.1 kB / 0.7853 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/1.086, allocations: 0.8475 MB / 0.7861 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001815/1.088, allocations: 1.112 MB / 0.7872 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003594/1.092, allocations: 2.104 MB / 0.7892 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/1.092, allocations: 0 / 0.7892 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of matching and sorting (n=272) (initialization): time 0.004837/1.096, allocations: 2.799 MB / 0.792 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/1.096, allocations: 8 kB / 0.792 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/1.097, allocations: 4 kB / 0.792 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002966/1.097, allocations: 107.4 kB / 0.7921 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002151/1.099, allocations: 495.4 kB / 0.7925 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00514/1.104, allocations: 5.631 MB / 0.798 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002325/1.106, allocations: 51.98 kB / 0.7981 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005589/1.107, allocations: 87.97 kB / 0.7982 GB, free: 9.016 MB / 0.5762 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 (268): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001526/1.109, allocations: 471.7 kB / 0.7986 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008762/1.11, allocations: 185.8 kB / 0.7988 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00625/1.116, allocations: 3.203 MB / 0.8019 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.971e-05/1.116, allocations: 31.98 kB / 0.802 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/1.116, allocations: 0 / 0.802 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.517e-05/1.116, allocations: 11.95 kB / 0.802 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009043/1.125, allocations: 5.533 MB / 0.8074 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/1.125, allocations: 4 kB / 0.8074 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002197/1.127, allocations: 467.4 kB / 0.8078 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000269/1.127, allocations: 95.31 kB / 0.8079 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002066/1.128, allocations: 63.97 kB / 0.808 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003682/1.131, allocations: 5.62 MB / 0.8135 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.131, allocations: 0 / 0.8135 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007016/1.138, allocations: 4.337 MB / 0.8177 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/1.14, allocations: 498.5 kB / 0.8182 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004607/1.14, allocations: 48 kB / 0.8182 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/1.142, allocations: 51.98 kB / 0.8183 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003226/1.142, allocations: 165.8 kB / 0.8184 GB, free: 3.141 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000212/1.142, allocations: 79.95 kB / 0.8185 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001311/1.143, allocations: 0.782 MB / 0.8193 GB, free: 2.277 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/1.143, allocations: 0 / 0.8193 GB, free: 2.277 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002989/1.146, allocations: 0.8474 MB / 0.8201 GB, free: 1.43 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002049/1.149, allocations: 0.7007 MB / 0.8208 GB, free: 0.7188 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01637/1.165, allocations: 4.293 MB / 0.825 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/1.165, allocations: 0 / 0.825 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004252/1.169, allocations: 1.765 MB / 0.8267 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006964/1.176, allocations: 1.006 MB / 0.8277 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01354/1.19, allocations: 4.925 MB / 0.8325 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001882/1.192, allocations: 1.531 MB / 0.834 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.004441/1.196, allocations: 0.6242 MB / 0.8346 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/1.197, allocations: 203.3 kB / 0.8348 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of SimCode: time 1.353e-06/1.197, allocations: 0 / 0.8348 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of Templates: time 0.3454/1.543, allocations: 46.22 MB / 0.8799 GB, free: 261.4 MB / 0.6387 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (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)