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.001652/0.001652, allocations: 112.4 kB / 16.41 MB, free: 6.516 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.001996/0.001996, allocations: 185.2 kB / 17.34 MB, free: 5.738 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.593/1.593, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002681/0.002681, allocations: 294.9 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.018/1.018, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002798/0.002798, allocations: 104.1 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4923/0.4951, allocations: 86.97 MB / 0.767 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.8697/1.365, allocations: 295.8 MB / 1.056 GB, free: 476 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02827/1.393, allocations: 17.03 MB / 1.073 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005172/1.398, allocations: 83.94 kB / 1.073 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005937/1.404, allocations: 1.995 MB / 1.075 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.02127/1.425, allocations: 6.629 MB / 1.081 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.009004/1.434, allocations: 2.971 MB / 1.084 GB, free: 8.68 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01326/1.448, allocations: 7.714 MB / 1.091 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004452/1.452, allocations: 2.167 MB / 1.094 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00689/1.459, allocations: 2.846 MB / 1.096 GB, free: 276 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006279/1.465, allocations: 2.71 MB / 1.099 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001243/1.467, allocations: 328 kB / 1.099 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01444/1.481, allocations: 6.193 MB / 1.105 GB, free: 8.098 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002438/1.483, allocations: 1.367 MB / 1.107 GB, free: 6.746 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.004635/1.488, allocations: 1.884 MB / 1.109 GB, free: 4.871 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01701/1.505, allocations: 6.918 MB / 1.115 GB, free: 14.3 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/1.505, allocations: 0 / 1.115 GB, free: 14.3 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.292e-06/1.505, allocations: 0 / 1.115 GB, free: 14.3 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001394/1.505, allocations: 0 / 1.115 GB, free: 14.3 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.01314/1.518, allocations: 4.235 MB / 1.119 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/1.518, allocations: 8.031 kB / 1.119 GB, free: 10.01 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007139/1.526, allocations: 0.9385 MB / 1.12 GB, free: 9.074 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004815/1.53, allocations: 1.931 MB / 1.122 GB, free: 7.125 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002041/1.531, allocations: 193.1 kB / 1.122 GB, free: 6.934 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006633/1.531, allocations: 258.5 kB / 1.123 GB, free: 6.688 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006467/1.538, allocations: 3.336 MB / 1.126 GB, free: 3.254 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.026e-05/1.538, allocations: 3.953 kB / 1.126 GB, free: 3.25 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002771/1.538, allocations: 107.2 kB / 1.126 GB, free: 3.148 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001713/1.538, allocations: 137 kB / 1.126 GB, free: 3.012 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006603/1.545, allocations: 3.506 MB / 1.13 GB, free: 15.49 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.01979/1.565, allocations: 12.18 MB / 1.142 GB, free: 2.547 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005137/1.57, allocations: 3.325 MB / 1.145 GB, free: 15.15 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002979/1.573, allocations: 1.696 MB / 1.146 GB, free: 13.45 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001676/1.574, allocations: 1.495 MB / 1.148 GB, free: 11.65 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.6e-05/1.574, allocations: 72.69 kB / 1.148 GB, free: 11.57 MB / 0.795 GB Notification: Performance of pre-optimization done (n=278): time 4.087e-06/1.574, allocations: 0 / 1.148 GB, free: 11.57 MB / 0.795 GB Notification: Performance of matching and sorting (n=278): time 0.00735/1.582, allocations: 3.89 MB / 1.152 GB, free: 7.629 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/1.582, allocations: 77.59 kB / 1.152 GB, free: 7.539 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002316/1.584, allocations: 1.38 MB / 1.153 GB, free: 6.152 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002722/1.585, allocations: 81.64 kB / 1.153 GB, free: 6.066 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009129/1.585, allocations: 1.002 MB / 1.154 GB, free: 5.055 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001107/1.587, allocations: 0.9911 MB / 1.155 GB, free: 4.078 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006917/1.587, allocations: 412.9 kB / 1.156 GB, free: 3.668 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001358/1.587, allocations: 305.1 kB / 1.156 GB, free: 3.367 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001964/1.589, allocations: 1.094 MB / 1.157 GB, free: 2.27 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002174/1.591, allocations: 1.355 MB / 1.158 GB, free: 0.8477 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00434/1.596, allocations: 2.648 MB / 1.161 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/1.596, allocations: 4 kB / 1.161 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.00545/1.601, allocations: 2.983 MB / 1.164 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/1.601, allocations: 8.562 kB / 1.164 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/1.601, allocations: 8 kB / 1.164 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.124e-05/1.601, allocations: 16 kB / 1.164 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00225/1.604, allocations: 0.5032 MB / 1.164 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.091e-05/1.604, allocations: 19.98 kB / 1.164 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002147/1.606, allocations: 194.5 kB / 1.164 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001628/1.606, allocations: 80 kB / 1.165 GB, free: 10.25 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.001228/1.607, allocations: 0.6518 MB / 1.165 GB, free: 9.594 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004678/1.608, allocations: 246.5 kB / 1.165 GB, free: 9.352 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00554/1.613, allocations: 3.116 MB / 1.168 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.5e-05/1.613, allocations: 27.98 kB / 1.169 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/1.613, allocations: 3.938 kB / 1.169 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004208/1.617, allocations: 2.665 MB / 1.171 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01182/1.629, allocations: 6.199 MB / 1.177 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/1.629, allocations: 7.938 kB / 1.177 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002768/1.632, allocations: 0.5462 MB / 1.178 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-05/1.632, allocations: 11.94 kB / 1.178 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002178/1.632, allocations: 55.98 kB / 1.178 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-05/1.632, allocations: 12 kB / 1.178 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/1.632, allocations: 4 kB / 1.178 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007851/1.64, allocations: 4.582 MB / 1.182 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001549/1.642, allocations: 0.6198 MB / 1.183 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003312/1.642, allocations: 52 kB / 1.183 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00165/1.644, allocations: 65.19 kB / 1.183 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003474/1.644, allocations: 162 kB / 1.183 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001833/1.644, allocations: 79.97 kB / 1.183 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001446/1.646, allocations: 0.9462 MB / 1.184 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/1.646, allocations: 3.938 kB / 1.184 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00243/1.648, allocations: 0.9906 MB / 1.185 GB, free: 4.949 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.0007103/1.649, allocations: 369.3 kB / 1.185 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004983/1.654, allocations: 2.626 MB / 1.188 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/1.654, allocations: 0 / 1.188 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002298/1.656, allocations: 1.394 MB / 1.189 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006611/1.663, allocations: 1.36 MB / 1.191 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/1.674, allocations: 6.093 MB / 1.197 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001927/1.676, allocations: 1.895 MB / 1.199 GB, free: 7.141 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.00325/1.679, allocations: 0.8435 MB / 1.199 GB, free: 6.293 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008726/1.68, allocations: 207.4 kB / 1.2 GB, free: 6.094 MB / 0.8419 GB Notification: Performance of SimCode: time 1.242e-06/1.68, allocations: 0 / 1.2 GB, free: 6.094 MB / 0.8419 GB Notification: Performance of Templates: time 0.09224/1.772, allocations: 50.59 MB / 1.249 GB, free: 4.211 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)