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.001824/0.001824, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00265/0.00265, allocations: 197.3 kB / 16.26 MB, free: 6.629 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.561/1.561, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002595/0.002595, allocations: 279 kB / 290.4 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.145/1.145, allocations: 178.6 MB / 0.5069 GB, free: 4.711 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00291/0.00291, allocations: 100 kB / 0.6059 GB, free: 24.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2076, allocations: 89.16 MB / 0.693 GB, free: 4.688 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 0.7111/0.9187, allocations: 290.8 MB / 0.977 GB, free: 8.949 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03453/0.9533, allocations: 22.93 MB / 0.9994 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003426/0.9567, allocations: 67.62 kB / 0.9995 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005478/0.9623, allocations: 1.598 MB / 1.001 GB, free: 296 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01586/0.9782, allocations: 5.764 MB / 1.007 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.008135/0.9863, allocations: 2.667 MB / 1.009 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01031/0.9966, allocations: 7.308 MB / 1.016 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004479/1.001, allocations: 2.872 MB / 1.019 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008168/1.009, allocations: 2.915 MB / 1.022 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005638/1.015, allocations: 2.891 MB / 1.025 GB, free: 7.816 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0009572/1.016, allocations: 344 kB / 1.025 GB, free: 7.48 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01364/1.03, allocations: 6.215 MB / 1.031 GB, free: 1.25 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.003014/1.033, allocations: 1.473 MB / 1.033 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.004103/1.037, allocations: 1.898 MB / 1.035 GB, free: 13.87 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01629/1.053, allocations: 7.292 MB / 1.042 GB, free: 6.555 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/1.053, allocations: 0 / 1.042 GB, free: 6.555 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.195e-06/1.053, allocations: 4 kB / 1.042 GB, free: 6.551 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001498/1.053, allocations: 0 / 1.042 GB, free: 6.551 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.01287/1.066, allocations: 4.096 MB / 1.046 GB, free: 2.383 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 6.208e-05/1.066, allocations: 8.031 kB / 1.046 GB, free: 2.375 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005947/1.072, allocations: 0.8469 MB / 1.047 GB, free: 1.523 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3054/1.378, allocations: 1.789 MB / 1.048 GB, free: 283.8 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002311/1.378, allocations: 206.4 kB / 1.048 GB, free: 283.8 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009861/1.379, allocations: 274.6 kB / 1.049 GB, free: 283.8 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007131/1.386, allocations: 3.595 MB / 1.052 GB, free: 282.4 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.415e-05/1.386, allocations: 8.266 kB / 1.052 GB, free: 282.4 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002558/1.386, allocations: 115 kB / 1.052 GB, free: 282.3 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001689/1.387, allocations: 146.1 kB / 1.052 GB, free: 282.3 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006102/1.393, allocations: 3.291 MB / 1.056 GB, free: 281.2 MB / 0.7637 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.0163/1.409, allocations: 14.14 MB / 1.07 GB, free: 270.8 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003744/1.413, allocations: 2.48 MB / 1.072 GB, free: 269.6 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002076/1.415, allocations: 1.353 MB / 1.073 GB, free: 269.1 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001/1.416, allocations: 1.376 MB / 1.075 GB, free: 267.6 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002098/1.418, allocations: 1.228 MB / 1.076 GB, free: 267.1 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=213): time 4.628e-06/1.418, allocations: 0 / 1.076 GB, free: 267.1 MB / 0.7637 GB Notification: Performance of matching and sorting (n=213): time 0.005604/1.424, allocations: 3.169 MB / 1.079 GB, free: 265.9 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/1.424, allocations: 78.47 kB / 1.079 GB, free: 265.9 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002191/1.426, allocations: 1.45 MB / 1.08 GB, free: 265.3 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002427/1.426, allocations: 68.48 kB / 1.08 GB, free: 265.3 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007502/1.427, allocations: 1.119 MB / 1.082 GB, free: 264.4 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005894/1.428, allocations: 0.7285 MB / 1.082 GB, free: 263.8 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005653/1.428, allocations: 362.4 kB / 1.083 GB, free: 263.7 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 3.993e-05/1.428, allocations: 306.3 kB / 1.083 GB, free: 263.4 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001488/1.43, allocations: 0.914 MB / 1.084 GB, free: 263 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001674/1.431, allocations: 1.255 MB / 1.085 GB, free: 262.4 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003236/1.435, allocations: 2.321 MB / 1.087 GB, free: 261 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/1.435, allocations: 2.125 kB / 1.087 GB, free: 261 MB / 0.7637 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004354/1.439, allocations: 2.6 MB / 1.09 GB, free: 259.7 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.869e-05/1.439, allocations: 38.52 kB / 1.09 GB, free: 259.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/1.439, allocations: 7.781 kB / 1.09 GB, free: 259.7 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.488e-05/1.439, allocations: 16.69 kB / 1.09 GB, free: 259.7 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002013/1.441, allocations: 468.8 kB / 1.09 GB, free: 259.6 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.474e-05/1.441, allocations: 20.72 kB / 1.09 GB, free: 259.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00293/1.444, allocations: 403.4 kB / 1.091 GB, free: 259.4 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001745/1.444, allocations: 81.77 kB / 1.091 GB, free: 259.3 MB / 0.7637 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.001302/1.446, allocations: 0.6821 MB / 1.091 GB, free: 258.9 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000503/1.446, allocations: 213.3 kB / 1.092 GB, free: 258.8 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004386/1.45, allocations: 2.521 MB / 1.094 GB, free: 257.4 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.125e-05/1.451, allocations: 21.16 kB / 1.094 GB, free: 257.4 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/1.451, allocations: 0 / 1.094 GB, free: 257.4 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00285/1.453, allocations: 2.334 MB / 1.096 GB, free: 256.1 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008501/1.462, allocations: 5.62 MB / 1.102 GB, free: 252.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/1.462, allocations: 0 / 1.102 GB, free: 252.6 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00209/1.464, allocations: 472.6 kB / 1.102 GB, free: 252.5 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.037e-05/1.464, allocations: 12.86 kB / 1.102 GB, free: 252.5 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001457/1.464, allocations: 59.78 kB / 1.102 GB, free: 252.5 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.231e-05/1.464, allocations: 11.78 kB / 1.102 GB, free: 252.5 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/1.464, allocations: 3.719 kB / 1.102 GB, free: 252.5 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005016/1.469, allocations: 3.802 MB / 1.106 GB, free: 250.4 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/1.47, allocations: 0.5417 MB / 1.107 GB, free: 250 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003083/1.471, allocations: 45.42 kB / 1.107 GB, free: 250 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001982/1.473, allocations: 246.1 kB / 1.107 GB, free: 249.8 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002848/1.473, allocations: 149.7 kB / 1.107 GB, free: 249.7 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001269/1.473, allocations: 71.97 kB / 1.107 GB, free: 249.6 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001076/1.474, allocations: 0.9866 MB / 1.108 GB, free: 248.6 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.51e-07/1.474, allocations: 2.469 kB / 1.108 GB, free: 248.6 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001927/1.476, allocations: 0.9389 MB / 1.109 GB, free: 247.7 MB / 0.7637 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.0006841/1.477, allocations: 373.3 kB / 1.109 GB, free: 247.4 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00741/1.484, allocations: 3.886 MB / 1.113 GB, free: 243.5 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.365e-06/1.484, allocations: 4 kB / 1.113 GB, free: 243.5 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001589/1.486, allocations: 1.224 MB / 1.114 GB, free: 242.3 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005377/1.491, allocations: 1.291 MB / 1.116 GB, free: 241.1 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007992/1.499, allocations: 7.012 MB / 1.123 GB, free: 234.2 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001079/1.5, allocations: 1.983 MB / 1.124 GB, free: 232.2 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002687/1.503, allocations: 0.7197 MB / 1.125 GB, free: 231.4 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000637/1.504, allocations: 191.4 kB / 1.125 GB, free: 231.3 MB / 0.7637 GB Notification: Performance of SimCode: time 9.32e-07/1.504, allocations: 0 / 1.125 GB, free: 231.3 MB / 0.7637 GB Notification: Performance of Templates: time 0.06537/1.569, allocations: 47 MB / 1.171 GB, free: 184.9 MB / 0.7637 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)