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.006667/0.006667, allocations: 101.8 kB / 15.73 MB, free: 6 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.001341/0.001341, allocations: 196 kB / 16.68 MB, free: 5.926 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.456/1.456, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.5758/0.5758, allocations: 95.47 MB / 365.4 MB, free: 9.785 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.0014/0.0014, allocations: 74.09 kB / 0.5036 GB, free: 13.49 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1515, allocations: 69.09 MB / 0.5711 GB, free: 8.336 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.582/0.7336, allocations: 210.9 MB / 0.7771 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02442/0.758, allocations: 15.69 MB / 0.7924 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003769/0.7619, allocations: 59.69 kB / 0.7924 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004086/0.766, allocations: 1.145 MB / 0.7935 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01076/0.7768, allocations: 3.015 MB / 0.7965 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.007128/0.7839, allocations: 2.103 MB / 0.7985 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.009445/0.7934, allocations: 6.167 MB / 0.8046 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003805/0.7972, allocations: 2.076 MB / 0.8066 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006266/0.8035, allocations: 2.406 MB / 0.8089 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004935/0.8085, allocations: 2.492 MB / 0.8114 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001082/0.8096, allocations: 248 kB / 0.8116 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006145/0.8158, allocations: 2.129 MB / 0.8137 GB, free: 5.789 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001463/0.8172, allocations: 0.6931 MB / 0.8144 GB, free: 5.094 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.003559/0.8208, allocations: 1.354 MB / 0.8157 GB, free: 3.734 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.008572/0.8294, allocations: 3.864 MB / 0.8195 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.8295, allocations: 0 / 0.8195 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.905e-06/0.8295, allocations: 7.938 kB / 0.8195 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001545/0.8296, allocations: 0 / 0.8195 GB, free: 15.86 MB / 0.6387 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.009076/0.8387, allocations: 2.875 MB / 0.8223 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.118e-05/0.8388, allocations: 11.98 kB / 0.8223 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/0.8403, allocations: 266 kB / 0.8225 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004147/0.8444, allocations: 1.475 MB / 0.824 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.8446, allocations: 143.6 kB / 0.8241 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005809/0.8452, allocations: 187.9 kB / 0.8243 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005363/0.8506, allocations: 2.193 MB / 0.8264 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.429e-05/0.8507, allocations: 0 / 0.8264 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003206/0.851, allocations: 80 kB / 0.8265 GB, free: 8.469 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-05/0.8511, allocations: 47.98 kB / 0.8266 GB, free: 8.422 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00454/0.8556, allocations: 2.153 MB / 0.8287 GB, free: 6.266 MB / 0.6387 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.01421/0.8698, allocations: 8.316 MB / 0.8368 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003704/0.8736, allocations: 2.244 MB / 0.839 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002463/0.8761, allocations: 1.375 MB / 0.8403 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002943/0.879, allocations: 3.267 MB / 0.8435 GB, free: 5.723 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.609e-05/0.8791, allocations: 56.56 kB / 0.8436 GB, free: 5.66 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=215): time 6.262e-06/0.8791, allocations: 4 kB / 0.8436 GB, free: 5.656 MB / 0.6544 GB Notification: Performance of matching and sorting (n=235): time 0.01952/0.8987, allocations: 7.301 MB / 0.8507 GB, free: 14.25 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.8988, allocations: 85.34 kB / 0.8508 GB, free: 14.16 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002047/0.9008, allocations: 1.13 MB / 0.8519 GB, free: 13.02 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001842/0.901, allocations: 69.7 kB / 0.852 GB, free: 12.95 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006048/0.9016, allocations: 0.7215 MB / 0.8527 GB, free: 12.21 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008236/0.9025, allocations: 0.793 MB / 0.8534 GB, free: 11.41 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007022/0.9032, allocations: 359.9 kB / 0.8538 GB, free: 11.05 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.9033, allocations: 305.1 kB / 0.8541 GB, free: 10.75 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/0.9051, allocations: 0.8436 MB / 0.8549 GB, free: 9.902 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002034/0.9071, allocations: 1.116 MB / 0.856 GB, free: 8.707 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003596/0.9107, allocations: 2.097 MB / 0.858 GB, free: 6.539 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.9108, allocations: 4 kB / 0.858 GB, free: 6.535 MB / 0.67 GB Notification: Performance of matching and sorting (n=272) (initialization): time 0.005446/0.9162, allocations: 2.807 MB / 0.8608 GB, free: 3.633 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/0.9163, allocations: 8 kB / 0.8608 GB, free: 3.625 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/0.9163, allocations: 8 kB / 0.8608 GB, free: 3.617 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003177/0.9166, allocations: 95.52 kB / 0.8609 GB, free: 3.512 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002178/0.9188, allocations: 499.3 kB / 0.8614 GB, free: 3.023 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005228/0.9241, allocations: 5.628 MB / 0.8668 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002061/0.9262, allocations: 51.94 kB / 0.8669 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003324/0.9265, allocations: 83.97 kB / 0.867 GB, free: 12.7 MB / 0.6856 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.001318/0.9278, allocations: 465.2 kB / 0.8674 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009595/0.9288, allocations: 185.8 kB / 0.8676 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006587/0.9354, allocations: 3.203 MB / 0.8707 GB, free: 8.711 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.852e-05/0.9355, allocations: 31.98 kB / 0.8708 GB, free: 8.68 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.486e-05/0.9355, allocations: 0 / 0.8708 GB, free: 8.68 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.498e-05/0.9355, allocations: 11.95 kB / 0.8708 GB, free: 8.668 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009919/0.9454, allocations: 5.536 MB / 0.8762 GB, free: 2.922 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/0.9455, allocations: 0 / 0.8762 GB, free: 2.922 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002244/0.9477, allocations: 459.4 kB / 0.8766 GB, free: 2.473 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002724/0.948, allocations: 95.38 kB / 0.8767 GB, free: 2.367 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000221/0.9483, allocations: 63.97 kB / 0.8768 GB, free: 2.305 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004258/0.9525, allocations: 5.616 MB / 0.8823 GB, free: 12.13 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.9526, allocations: 0 / 0.8823 GB, free: 12.13 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00831/0.9609, allocations: 4.349 MB / 0.8865 GB, free: 7.617 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001585/0.9625, allocations: 490.5 kB / 0.887 GB, free: 7.117 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005374/0.963, allocations: 48 kB / 0.887 GB, free: 7.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001712/0.9648, allocations: 59.98 kB / 0.8871 GB, free: 7.012 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003585/0.9651, allocations: 161.8 kB / 0.8872 GB, free: 6.852 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002739/0.9654, allocations: 79.97 kB / 0.8873 GB, free: 6.773 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001524/0.9669, allocations: 0.7781 MB / 0.8881 GB, free: 5.992 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.5e-07/0.967, allocations: 0 / 0.8881 GB, free: 5.992 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002812/0.9698, allocations: 0.8435 MB / 0.8889 GB, free: 5.148 MB / 0.7012 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.001619/0.9714, allocations: 0.7104 MB / 0.8896 GB, free: 4.434 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004834/0.9763, allocations: 2.76 MB / 0.8923 GB, free: 1.594 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.9763, allocations: 4.062 kB / 0.8923 GB, free: 1.59 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.3267/1.303, allocations: 1.764 MB / 0.894 GB, free: 266.3 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004724/1.308, allocations: 0.9984 MB / 0.895 GB, free: 266.3 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008595/1.316, allocations: 4.867 MB / 0.8997 GB, free: 264.8 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/1.318, allocations: 1.541 MB / 0.9012 GB, free: 264.1 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.002504/1.32, allocations: 0.6252 MB / 0.9018 GB, free: 263.9 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006587/1.321, allocations: 211.3 kB / 0.902 GB, free: 263.9 MB / 0.7012 GB Notification: Performance of SimCode: time 8.82e-07/1.321, allocations: 0 / 0.902 GB, free: 263.9 MB / 0.7012 GB Notification: Performance of Templates: time 0.07021/1.391, allocations: 46.21 MB / 0.9472 GB, free: 236.2 MB / 0.7012 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)