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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 1.166/1.166, allocations: 143.4 MB / 159.2 MB, free: 4.871 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 184.5 kB / 191.9 MB, free: 5.738 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.669/1.669, allocations: 222.9 MB / 447.3 MB, free: 5.855 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 107.7 kB / 0.517 GB, free: 3.707 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002077/0.002078, allocations: 281.5 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 79.88 kB / 0.6885 GB, free: 3.848 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4541/0.4555, allocations: 81.3 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 0.748/1.204, allocations: 292 MB / 1.053 GB, free: 8.844 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.03314/1.237, allocations: 23.21 MB / 1.076 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005449/1.242, allocations: 59.69 kB / 1.076 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00642/1.249, allocations: 1.563 MB / 1.077 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.01939/1.268, allocations: 5.71 MB / 1.083 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.008855/1.277, allocations: 2.667 MB / 1.086 GB, free: 7.559 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.0148/1.292, allocations: 10.75 MB / 1.096 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004759/1.297, allocations: 2.51 MB / 1.098 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00891/1.306, allocations: 2.55 MB / 1.101 GB, free: 7.688 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006463/1.312, allocations: 2.818 MB / 1.104 GB, free: 4.867 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0006786/1.313, allocations: 208 kB / 1.104 GB, free: 4.664 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01854/1.331, allocations: 6.904 MB / 1.111 GB, free: 13.74 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.002731/1.334, allocations: 1.34 MB / 1.112 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.003658/1.338, allocations: 1.754 MB / 1.114 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.02258/1.36, allocations: 7.179 MB / 1.121 GB, free: 3.434 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.01e-05/1.361, allocations: 7.938 kB / 1.121 GB, free: 3.426 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.504e-06/1.361, allocations: 0 / 1.121 GB, free: 3.426 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001716/1.361, allocations: 0 / 1.121 GB, free: 3.426 MB / 0.6823 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.01947/1.38, allocations: 4.092 MB / 1.125 GB, free: 15.26 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.166e-05/1.38, allocations: 12.03 kB / 1.125 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01045/1.391, allocations: 0.8391 MB / 1.126 GB, free: 14.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007617/1.398, allocations: 1.774 MB / 1.127 GB, free: 12.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002987/1.399, allocations: 209.4 kB / 1.127 GB, free: 12.36 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001273/1.4, allocations: 279.9 kB / 1.128 GB, free: 12.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01252/1.413, allocations: 3.601 MB / 1.131 GB, free: 8.363 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.17e-05/1.413, allocations: 8 kB / 1.131 GB, free: 8.355 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004401/1.413, allocations: 108 kB / 1.131 GB, free: 8.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002943/1.414, allocations: 149.2 kB / 1.131 GB, free: 8.102 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01162/1.425, allocations: 3.272 MB / 1.135 GB, free: 4.816 MB / 0.698 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.03181/1.457, allocations: 14.13 MB / 1.148 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006971/1.464, allocations: 2.538 MB / 1.151 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003785/1.468, allocations: 1.352 MB / 1.152 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002088/1.47, allocations: 1.375 MB / 1.154 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003636/1.474, allocations: 1.226 MB / 1.155 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=213): time 7.524e-06/1.474, allocations: 0 / 1.155 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=213): time 0.007281/1.481, allocations: 3.156 MB / 1.158 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.906e-05/1.481, allocations: 77.41 kB / 1.158 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002783/1.484, allocations: 1.44 MB / 1.159 GB, free: 9.891 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002204/1.484, allocations: 69.7 kB / 1.159 GB, free: 9.816 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001229/1.485, allocations: 1.107 MB / 1.161 GB, free: 8.695 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000931/1.486, allocations: 0.7354 MB / 1.161 GB, free: 7.949 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007419/1.487, allocations: 359.5 kB / 1.162 GB, free: 7.59 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001165/1.487, allocations: 309.1 kB / 1.162 GB, free: 7.285 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001768/1.489, allocations: 0.9058 MB / 1.163 GB, free: 6.375 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002063/1.491, allocations: 1.269 MB / 1.164 GB, free: 4.977 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003874/1.495, allocations: 2.325 MB / 1.166 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/1.495, allocations: 0 / 1.166 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005155/1.5, allocations: 2.586 MB / 1.169 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.907e-05/1.5, allocations: 37.7 kB / 1.169 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-05/1.5, allocations: 8 kB / 1.169 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.557e-05/1.5, allocations: 20.03 kB / 1.169 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002066/1.502, allocations: 467.3 kB / 1.169 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-05/1.503, allocations: 20 kB / 1.169 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003209/1.506, allocations: 360.3 kB / 1.17 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002475/1.506, allocations: 79.92 kB / 1.17 GB, free: 14.96 MB / 0.7448 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.001695/1.508, allocations: 0.6895 MB / 1.17 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008443/1.509, allocations: 213.5 kB / 1.171 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00559/1.514, allocations: 2.511 MB / 1.173 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.152e-05/1.514, allocations: 20 kB / 1.173 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.399e-05/1.514, allocations: 4 kB / 1.173 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003807/1.518, allocations: 2.319 MB / 1.175 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01221/1.53, allocations: 5.591 MB / 1.181 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/1.53, allocations: 8.031 kB / 1.181 GB, free: 3.406 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002304/1.533, allocations: 479.4 kB / 1.181 GB, free: 2.938 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.31e-05/1.533, allocations: 11.94 kB / 1.181 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001708/1.533, allocations: 59.98 kB / 1.181 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.606e-05/1.533, allocations: 12 kB / 1.181 GB, free: 2.855 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.533, allocations: 0 / 1.181 GB, free: 2.855 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4336/1.967, allocations: 20.67 MB / 1.202 GB, free: 303.5 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001233/1.968, allocations: 0.549 MB / 1.202 GB, free: 303.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002421/1.968, allocations: 39.91 kB / 1.202 GB, free: 303.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001805/1.97, allocations: 242.4 kB / 1.202 GB, free: 303.1 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003098/1.97, allocations: 144.6 kB / 1.202 GB, free: 303.1 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000134/1.97, allocations: 73.12 kB / 1.203 GB, free: 303.1 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001213/1.972, allocations: 0.9865 MB / 1.204 GB, free: 302.7 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.8e-07/1.972, allocations: 3.969 kB / 1.204 GB, free: 302.7 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.006971/1.979, allocations: 1.453 MB / 1.205 GB, free: 302.5 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1],volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],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.0009897/1.98, allocations: 423.5 kB / 1.205 GB, free: 302.3 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003452/1.983, allocations: 2.339 MB / 1.208 GB, free: 301.5 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/1.983, allocations: 3.609 kB / 1.208 GB, free: 301.5 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001763/1.985, allocations: 1.217 MB / 1.209 GB, free: 301.1 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005826/1.991, allocations: 1.238 MB / 1.21 GB, free: 300.8 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/2.002, allocations: 8.123 MB / 1.218 GB, free: 295.1 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002538/2.004, allocations: 2.025 MB / 1.22 GB, free: 293 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.006203/2.011, allocations: 0.7761 MB / 1.221 GB, free: 292.3 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001348/2.012, allocations: 211.4 kB / 1.221 GB, free: 292 MB / 0.7448 GB Notification: Performance of SimCode: time 1.644e-06/2.012, allocations: 4 kB / 1.221 GB, free: 292 MB / 0.7448 GB Notification: Performance of Templates: time 0.08932/2.101, allocations: 54.09 MB / 1.274 GB, free: 238.5 MB / 0.7448 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)