Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.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.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 99.62 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.00148/0.00148, allocations: 177.3 kB / 15.95 MB, free: 216 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.303/1.303, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.5577/0.5577, allocations: 95.59 MB / 366 MB, free: 10.42 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.0005424/0.0005425, allocations: 20 kB / 446.8 MB, free: 9.434 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2698, allocations: 70.34 MB / 0.505 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.4265/0.6963, allocations: 188.7 MB / 0.6893 GB, free: 172 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0196/0.7159, allocations: 15.57 MB / 0.7045 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003832/0.7198, allocations: 100.4 kB / 0.7046 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.005053/0.7249, allocations: 1.275 MB / 0.7058 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01225/0.7372, allocations: 3.583 MB / 0.7093 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005496/0.7427, allocations: 1.886 MB / 0.7111 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006184/0.7489, allocations: 4.391 MB / 0.7154 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002766/0.7517, allocations: 2.095 MB / 0.7175 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0038/0.7555, allocations: 2.252 MB / 0.7197 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003616/0.7591, allocations: 2.171 MB / 0.7218 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006502/0.7598, allocations: 160 kB / 0.7219 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005362/0.7652, allocations: 1.914 MB / 0.7238 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008677/0.7661, allocations: 0.7071 MB / 0.7245 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001031/0.7671, allocations: 0.5946 MB / 0.7251 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003999/0.7711, allocations: 3.37 MB / 0.7284 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.7711, allocations: 0 / 0.7284 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7711, allocations: 0 / 0.7284 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.081e-05/0.7712, allocations: 0 / 0.7284 GB, free: 2.781 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: 615 * Number of variables: 615 Notification: Performance of Generate backend data structure: time 0.006334/0.7775, allocations: 3.139 MB / 0.7314 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.7776, allocations: 15.92 kB / 0.7315 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000913/0.7785, allocations: 328.4 kB / 0.7318 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002968/0.7815, allocations: 1.598 MB / 0.7333 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.7816, allocations: 178.9 kB / 0.7335 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003523/0.782, allocations: 259.9 kB / 0.7337 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00497/0.787, allocations: 2.92 MB / 0.7366 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.937e-05/0.787, allocations: 10.11 kB / 0.7366 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002664/0.7873, allocations: 99.38 kB / 0.7367 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.531e-05/0.7874, allocations: 60 kB / 0.7368 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005097/0.7925, allocations: 3.133 MB / 0.7398 GB, free: 9.539 MB / 0.5137 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.01436/0.8069, allocations: 10.41 MB / 0.75 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00426/0.8111, allocations: 3.353 MB / 0.7533 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002601/0.8138, allocations: 3.381 MB / 0.7566 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.105e-05/0.8138, allocations: 69 kB / 0.7566 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=309): time 4.559e-06/0.8138, allocations: 0 / 0.7566 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of matching and sorting (n=329): time 0.02027/0.8341, allocations: 9.577 MB / 0.766 GB, free: 13.2 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/0.8342, allocations: 111.7 kB / 0.7661 GB, free: 13.07 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001608/0.8358, allocations: 1.339 MB / 0.7674 GB, free: 11.73 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000241/0.8361, allocations: 81.7 kB / 0.7675 GB, free: 11.64 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005668/0.8367, allocations: 0.8561 MB / 0.7683 GB, free: 10.78 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008562/0.8375, allocations: 1.109 MB / 0.7694 GB, free: 9.652 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.8377, allocations: 60 kB / 0.7695 GB, free: 9.594 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.8379, allocations: 416 kB / 0.7698 GB, free: 9.18 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001918/0.8398, allocations: 1.195 MB / 0.771 GB, free: 7.984 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002238/0.8421, allocations: 1.554 MB / 0.7725 GB, free: 6.332 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002248/0.8443, allocations: 1.42 MB / 0.7739 GB, free: 4.902 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/0.8443, allocations: 6.484 kB / 0.7739 GB, free: 4.898 MB / 0.545 GB Notification: Performance of matching and sorting (n=374) (initialization): time 0.005841/0.8502, allocations: 3.733 MB / 0.7776 GB, free: 1.086 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.8502, allocations: 8 kB / 0.7776 GB, free: 1.078 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.8503, allocations: 11.95 kB / 0.7776 GB, free: 1.066 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000266/0.8505, allocations: 114.2 kB / 0.7777 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003076/0.8536, allocations: 0.64 MB / 0.7783 GB, free: 348 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003366/0.857, allocations: 5.274 MB / 0.7835 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002569/0.8596, allocations: 223.8 kB / 0.7837 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002668/0.8599, allocations: 108 kB / 0.7838 GB, free: 10.24 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (370): * Single equations (assignments): 366 * 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.0011/0.861, allocations: 0.5779 MB / 0.7844 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000389/0.8614, allocations: 241.2 kB / 0.7846 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006613/0.868, allocations: 4.496 MB / 0.789 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-05/0.8681, allocations: 40 kB / 0.789 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.8681, allocations: 4 kB / 0.789 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-05/0.8681, allocations: 19.92 kB / 0.789 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01081/0.8789, allocations: 7.266 MB / 0.7961 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.879, allocations: 160 / 0.7961 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002851/0.8818, allocations: 0.6179 MB / 0.7967 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002342/0.8821, allocations: 97.91 kB / 0.7968 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002502/0.8823, allocations: 79.97 kB / 0.7969 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003355/0.8857, allocations: 5.268 MB / 0.8021 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.8857, allocations: 11.97 kB / 0.8021 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008207/0.8939, allocations: 5.953 MB / 0.8079 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001519/0.8955, allocations: 0.6801 MB / 0.8085 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004014/0.8959, allocations: 68 kB / 0.8086 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001819/0.8977, allocations: 179.7 kB / 0.8088 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003584/0.8981, allocations: 221.1 kB / 0.809 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000215/0.8983, allocations: 115.9 kB / 0.8091 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001207/0.8995, allocations: 0.9213 MB / 0.81 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8995, allocations: 0 / 0.81 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002476/0.902, allocations: 1.05 MB / 0.811 GB, free: 13.36 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 16 (volBotEas.dynBal.medium.p,volBotEas.dynBal.medium.T,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.p,volBotWes.dynBal.medium.T,oriEasTop.mExc,volTopEas.dynBal.medium.p,volTopEas.dynBal.medium.T,volTopWes.dynBal.medium.p,volTopWes.dynBal.medium.T,dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * 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 (357): * Single equations (assignments): 347 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001225/0.9033, allocations: 0.7662 MB / 0.8118 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005166/0.9084, allocations: 3.676 MB / 0.8154 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.9085, allocations: 3.781 kB / 0.8154 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003051/0.9115, allocations: 2.268 MB / 0.8176 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00488/0.9164, allocations: 1.088 MB / 0.8186 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/0.9273, allocations: 7.476 MB / 0.8259 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/0.9285, allocations: 1.816 MB / 0.8277 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.003438/0.932, allocations: 0.9043 MB / 0.8286 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008563/0.9329, allocations: 269.8 kB / 0.8289 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of SimCode: time 7.31e-07/0.9329, allocations: 0 / 0.8289 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of Templates: time 0.3078/1.241, allocations: 52.31 MB / 0.8799 GB, free: 264.1 MB / 0.6387 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) Environment - environmentSimulation: