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.001218/0.001218, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001843/0.001843, allocations: 168.7 kB / 15.95 MB, free: 204 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.827/1.827, allocations: 205.4 MB / 222.1 MB, free: 5.352 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.6621/0.6621, allocations: 95.62 MB / 366 MB, free: 10.26 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.0006761/0.0006763, allocations: 12.22 kB / 446.9 MB, free: 9.258 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4879/0.4886, allocations: 70.33 MB / 0.5051 GB, free: 16.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6621/1.151, allocations: 204.6 MB / 0.7049 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0361/1.187, allocations: 16.89 MB / 0.7214 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007172/1.194, allocations: 100.1 kB / 0.7215 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.006368/1.201, allocations: 1.04 MB / 0.7225 GB, free: 9.781 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01429/1.215, allocations: 3.197 MB / 0.7256 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007754/1.223, allocations: 1.783 MB / 0.7274 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01621/1.239, allocations: 8.848 MB / 0.736 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006731/1.246, allocations: 2.065 MB / 0.738 GB, free: 60 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009029/1.255, allocations: 2.553 MB / 0.7405 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00759/1.262, allocations: 2.947 MB / 0.7434 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001081/1.264, allocations: 164 kB / 0.7436 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007324/1.271, allocations: 1.809 MB / 0.7453 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001494/1.272, allocations: 0.7553 MB / 0.7461 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001861/1.274, allocations: 0.594 MB / 0.7467 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006483/1.281, allocations: 3.402 MB / 0.75 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/1.281, allocations: 0 / 0.75 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.234e-06/1.281, allocations: 0 / 0.75 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001242/1.281, allocations: 0 / 0.75 GB, free: 3.805 MB / 0.5137 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.008358/1.289, allocations: 3.14 MB / 0.753 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/1.289, allocations: 11.98 kB / 0.7531 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/1.291, allocations: 336.4 kB / 0.7534 GB, free: 264 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003633/1.294, allocations: 1.672 MB / 0.755 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/1.295, allocations: 176.8 kB / 0.7552 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003815/1.295, allocations: 247.8 kB / 0.7554 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005443/1.3, allocations: 2.948 MB / 0.7583 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.254e-05/1.3, allocations: 7.938 kB / 0.7583 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002476/1.301, allocations: 96 kB / 0.7584 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.015e-05/1.301, allocations: 63.95 kB / 0.7584 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005648/1.306, allocations: 3.134 MB / 0.7615 GB, free: 7.75 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.01724/1.324, allocations: 10.36 MB / 0.7716 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005206/1.329, allocations: 3.346 MB / 0.7749 GB, free: 9.301 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003129/1.332, allocations: 1.811 MB / 0.7767 GB, free: 7.484 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003061/1.335, allocations: 3.377 MB / 0.78 GB, free: 3.367 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.091e-05/1.335, allocations: 80.94 kB / 0.78 GB, free: 3.277 MB / 0.545 GB Notification: Performance of pre-optimization done (n=309): time 5.3e-06/1.335, allocations: 0 / 0.78 GB, free: 3.277 MB / 0.545 GB Notification: Performance of matching and sorting (n=329): time 0.0233/1.359, allocations: 9.597 MB / 0.7894 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/1.359, allocations: 111.7 kB / 0.7895 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002702/1.362, allocations: 1.294 MB / 0.7908 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004129/1.362, allocations: 81.7 kB / 0.7909 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009573/1.363, allocations: 0.8678 MB / 0.7917 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001432/1.364, allocations: 1.105 MB / 0.7928 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/1.365, allocations: 60 kB / 0.7928 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002273/1.365, allocations: 420 kB / 0.7932 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002064/1.367, allocations: 1.193 MB / 0.7944 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002451/1.369, allocations: 1.571 MB / 0.7959 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002369/1.372, allocations: 1.423 MB / 0.7973 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/1.372, allocations: 4 kB / 0.7973 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of matching and sorting (n=374) (initialization): time 0.006675/1.378, allocations: 3.74 MB / 0.801 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.419e-05/1.379, allocations: 13.97 kB / 0.801 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.716e-05/1.379, allocations: 4 kB / 0.801 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003287/1.379, allocations: 111.6 kB / 0.8011 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003169/1.382, allocations: 0.6475 MB / 0.8017 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004583/1.387, allocations: 5.237 MB / 0.8069 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004603/1.391, allocations: 227.6 kB / 0.8071 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001118/1.392, allocations: 108 kB / 0.8072 GB, free: 6.457 MB / 0.5762 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.003629/1.396, allocations: 0.5713 MB / 0.8077 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001885/1.398, allocations: 237.2 kB / 0.808 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01304/1.411, allocations: 4.509 MB / 0.8124 GB, free: 1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.15e-05/1.411, allocations: 36 kB / 0.8124 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.487e-05/1.411, allocations: 0 / 0.8124 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.02e-05/1.411, allocations: 23.88 kB / 0.8124 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01623/1.428, allocations: 7.255 MB / 0.8195 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.855e-05/1.428, allocations: 4.109 kB / 0.8195 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002999/1.431, allocations: 0.6164 MB / 0.8201 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003257/1.431, allocations: 99.31 kB / 0.8202 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003636/1.431, allocations: 79.97 kB / 0.8203 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004481/1.436, allocations: 5.233 MB / 0.8254 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/1.436, allocations: 4.031 kB / 0.8254 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01054/1.446, allocations: 5.888 MB / 0.8312 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001847/1.448, allocations: 0.6656 MB / 0.8318 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000657/1.449, allocations: 64 kB / 0.8319 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002208/1.451, allocations: 187.6 kB / 0.832 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004088/1.452, allocations: 218.5 kB / 0.8322 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002994/1.452, allocations: 112 kB / 0.8324 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001644/1.454, allocations: 0.894 MB / 0.8332 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4e-07/1.454, allocations: 4 kB / 0.8332 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00362/1.457, allocations: 1.047 MB / 0.8343 GB, free: 9.625 MB / 0.6075 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.00172/1.459, allocations: 0.7321 MB / 0.835 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.006172/1.465, allocations: 3.68 MB / 0.8386 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/1.465, allocations: 3.781 kB / 0.8386 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003411/1.469, allocations: 2.276 MB / 0.8408 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005999/1.475, allocations: 1.132 MB / 0.8419 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01384/1.488, allocations: 7.507 MB / 0.8492 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002313/1.491, allocations: 1.762 MB / 0.8509 GB, free: 8.32 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.006363/1.497, allocations: 0.9064 MB / 0.8518 GB, free: 7.41 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001745/1.499, allocations: 271.3 kB / 0.8521 GB, free: 7.145 MB / 0.6231 GB Notification: Performance of SimCode: time 1.533e-06/1.499, allocations: 0 / 0.8521 GB, free: 7.145 MB / 0.6231 GB Notification: Performance of Templates: time 0.4258/1.925, allocations: 51.81 MB / 0.9027 GB, free: 253.3 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: