Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.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.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep") translateModel(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 106.2 kB / 16.41 MB, free: 6.438 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.001483/0.001483, allocations: 191.2 kB / 17.34 MB, free: 5.742 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.372/1.372, 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.00447/0.00447, allocations: 281.1 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.353/1.353, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 91.86 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5568/0.5586, allocations: 86.98 MB / 0.7671 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 0.8116/1.37, allocations: 294.2 MB / 1.054 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02972/1.4, allocations: 23.06 MB / 1.077 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004655/1.405, allocations: 75.72 kB / 1.077 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.006533/1.411, allocations: 1.795 MB / 1.079 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01801/1.429, allocations: 6.129 MB / 1.085 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0103/1.44, allocations: 2.892 MB / 1.088 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01213/1.452, allocations: 7.307 MB / 1.095 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005503/1.457, allocations: 2.973 MB / 1.098 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008125/1.466, allocations: 2.909 MB / 1.1 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005751/1.471, allocations: 2.709 MB / 1.103 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.00152/1.473, allocations: 344 kB / 1.103 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01432/1.487, allocations: 5.986 MB / 1.109 GB, free: 6.164 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002813/1.49, allocations: 1.465 MB / 1.111 GB, free: 4.711 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.005199/1.495, allocations: 1.904 MB / 1.113 GB, free: 2.816 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01736/1.513, allocations: 6.936 MB / 1.119 GB, free: 12.21 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/1.513, allocations: 4 kB / 1.119 GB, free: 12.21 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.174e-06/1.513, allocations: 0 / 1.119 GB, free: 12.21 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.00022/1.513, allocations: 3.938 kB / 1.119 GB, free: 12.2 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: 709 * Number of variables: 709 Notification: Performance of Generate backend data structure: time 0.01368/1.527, allocations: 4.089 MB / 1.123 GB, free: 8.07 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/1.527, allocations: 15.97 kB / 1.123 GB, free: 8.055 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006395/1.533, allocations: 0.8469 MB / 1.124 GB, free: 7.211 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00422/1.537, allocations: 1.861 MB / 1.126 GB, free: 5.324 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001714/1.538, allocations: 207 kB / 1.126 GB, free: 5.125 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006344/1.538, allocations: 274 kB / 1.126 GB, free: 4.859 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006847/1.545, allocations: 3.597 MB / 1.13 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.006e-05/1.545, allocations: 7.906 kB / 1.13 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002859/1.545, allocations: 113.5 kB / 1.13 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001753/1.546, allocations: 149.2 kB / 1.13 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005944/1.552, allocations: 3.288 MB / 1.133 GB, free: 13.59 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.01791/1.569, allocations: 14.21 MB / 1.147 GB, free: 14.29 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003737/1.573, allocations: 2.489 MB / 1.15 GB, free: 11.73 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001904/1.575, allocations: 1.352 MB / 1.151 GB, free: 10.38 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001248/1.576, allocations: 1.377 MB / 1.152 GB, free: 8.723 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002018/1.578, allocations: 1.222 MB / 1.154 GB, free: 7.484 MB / 0.795 GB Notification: Performance of pre-optimization done (n=213): time 4.048e-06/1.578, allocations: 0 / 1.154 GB, free: 7.484 MB / 0.795 GB Notification: Performance of matching and sorting (n=213): time 0.005751/1.584, allocations: 3.184 MB / 1.157 GB, free: 4.297 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.957e-05/1.584, allocations: 81.34 kB / 1.157 GB, free: 4.207 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002058/1.586, allocations: 1.452 MB / 1.158 GB, free: 2.75 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002147/1.587, allocations: 69.7 kB / 1.158 GB, free: 2.676 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009889/1.588, allocations: 1.109 MB / 1.159 GB, free: 1.555 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007486/1.588, allocations: 0.7361 MB / 1.16 GB, free: 0.8242 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005506/1.589, allocations: 351.5 kB / 1.16 GB, free: 484 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001027/1.589, allocations: 317 kB / 1.161 GB, free: 164 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00154/1.591, allocations: 0.9139 MB / 1.162 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001777/1.592, allocations: 1.258 MB / 1.163 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003492/1.596, allocations: 2.321 MB / 1.165 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/1.596, allocations: 0 / 1.165 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004939/1.601, allocations: 2.594 MB / 1.168 GB, free: 8.824 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.721e-05/1.601, allocations: 41.84 kB / 1.168 GB, free: 8.777 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/1.601, allocations: 8 kB / 1.168 GB, free: 8.77 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.135e-05/1.601, allocations: 20 kB / 1.168 GB, free: 8.75 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001985/1.603, allocations: 459.3 kB / 1.168 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.065e-05/1.603, allocations: 23.92 kB / 1.168 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00224/1.605, allocations: 194 kB / 1.168 GB, free: 8.086 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/1.605, allocations: 79.98 kB / 1.168 GB, free: 8.008 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (258): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 1 * 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.001376/1.607, allocations: 0.6806 MB / 1.169 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005112/1.607, allocations: 221.4 kB / 1.169 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00426/1.612, allocations: 2.519 MB / 1.172 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/1.612, allocations: 20 kB / 1.172 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/1.612, allocations: 7.938 kB / 1.172 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003332/1.615, allocations: 2.323 MB / 1.174 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008771/1.624, allocations: 5.604 MB / 1.18 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/1.624, allocations: 4 kB / 1.18 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00219/1.626, allocations: 475.7 kB / 1.18 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.759e-05/1.626, allocations: 12 kB / 1.18 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001369/1.626, allocations: 59.97 kB / 1.18 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-05/1.626, allocations: 8 kB / 1.18 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/1.626, allocations: 7.938 kB / 1.18 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005808/1.632, allocations: 3.798 MB / 1.184 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0012/1.633, allocations: 0.5371 MB / 1.184 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003209/1.634, allocations: 43.98 kB / 1.184 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/1.635, allocations: 67.08 kB / 1.184 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002991/1.635, allocations: 149.7 kB / 1.185 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001345/1.635, allocations: 71.97 kB / 1.185 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001342/1.637, allocations: 0.9906 MB / 1.186 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/1.637, allocations: 0 / 1.186 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002192/1.639, allocations: 0.9389 MB / 1.186 GB, free: 5.273 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mC[1]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (217): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008591/1.64, allocations: 393.7 kB / 1.187 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003744/1.644, allocations: 2.34 MB / 1.189 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/1.644, allocations: 5.812 kB / 1.189 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001786/1.645, allocations: 1.214 MB / 1.19 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005382/1.651, allocations: 1.29 MB / 1.192 GB, free: 76 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009199/1.66, allocations: 5.943 MB / 1.197 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001561/1.662, allocations: 1.975 MB / 1.199 GB, free: 8.062 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001049/1.663, allocations: 219.4 kB / 1.2 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of SimCode: time 1.002e-06/1.663, allocations: 0 / 1.2 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of Templates: time 0.06332/1.726, allocations: 41.81 MB / 1.24 GB, free: 14.29 MB / 0.8887 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)