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.01019/0.01019, allocations: 106 kB / 15.74 MB, free: 5.992 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.001711/0.001711, allocations: 196 kB / 16.67 MB, free: 5.914 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.573/1.573, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002334/0.002334, allocations: 289.5 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9934/0.9934, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 100.1 kB / 0.6814 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6424/0.6445, allocations: 86.98 MB / 0.7664 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.082/1.726, allocations: 295.1 MB / 1.055 GB, free: 484 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03488/1.761, allocations: 17.01 MB / 1.071 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007966/1.769, allocations: 80.91 kB / 1.071 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.007986/1.778, allocations: 1.892 MB / 1.073 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.02457/1.802, allocations: 6.436 MB / 1.079 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01088/1.813, allocations: 2.936 MB / 1.082 GB, free: 9.078 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01426/1.827, allocations: 7.711 MB / 1.09 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00499/1.832, allocations: 2.596 MB / 1.092 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008524/1.841, allocations: 2.807 MB / 1.095 GB, free: 328 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007249/1.848, allocations: 2.7 MB / 1.098 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001638/1.85, allocations: 326.3 kB / 1.098 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01848/1.869, allocations: 6.174 MB / 1.104 GB, free: 8.227 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.003128/1.872, allocations: 1.337 MB / 1.105 GB, free: 6.902 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.005573/1.877, allocations: 1.877 MB / 1.107 GB, free: 5.035 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01979/1.897, allocations: 6.892 MB / 1.114 GB, free: 14.49 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/1.897, allocations: 0 / 1.114 GB, free: 14.49 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.435e-06/1.897, allocations: 0 / 1.114 GB, free: 14.49 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001964/1.897, allocations: 4 kB / 1.114 GB, free: 14.48 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.01381/1.911, allocations: 4.124 MB / 1.118 GB, free: 10.32 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/1.911, allocations: 12.03 kB / 1.118 GB, free: 10.31 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006987/1.918, allocations: 0.9261 MB / 1.119 GB, free: 9.387 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005242/1.924, allocations: 1.912 MB / 1.121 GB, free: 7.453 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001733/1.924, allocations: 199.8 kB / 1.121 GB, free: 7.258 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006401/1.924, allocations: 263.6 kB / 1.121 GB, free: 7.004 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006238/1.931, allocations: 3.329 MB / 1.124 GB, free: 3.582 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.626e-05/1.931, allocations: 4 kB / 1.124 GB, free: 3.578 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002925/1.931, allocations: 107.4 kB / 1.125 GB, free: 3.477 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001752/1.931, allocations: 137 kB / 1.125 GB, free: 3.34 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006352/1.938, allocations: 3.502 MB / 1.128 GB, free: 15.82 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.01945/1.957, allocations: 12.15 MB / 1.14 GB, free: 2.898 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0048/1.962, allocations: 3.505 MB / 1.143 GB, free: 15.33 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003034/1.965, allocations: 1.852 MB / 1.145 GB, free: 13.47 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001651/1.967, allocations: 1.495 MB / 1.147 GB, free: 11.67 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.612e-05/1.967, allocations: 64.75 kB / 1.147 GB, free: 11.6 MB / 0.795 GB Notification: Performance of pre-optimization done (n=278): time 4.448e-06/1.967, allocations: 0 / 1.147 GB, free: 11.6 MB / 0.795 GB Notification: Performance of matching and sorting (n=278): time 0.006899/1.974, allocations: 3.885 MB / 1.15 GB, free: 7.66 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/1.974, allocations: 85.58 kB / 1.151 GB, free: 7.562 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002196/1.976, allocations: 1.38 MB / 1.152 GB, free: 6.176 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.000235/1.976, allocations: 73.7 kB / 1.152 GB, free: 6.098 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007407/1.977, allocations: 0.9843 MB / 1.153 GB, free: 5.102 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009666/1.978, allocations: 0.9409 MB / 1.154 GB, free: 4.168 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006442/1.979, allocations: 408.9 kB / 1.154 GB, free: 3.762 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001178/1.979, allocations: 305.1 kB / 1.155 GB, free: 3.461 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001727/1.981, allocations: 1.094 MB / 1.156 GB, free: 2.363 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001878/1.982, allocations: 1.358 MB / 1.157 GB, free: 0.9375 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003953/1.986, allocations: 2.654 MB / 1.16 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/1.986, allocations: 0 / 1.16 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005087/1.991, allocations: 2.97 MB / 1.162 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/1.992, allocations: 8 kB / 1.162 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/1.992, allocations: 4 kB / 1.162 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.532e-05/1.992, allocations: 16 kB / 1.162 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002207/1.994, allocations: 0.511 MB / 1.163 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.078e-05/1.994, allocations: 15.98 kB / 1.163 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00265/1.997, allocations: 186 kB / 1.163 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001661/1.997, allocations: 88.05 kB / 1.163 GB, free: 10.35 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.001463/1.998, allocations: 0.6487 MB / 1.164 GB, free: 9.695 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007024/1.999, allocations: 233.2 kB / 1.164 GB, free: 9.465 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005097/2.004, allocations: 3.112 MB / 1.167 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.838e-05/2.004, allocations: 24 kB / 1.167 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/2.004, allocations: 4 kB / 1.167 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003865/2.008, allocations: 2.657 MB / 1.17 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01082/2.019, allocations: 6.214 MB / 1.176 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/2.019, allocations: 0 / 1.176 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002531/2.021, allocations: 0.5423 MB / 1.176 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.022e-05/2.021, allocations: 11.94 kB / 1.176 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001546/2.022, allocations: 63.92 kB / 1.176 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.516e-05/2.022, allocations: 12 kB / 1.176 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/2.022, allocations: 0 / 1.176 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006768/2.028, allocations: 4.569 MB / 1.181 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001661/2.03, allocations: 0.6148 MB / 1.181 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003254/2.03, allocations: 48 kB / 1.182 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001607/2.032, allocations: 70.81 kB / 1.182 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003221/2.032, allocations: 166 kB / 1.182 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001488/2.032, allocations: 79.97 kB / 1.182 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001316/2.034, allocations: 0.9462 MB / 1.183 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/2.034, allocations: 0 / 1.183 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002278/2.036, allocations: 0.9823 MB / 1.184 GB, free: 5.098 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.0006551/2.037, allocations: 366.3 kB / 1.184 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004396/2.041, allocations: 2.774 MB / 1.187 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/2.041, allocations: 7.938 kB / 1.187 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002126/2.043, allocations: 1.507 MB / 1.188 GB, free: 432 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00632/2.05, allocations: 1.348 MB / 1.19 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009483/2.059, allocations: 6.015 MB / 1.195 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001407/2.061, allocations: 1.903 MB / 1.197 GB, free: 7.109 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.003052/2.064, allocations: 0.8358 MB / 1.198 GB, free: 6.27 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006988/2.064, allocations: 207.4 kB / 1.198 GB, free: 6.07 MB / 0.8419 GB Notification: Performance of SimCode: time 1.012e-06/2.064, allocations: 4 kB / 1.198 GB, free: 6.066 MB / 0.8419 GB Notification: Performance of Templates: time 0.08208/2.146, allocations: 51 MB / 1.248 GB, free: 3.785 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)