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.001329/0.001329, allocations: 104.6 kB / 15.98 MB, free: 6.344 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.00131/0.00131, allocations: 201.3 kB / 16.91 MB, free: 6.188 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.242/1.242, allocations: 222.9 MB / 240.6 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002069/0.002069, allocations: 293.3 kB / 291 MB, free: 14.73 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8936/0.8936, allocations: 169.2 MB / 0.4985 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 87.86 kB / 0.5953 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1675, allocations: 86.98 MB / 0.6803 GB, free: 8.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 0.9713/1.139, allocations: 290.8 MB / 0.9643 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03084/1.17, allocations: 22.93 MB / 0.9867 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004606/1.174, allocations: 68.5 kB / 0.9867 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005706/1.18, allocations: 1.605 MB / 0.9883 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01764/1.198, allocations: 5.761 MB / 0.9939 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.009077/1.207, allocations: 2.661 MB / 0.9965 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01142/1.218, allocations: 7.302 MB / 1.004 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006169/1.225, allocations: 2.88 MB / 1.006 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009243/1.234, allocations: 2.921 MB / 1.009 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005923/1.24, allocations: 2.887 MB / 1.012 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.00171/1.242, allocations: 344.9 kB / 1.012 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01285/1.254, allocations: 6.217 MB / 1.019 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002745/1.257, allocations: 1.474 MB / 1.02 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.005325/1.263, allocations: 1.901 MB / 1.022 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01017/1.273, allocations: 5.18 MB / 1.027 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/1.273, allocations: 0 / 1.027 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.234e-06/1.273, allocations: 0 / 1.027 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0002151/1.273, allocations: 0 / 1.027 GB, free: 16.15 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.01444/1.287, allocations: 4.098 MB / 1.031 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/1.288, allocations: 10.56 kB / 1.031 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006665/1.294, allocations: 0.8422 MB / 1.032 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00467/1.299, allocations: 1.786 MB / 1.033 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002214/1.299, allocations: 209.4 kB / 1.034 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001198/1.3, allocations: 280.3 kB / 1.034 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009765/1.31, allocations: 3.597 MB / 1.037 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001358/1.31, allocations: 5.344 kB / 1.037 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008319/1.311, allocations: 116.1 kB / 1.038 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001929/1.311, allocations: 142.6 kB / 1.038 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007296/1.319, allocations: 3.294 MB / 1.041 GB, free: 13.34 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.02149/1.34, allocations: 14.15 MB / 1.055 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004181/1.344, allocations: 2.481 MB / 1.057 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00218/1.347, allocations: 1.356 MB / 1.058 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001336/1.348, allocations: 1.372 MB / 1.06 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002427/1.35, allocations: 1.237 MB / 1.061 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=213): time 4.939e-06/1.351, allocations: 0 / 1.061 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of matching and sorting (n=213): time 0.006404/1.357, allocations: 3.16 MB / 1.064 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/1.357, allocations: 73.41 kB / 1.064 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002635/1.36, allocations: 1.461 MB / 1.066 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0003434/1.36, allocations: 63.95 kB / 1.066 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001056/1.361, allocations: 1.124 MB / 1.067 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009959/1.362, allocations: 0.7334 MB / 1.067 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008902/1.363, allocations: 359.2 kB / 1.068 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.484e-05/1.363, allocations: 301.1 kB / 1.068 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001685/1.365, allocations: 0.9151 MB / 1.069 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001972/1.367, allocations: 1.25 MB / 1.07 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003703/1.371, allocations: 2.322 MB / 1.072 GB, free: 8.695 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.431e-05/1.371, allocations: 4 kB / 1.072 GB, free: 8.691 MB / 0.7481 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004944/1.376, allocations: 2.597 MB / 1.075 GB, free: 6.121 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.832e-05/1.376, allocations: 37.64 kB / 1.075 GB, free: 6.078 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/1.376, allocations: 8 kB / 1.075 GB, free: 6.07 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.939e-05/1.376, allocations: 16.72 kB / 1.075 GB, free: 6.055 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002042/1.378, allocations: 467.7 kB / 1.076 GB, free: 5.625 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.495e-05/1.378, allocations: 22.69 kB / 1.076 GB, free: 5.605 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003114/1.381, allocations: 405.7 kB / 1.076 GB, free: 5.207 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002587/1.381, allocations: 75.98 kB / 1.076 GB, free: 5.133 MB / 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.001651/1.383, allocations: 0.6772 MB / 1.077 GB, free: 4.473 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008396/1.384, allocations: 221.4 kB / 1.077 GB, free: 4.254 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005094/1.389, allocations: 2.527 MB / 1.079 GB, free: 1.711 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/1.389, allocations: 20 kB / 1.079 GB, free: 1.691 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/1.389, allocations: 4 kB / 1.079 GB, free: 1.688 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003585/1.392, allocations: 2.33 MB / 1.082 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01155/1.404, allocations: 5.598 MB / 1.087 GB, free: 9.656 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.595e-05/1.404, allocations: 8.297 kB / 1.087 GB, free: 9.648 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002232/1.406, allocations: 472.1 kB / 1.088 GB, free: 9.207 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.469e-05/1.406, allocations: 8 kB / 1.088 GB, free: 9.199 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000215/1.407, allocations: 63.91 kB / 1.088 GB, free: 9.137 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.01e-05/1.407, allocations: 14.62 kB / 1.088 GB, free: 9.125 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/1.407, allocations: 4 kB / 1.088 GB, free: 9.121 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006248/1.413, allocations: 3.794 MB / 1.091 GB, free: 5.285 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001729/1.415, allocations: 0.5449 MB / 1.092 GB, free: 4.719 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006896/1.415, allocations: 51.94 kB / 1.092 GB, free: 4.668 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002608/1.418, allocations: 236.5 kB / 1.092 GB, free: 4.438 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003652/1.418, allocations: 156.3 kB / 1.092 GB, free: 4.289 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001955/1.419, allocations: 71.97 kB / 1.092 GB, free: 4.219 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001866/1.42, allocations: 0.9905 MB / 1.093 GB, free: 3.234 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.21e-07/1.42, allocations: 0 / 1.093 GB, free: 3.234 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003372/1.424, allocations: 0.9312 MB / 1.094 GB, free: 2.301 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.001087/1.425, allocations: 388.9 kB / 1.095 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.009155/1.434, allocations: 3.875 MB / 1.098 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/1.434, allocations: 4 kB / 1.098 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002341/1.437, allocations: 1.225 MB / 1.1 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007067/1.444, allocations: 1.294 MB / 1.101 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01312/1.457, allocations: 7.187 MB / 1.108 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002523/1.459, allocations: 1.982 MB / 1.11 GB, free: 2.465 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001301/1.461, allocations: 219.4 kB / 1.11 GB, free: 2.25 MB / 0.7794 GB Notification: Performance of SimCode: time 1.312e-06/1.461, allocations: 0 / 1.11 GB, free: 2.25 MB / 0.7794 GB Notification: Performance of Templates: time 0.0668/1.528, allocations: 41.57 MB / 1.151 GB, free: 9.02 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)