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.007678/0.007678, allocations: 99.31 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.001653/0.001652, allocations: 185.3 kB / 16.67 MB, free: 5.977 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.585/1.585, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.01181/0.01181, allocations: 286.6 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.419/1.419, allocations: 169.2 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 99.84 kB / 0.6815 GB, free: 15.42 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.277, allocations: 86.97 MB / 0.7664 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 0.965/1.242, allocations: 294.2 MB / 1.054 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.03557/1.278, allocations: 23.05 MB / 1.076 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005343/1.283, allocations: 79.56 kB / 1.076 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.006604/1.29, allocations: 1.798 MB / 1.078 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01968/1.309, allocations: 6.127 MB / 1.084 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.01024/1.32, allocations: 2.889 MB / 1.087 GB, free: 10 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01399/1.334, allocations: 7.303 MB / 1.094 GB, free: 2.68 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6976/2.031, allocations: 2.97 MB / 1.097 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009567/2.041, allocations: 2.905 MB / 1.1 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007882/2.049, allocations: 2.713 MB / 1.102 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002145/2.051, allocations: 343.7 kB / 1.103 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01752/2.069, allocations: 5.981 MB / 1.109 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.004485/2.073, allocations: 1.466 MB / 1.11 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.008924/2.082, allocations: 1.902 MB / 1.112 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.02315/2.105, allocations: 6.939 MB / 1.119 GB, free: 8.43 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 1.071e-05/2.105, allocations: 0.5625 kB / 1.119 GB, free: 8.43 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.345e-06/2.105, allocations: 0 / 1.119 GB, free: 8.43 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0003238/2.106, allocations: 4.375 kB / 1.119 GB, free: 8.43 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: 709 * Number of variables: 709 Notification: Performance of Generate backend data structure: time 0.02111/2.127, allocations: 4.097 MB / 1.123 GB, free: 6.754 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.959e-05/2.127, allocations: 11.06 kB / 1.123 GB, free: 6.754 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008327/2.135, allocations: 0.8475 MB / 1.124 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008596/2.144, allocations: 1.853 MB / 1.125 GB, free: 22.07 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004884/2.145, allocations: 211.4 kB / 1.126 GB, free: 22.06 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001978/2.147, allocations: 273 kB / 1.126 GB, free: 22.06 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01472/2.161, allocations: 3.601 MB / 1.129 GB, free: 21.7 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002144/2.162, allocations: 7.469 kB / 1.129 GB, free: 21.7 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001344/2.163, allocations: 113.6 kB / 1.129 GB, free: 21.7 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002649/2.163, allocations: 154.2 kB / 1.13 GB, free: 21.69 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01077/2.174, allocations: 3.287 MB / 1.133 GB, free: 21.66 MB / 0.8575 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.02886/2.203, allocations: 14.2 MB / 1.147 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005561/2.209, allocations: 2.484 MB / 1.149 GB, free: 13 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002865/2.211, allocations: 1.356 MB / 1.15 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00162/2.213, allocations: 1.374 MB / 1.152 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003082/2.216, allocations: 1.22 MB / 1.153 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=213): time 7.224e-06/2.216, allocations: 0.875 kB / 1.153 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=213): time 0.008246/2.224, allocations: 3.169 MB / 1.156 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.889e-05/2.225, allocations: 75.66 kB / 1.156 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003588/2.228, allocations: 1.456 MB / 1.158 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0005011/2.229, allocations: 66.3 kB / 1.158 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001342/2.23, allocations: 1.12 MB / 1.159 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.001237/2.231, allocations: 0.7358 MB / 1.159 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001196/2.233, allocations: 357.1 kB / 1.16 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001307/2.233, allocations: 307.4 kB / 1.16 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001971/2.235, allocations: 0.9143 MB / 1.161 GB, free: 9.684 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002245/2.237, allocations: 1.252 MB / 1.162 GB, free: 9.367 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004191/2.241, allocations: 2.328 MB / 1.164 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.297e-05/2.241, allocations: 0 / 1.164 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005821/2.247, allocations: 2.6 MB / 1.167 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.521e-05/2.247, allocations: 41.98 kB / 1.167 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.656e-05/2.247, allocations: 5.906 kB / 1.167 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.597e-05/2.247, allocations: 19.53 kB / 1.167 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002068/2.249, allocations: 465.4 kB / 1.167 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.69e-05/2.249, allocations: 22.56 kB / 1.167 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002982/2.252, allocations: 191.7 kB / 1.168 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002886/2.253, allocations: 79.88 kB / 1.168 GB, free: 8.695 MB / 0.8575 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.002041/2.255, allocations: 0.6873 MB / 1.168 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00107/2.256, allocations: 212.9 kB / 1.169 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005581/2.261, allocations: 2.523 MB / 1.171 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.512e-05/2.262, allocations: 25.88 kB / 1.171 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-05/2.262, allocations: 3.094 kB / 1.171 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003856/2.265, allocations: 2.331 MB / 1.173 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01301/2.278, allocations: 5.602 MB / 1.179 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-05/2.279, allocations: 3.844 kB / 1.179 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0023/2.281, allocations: 473.8 kB / 1.179 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.906e-05/2.281, allocations: 9.281 kB / 1.179 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000239/2.281, allocations: 65.25 kB / 1.179 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-05/2.281, allocations: 10.19 kB / 1.179 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/2.281, allocations: 6.719 kB / 1.179 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006889/2.288, allocations: 3.801 MB / 1.183 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002088/2.29, allocations: 0.5365 MB / 1.184 GB, free: 6.664 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009601/2.291, allocations: 47.06 kB / 1.184 GB, free: 6.664 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002421/2.294, allocations: 59.12 kB / 1.184 GB, free: 6.664 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004301/2.294, allocations: 149.6 kB / 1.184 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002119/2.294, allocations: 74.36 kB / 1.184 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002345/2.297, allocations: 0.9914 MB / 1.185 GB, free: 6.551 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7.31e-07/2.297, allocations: 0 / 1.185 GB, free: 6.551 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.004271/2.301, allocations: 0.9345 MB / 1.186 GB, free: 6.422 MB / 0.8575 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.001231/2.302, allocations: 390.5 kB / 1.186 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.004749/2.307, allocations: 2.345 MB / 1.188 GB, free: 6.195 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/2.307, allocations: 0.875 kB / 1.188 GB, free: 6.195 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002239/2.309, allocations: 1.227 MB / 1.19 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008439/2.318, allocations: 1.281 MB / 1.191 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0128/2.331, allocations: 5.779 MB / 1.197 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002749/2.333, allocations: 1.968 MB / 1.198 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.004008/2.337, allocations: 0.7296 MB / 1.199 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001354/2.339, allocations: 194.7 kB / 1.199 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of SimCode: time 1.292e-06/2.339, allocations: 0 / 1.199 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of Templates: time 0.08713/2.426, allocations: 48.54 MB / 1.247 GB, free: 5.004 MB / 0.9044 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)