Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001394/0.001394, allocations: 105.9 kB / 16.41 MB, free: 6.008 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.001244/0.001244, allocations: 188.3 kB / 17.34 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002241/0.002242, allocations: 281.7 kB / 291.5 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.044/1.044, allocations: 169.2 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 91.86 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5091/0.511, allocations: 86.98 MB / 0.767 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.7612/1.272, allocations: 295.1 MB / 1.055 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02469/1.297, allocations: 17.01 MB / 1.072 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004737/1.302, allocations: 81.66 kB / 1.072 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005492/1.307, allocations: 1.894 MB / 1.074 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01822/1.325, allocations: 6.434 MB / 1.08 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.008801/1.334, allocations: 2.941 MB / 1.083 GB, free: 9.066 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01136/1.346, allocations: 7.707 MB / 1.09 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005178/1.351, allocations: 2.59 MB / 1.093 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006226/1.357, allocations: 2.814 MB / 1.096 GB, free: 324 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007425/1.365, allocations: 2.7 MB / 1.098 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001905/1.366, allocations: 328 kB / 1.099 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0188/1.385, allocations: 6.165 MB / 1.105 GB, free: 8.219 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.003192/1.389, allocations: 1.331 MB / 1.106 GB, free: 6.902 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.005103/1.394, allocations: 1.883 MB / 1.108 GB, free: 5.027 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01601/1.41, allocations: 6.896 MB / 1.115 GB, free: 14.48 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/1.41, allocations: 4 kB / 1.115 GB, free: 14.47 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.523e-06/1.41, allocations: 0 / 1.115 GB, free: 14.47 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001768/1.41, allocations: 0 / 1.115 GB, free: 14.47 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01292/1.423, allocations: 4.124 MB / 1.119 GB, free: 10.31 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/1.423, allocations: 8.031 kB / 1.119 GB, free: 10.3 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006834/1.43, allocations: 0.925 MB / 1.12 GB, free: 9.379 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005094/1.435, allocations: 1.917 MB / 1.121 GB, free: 7.441 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002022/1.435, allocations: 192.6 kB / 1.122 GB, free: 7.254 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007985/1.436, allocations: 267.2 kB / 1.122 GB, free: 6.996 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006935/1.443, allocations: 3.332 MB / 1.125 GB, free: 3.57 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.96e-05/1.443, allocations: 0 / 1.125 GB, free: 3.57 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003869/1.443, allocations: 106.2 kB / 1.125 GB, free: 3.469 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001573/1.444, allocations: 141 kB / 1.125 GB, free: 3.328 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006671/1.45, allocations: 3.502 MB / 1.129 GB, free: 15.81 MB / 0.7794 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.02227/1.473, allocations: 12.15 MB / 1.141 GB, free: 2.891 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00637/1.479, allocations: 3.506 MB / 1.144 GB, free: 15.31 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003572/1.483, allocations: 1.855 MB / 1.146 GB, free: 13.46 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001976/1.485, allocations: 1.484 MB / 1.147 GB, free: 11.66 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.165e-05/1.485, allocations: 64.73 kB / 1.147 GB, free: 11.59 MB / 0.795 GB Notification: Performance of pre-optimization done (n=278): time 5.691e-06/1.485, allocations: 4 kB / 1.147 GB, free: 11.59 MB / 0.795 GB Notification: Performance of matching and sorting (n=278): time 0.008419/1.493, allocations: 3.881 MB / 1.151 GB, free: 7.652 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/1.493, allocations: 81.59 kB / 1.151 GB, free: 7.559 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002755/1.496, allocations: 1.383 MB / 1.153 GB, free: 6.168 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002384/1.496, allocations: 73.7 kB / 1.153 GB, free: 6.09 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008183/1.497, allocations: 0.9852 MB / 1.154 GB, free: 5.094 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0011/1.498, allocations: 0.9466 MB / 1.155 GB, free: 4.156 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00076/1.499, allocations: 404.9 kB / 1.155 GB, free: 3.754 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001186/1.499, allocations: 305.1 kB / 1.155 GB, free: 3.453 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001962/1.501, allocations: 1.094 MB / 1.156 GB, free: 2.355 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002116/1.503, allocations: 1.359 MB / 1.158 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004458/1.508, allocations: 2.65 MB / 1.16 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.401e-05/1.508, allocations: 0 / 1.16 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005626/1.513, allocations: 2.974 MB / 1.163 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/1.513, allocations: 8 kB / 1.163 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/1.513, allocations: 4 kB / 1.163 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.766e-05/1.514, allocations: 16 kB / 1.163 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002244/1.516, allocations: 0.5071 MB / 1.164 GB, free: 10.63 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.665e-05/1.516, allocations: 16 kB / 1.164 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002536/1.518, allocations: 198.1 kB / 1.164 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002122/1.519, allocations: 80 kB / 1.164 GB, free: 10.34 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (311): * Single equations (assignments): 311 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00161/1.52, allocations: 0.6479 MB / 1.165 GB, free: 9.688 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008315/1.521, allocations: 233.2 kB / 1.165 GB, free: 9.457 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005845/1.527, allocations: 3.116 MB / 1.168 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-05/1.527, allocations: 24 kB / 1.168 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/1.527, allocations: 3.938 kB / 1.168 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004268/1.531, allocations: 2.657 MB / 1.17 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.011/1.542, allocations: 6.217 MB / 1.176 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/1.542, allocations: 0 / 1.176 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002552/1.545, allocations: 0.5423 MB / 1.177 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-05/1.545, allocations: 19.88 kB / 1.177 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002002/1.545, allocations: 59.98 kB / 1.177 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.787e-05/1.545, allocations: 12 kB / 1.177 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.545, allocations: 0 / 1.177 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007021/1.552, allocations: 4.562 MB / 1.182 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00165/1.554, allocations: 0.6187 MB / 1.182 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005052/1.554, allocations: 48 kB / 1.182 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001948/1.556, allocations: 70.81 kB / 1.182 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003439/1.557, allocations: 166 kB / 1.182 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001947/1.557, allocations: 79.97 kB / 1.183 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001636/1.559, allocations: 0.9461 MB / 1.183 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.31e-07/1.559, allocations: 0 / 1.183 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002635/1.561, allocations: 0.9784 MB / 1.184 GB, free: 5.09 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m) * 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 (278): * Single equations (assignments): 278 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006964/1.562, allocations: 365.3 kB / 1.185 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00474/1.567, allocations: 2.774 MB / 1.187 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.567, allocations: 0 / 1.187 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00229/1.569, allocations: 1.507 MB / 1.189 GB, free: 432 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006651/1.576, allocations: 1.356 MB / 1.19 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/1.586, allocations: 6.15 MB / 1.196 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001922/1.588, allocations: 1.899 MB / 1.198 GB, free: 6.961 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001305/1.59, allocations: 231.4 kB / 1.198 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of SimCode: time 1.122e-06/1.59, allocations: 0 / 1.198 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of Templates: time 0.06491/1.655, allocations: 43.51 MB / 1.241 GB, free: 11.49 MB / 0.8887 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)