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.2002/0.2002, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.001908/0.001908, allocations: 197.7 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.852/2.852, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.04219/0.04219, allocations: 290.1 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 4.024/4.024, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.05519/0.05519, allocations: 99.84 kB / 0.6814 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.225, allocations: 86.96 MB / 0.7664 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.6426/0.8677, allocations: 295.1 MB / 1.055 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.03287/0.9007, allocations: 17.02 MB / 1.071 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005808/0.9065, allocations: 79.62 kB / 1.071 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.006344/0.9129, allocations: 1.892 MB / 1.073 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01837/0.9313, allocations: 6.433 MB / 1.079 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.008564/0.9399, allocations: 2.938 MB / 1.082 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01171/0.9517, allocations: 7.711 MB / 1.09 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005063/0.9568, allocations: 2.597 MB / 1.092 GB, free: 4.441 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007752/0.9646, allocations: 2.768 MB / 1.095 GB, free: 1.664 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.7043/1.669, allocations: 2.693 MB / 1.098 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001713/1.671, allocations: 326.5 kB / 1.098 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01638/1.687, allocations: 6.16 MB / 1.104 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.003393/1.69, allocations: 1.338 MB / 1.105 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.006027/1.697, allocations: 1.884 MB / 1.107 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0223/1.719, allocations: 6.911 MB / 1.114 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/1.719, allocations: 0 / 1.114 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.903e-06/1.719, allocations: 2.984 kB / 1.114 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002429/1.719, allocations: 0.9688 kB / 1.114 GB, free: 12.19 MB / 0.8419 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.01861/1.738, allocations: 4.234 MB / 1.118 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 9.026e-05/1.738, allocations: 10.09 kB / 1.118 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008156/1.746, allocations: 0.932 MB / 1.119 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006126/1.752, allocations: 1.937 MB / 1.121 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002208/1.753, allocations: 192.4 kB / 1.121 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009498/1.753, allocations: 264.1 kB / 1.121 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007875/1.761, allocations: 3.337 MB / 1.125 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.156e-05/1.761, allocations: 4.531 kB / 1.125 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003663/1.762, allocations: 107.5 kB / 1.125 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002147/1.762, allocations: 136.7 kB / 1.125 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007998/1.77, allocations: 3.499 MB / 1.128 GB, free: 9.398 MB / 0.8419 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.02206/1.792, allocations: 12.17 MB / 1.14 GB, free: 19.44 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005208/1.797, allocations: 3.505 MB / 1.143 GB, free: 18.88 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00305/1.8, allocations: 1.848 MB / 1.145 GB, free: 18.84 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001669/1.802, allocations: 1.489 MB / 1.147 GB, free: 17.24 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.4e-05/1.802, allocations: 68.94 kB / 1.147 GB, free: 17.2 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=278): time 3.897e-06/1.802, allocations: 0 / 1.147 GB, free: 17.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=278): time 0.007055/1.809, allocations: 3.9 MB / 1.151 GB, free: 16.94 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.544e-05/1.809, allocations: 83.19 kB / 1.151 GB, free: 16.87 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002246/1.812, allocations: 1.38 MB / 1.152 GB, free: 16.7 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002895/1.812, allocations: 75.73 kB / 1.152 GB, free: 16.67 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000653/1.813, allocations: 0.9972 MB / 1.153 GB, free: 16.27 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009416/1.814, allocations: 0.9957 MB / 1.154 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006354/1.814, allocations: 411.3 kB / 1.154 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001245/1.814, allocations: 302.1 kB / 1.155 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001717/1.816, allocations: 1.095 MB / 1.156 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001798/1.818, allocations: 1.359 MB / 1.157 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003681/1.822, allocations: 2.649 MB / 1.16 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/1.822, allocations: 2.438 kB / 1.16 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.00496/1.827, allocations: 2.987 MB / 1.163 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.648e-05/1.827, allocations: 10.16 kB / 1.163 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.467e-05/1.827, allocations: 7 kB / 1.163 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.248e-05/1.827, allocations: 13.41 kB / 1.163 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00204/1.829, allocations: 0.5106 MB / 1.163 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-05/1.829, allocations: 19.17 kB / 1.163 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002784/1.832, allocations: 187.9 kB / 1.163 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002004/1.832, allocations: 86.17 kB / 1.163 GB, free: 14.52 MB / 0.8575 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.001612/1.833, allocations: 0.6421 MB / 1.164 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007833/1.834, allocations: 244.8 kB / 1.164 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005153/1.839, allocations: 3.113 MB / 1.167 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.24e-05/1.84, allocations: 27.66 kB / 1.167 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/1.84, allocations: 0 / 1.167 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003631/1.843, allocations: 2.66 MB / 1.17 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01117/1.854, allocations: 6.21 MB / 1.176 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/1.854, allocations: 0 / 1.176 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00251/1.857, allocations: 0.5466 MB / 1.177 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.336e-05/1.857, allocations: 9.781 kB / 1.177 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002571/1.857, allocations: 57.8 kB / 1.177 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.681e-05/1.857, allocations: 14.45 kB / 1.177 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/1.857, allocations: 1.031 kB / 1.177 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008014/1.865, allocations: 4.588 MB / 1.181 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0022/1.868, allocations: 0.6169 MB / 1.182 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009518/1.869, allocations: 51.47 kB / 1.182 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002674/1.871, allocations: 71.97 kB / 1.182 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003499/1.872, allocations: 159.8 kB / 1.182 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002126/1.872, allocations: 89.59 kB / 1.182 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002029/1.874, allocations: 0.9421 MB / 1.183 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.41e-07/1.874, allocations: 3.656 kB / 1.183 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.005097/1.879, allocations: 0.9865 MB / 1.184 GB, free: 12.44 MB / 0.8575 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.001109/1.88, allocations: 375.6 kB / 1.184 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.005013/1.885, allocations: 2.776 MB / 1.187 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/1.885, allocations: 3.5 kB / 1.187 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002226/1.887, allocations: 1.51 MB / 1.189 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007515/1.895, allocations: 1.35 MB / 1.19 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/1.905, allocations: 6.089 MB / 1.196 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001512/1.907, allocations: 1.902 MB / 1.198 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.003797/1.911, allocations: 0.8421 MB / 1.198 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008712/1.911, allocations: 208.2 kB / 1.199 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of SimCode: time 9.31e-07/1.911, allocations: 0.9062 kB / 1.199 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of Templates: time 0.09067/2.002, allocations: 50.25 MB / 1.248 GB, free: 9.148 MB / 0.9044 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)