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.001461/0.001461, allocations: 102.2 kB / 16.27 MB, free: 6 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.001535/0.001535, allocations: 191 kB / 17.2 MB, free: 5.609 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.329/1.329, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003251/0.003251, allocations: 284.2 kB / 291.3 MB, free: 14.56 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.247/1.247, allocations: 169.3 MB / 0.4988 GB, free: 4.516 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002155, allocations: 95.66 kB / 0.5959 GB, free: 15.17 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1691, allocations: 86.97 MB / 0.6808 GB, free: 8.199 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 1.018/1.187, allocations: 294.2 MB / 0.9681 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03236/1.219, allocations: 23.06 MB / 0.9907 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004166/1.223, allocations: 78.5 kB / 0.9907 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004988/1.228, allocations: 1.794 MB / 0.9925 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01685/1.245, allocations: 6.118 MB / 0.9985 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00886/1.254, allocations: 2.885 MB / 1.001 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01124/1.266, allocations: 7.296 MB / 1.008 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005941/1.272, allocations: 2.982 MB / 1.011 GB, free: 17 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007861/1.279, allocations: 2.866 MB / 1.014 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005905/1.285, allocations: 2.712 MB / 1.017 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.00179/1.287, allocations: 343.7 kB / 1.017 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01398/1.301, allocations: 5.981 MB / 1.023 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002781/1.304, allocations: 1.463 MB / 1.024 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.004978/1.309, allocations: 1.906 MB / 1.026 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01488/1.324, allocations: 6.893 MB / 1.033 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/1.324, allocations: 0 / 1.033 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.884e-06/1.324, allocations: 0 / 1.033 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001462/1.324, allocations: 0 / 1.033 GB, free: 15.8 MB / 0.7325 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.01248/1.337, allocations: 4.092 MB / 1.037 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/1.337, allocations: 11.22 kB / 1.037 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00621/1.343, allocations: 0.8388 MB / 1.038 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004108/1.347, allocations: 1.794 MB / 1.04 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000163/1.347, allocations: 207.7 kB / 1.04 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008232/1.348, allocations: 275 kB / 1.04 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006601/1.355, allocations: 3.6 MB / 1.044 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-05/1.355, allocations: 9.328 kB / 1.044 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002943/1.355, allocations: 113.2 kB / 1.044 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001433/1.355, allocations: 142.9 kB / 1.044 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005866/1.361, allocations: 3.293 MB / 1.047 GB, free: 11.95 MB / 0.7325 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.01856/1.38, allocations: 14.31 MB / 1.061 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003611/1.383, allocations: 2.475 MB / 1.063 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001903/1.385, allocations: 1.358 MB / 1.065 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00122/1.387, allocations: 1.374 MB / 1.066 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002158/1.389, allocations: 1.229 MB / 1.067 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=213): time 4.479e-06/1.389, allocations: 0 / 1.067 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of matching and sorting (n=213): time 0.005791/1.395, allocations: 3.172 MB / 1.07 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/1.395, allocations: 77.39 kB / 1.07 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00222/1.397, allocations: 1.45 MB / 1.072 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.000301/1.397, allocations: 69.69 kB / 1.072 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009979/1.398, allocations: 1.111 MB / 1.073 GB, free: 9.781 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008295/1.399, allocations: 0.7372 MB / 1.074 GB, free: 9.051 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005681/1.4, allocations: 355.5 kB / 1.074 GB, free: 8.695 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.229e-05/1.4, allocations: 301.1 kB / 1.074 GB, free: 8.398 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001568/1.401, allocations: 0.9175 MB / 1.075 GB, free: 7.477 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/1.403, allocations: 1.254 MB / 1.076 GB, free: 6.109 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003488/1.407, allocations: 2.32 MB / 1.079 GB, free: 3.715 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/1.407, allocations: 4 kB / 1.079 GB, free: 3.711 MB / 0.7481 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.00464/1.411, allocations: 2.602 MB / 1.081 GB, free: 1.137 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.828e-05/1.411, allocations: 33.86 kB / 1.081 GB, free: 1.098 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/1.411, allocations: 12 kB / 1.081 GB, free: 1.086 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.299e-05/1.411, allocations: 16 kB / 1.081 GB, free: 1.07 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002139/1.414, allocations: 461.2 kB / 1.082 GB, free: 0.6445 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.181e-05/1.414, allocations: 21.16 kB / 1.082 GB, free: 0.6289 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002345/1.416, allocations: 193.9 kB / 1.082 GB, free: 448 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002295/1.416, allocations: 83.98 kB / 1.082 GB, free: 364 kB / 0.7481 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.00144/1.418, allocations: 0.6889 MB / 1.083 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006305/1.418, allocations: 213.5 kB / 1.083 GB, free: 15.47 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004398/1.423, allocations: 2.525 MB / 1.085 GB, free: 12.93 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/1.423, allocations: 20 kB / 1.085 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/1.423, allocations: 0 / 1.085 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00348/1.426, allocations: 2.326 MB / 1.088 GB, free: 10.52 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009815/1.436, allocations: 5.613 MB / 1.093 GB, free: 4.867 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/1.436, allocations: 0 / 1.093 GB, free: 4.867 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002349/1.439, allocations: 490.9 kB / 1.094 GB, free: 4.41 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.369e-05/1.439, allocations: 8 kB / 1.094 GB, free: 4.402 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001875/1.439, allocations: 55.98 kB / 1.094 GB, free: 4.348 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-05/1.439, allocations: 8 kB / 1.094 GB, free: 4.34 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/1.439, allocations: 6.531 kB / 1.094 GB, free: 4.336 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006048/1.445, allocations: 3.8 MB / 1.097 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001457/1.446, allocations: 0.5415 MB / 1.098 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004116/1.447, allocations: 48 kB / 1.098 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001604/1.448, allocations: 61.17 kB / 1.098 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003134/1.449, allocations: 152.4 kB / 1.098 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/1.449, allocations: 71.97 kB / 1.098 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001404/1.45, allocations: 0.9983 MB / 1.099 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/1.45, allocations: 0 / 1.099 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002563/1.453, allocations: 0.9273 MB / 1.1 GB, free: 13.69 MB / 0.7794 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.0008558/1.454, allocations: 390.4 kB / 1.101 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.008202/1.462, allocations: 3.878 MB / 1.104 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.325e-06/1.462, allocations: 2.75 kB / 1.104 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001933/1.464, allocations: 1.218 MB / 1.105 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007196/1.471, allocations: 1.288 MB / 1.107 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01186/1.483, allocations: 6.033 MB / 1.113 GB, free: 1.027 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002453/1.486, allocations: 1.971 MB / 1.115 GB, free: 15.02 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001315/1.487, allocations: 215.4 kB / 1.115 GB, free: 14.81 MB / 0.795 GB Notification: Performance of SimCode: time 9.62e-07/1.487, allocations: 0 / 1.115 GB, free: 14.81 MB / 0.795 GB Notification: Performance of Templates: time 0.06517/1.552, allocations: 41.54 MB / 1.155 GB, free: 5.551 MB / 0.8262 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)