Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.conf.json 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/IBPSA 3.0.0-master/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) 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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep") translateModel(IBPSA.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 173.7 kB / 16.76 MB, free: 4.938 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.444/0.444, allocations: 86.27 MB / 103.8 MB, free: 14.56 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 223.2 MB / 348.4 MB, free: 4.98 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007838/0.0007838, allocations: 103.7 kB / 420.2 MB, free: 9.613 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.0003521, allocations: 12 kB / 0.4901 GB, free: 7.98 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2809, allocations: 71.02 MB / 0.5594 GB, free: 43.73 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.652/3.933, allocations: 1.933 GB / 2.492 GB, free: 123.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/3.933, allocations: 93.03 kB / 2.492 GB, free: 123 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3938:5-3939:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3940:5-3941:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3944:5-3945:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3946:5-3947:69:writable] Error: Variable T_default: Internal error - Types.typeOfValue failed: fail() Notification: Performance of FrontEnd - DAE generated: time 6.952/10.88, allocations: 2.12 GB / 4.612 GB, free: 45.27 MB / 0.6823 GB Notification: Performance of FrontEnd: time 8.91e-07/10.88, allocations: 3.609 kB / 4.612 GB, free: 45.27 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001646/10.88, allocations: 72.61 kB / 4.612 GB, free: 45.27 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.01149/10.9, allocations: 3.92 MB / 4.616 GB, free: 43.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/10.9, allocations: 10.56 kB / 4.616 GB, free: 43.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005633/10.9, allocations: 0.8271 MB / 4.617 GB, free: 43.73 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004592/10.91, allocations: 2.085 MB / 4.619 GB, free: 43.21 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001398/10.91, allocations: 217.3 kB / 4.619 GB, free: 43.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004318/10.91, allocations: 286.1 kB / 4.62 GB, free: 43.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005931/10.91, allocations: 3.527 MB / 4.623 GB, free: 42.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.401e-05/10.91, allocations: 12.28 kB / 4.623 GB, free: 42.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003048/10.91, allocations: 116.4 kB / 4.623 GB, free: 42.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001211/10.91, allocations: 126 kB / 4.623 GB, free: 42.79 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005087/10.92, allocations: 3.159 MB / 4.626 GB, free: 42.76 MB / 0.6823 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.01347/10.93, allocations: 14.47 MB / 4.64 GB, free: 34.21 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002877/10.94, allocations: 2.311 MB / 4.643 GB, free: 33.78 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001638/10.94, allocations: 1.342 MB / 4.644 GB, free: 33.76 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008895/10.94, allocations: 1.385 MB / 4.645 GB, free: 32.26 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00167/10.94, allocations: 1.229 MB / 4.647 GB, free: 32.19 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=216): time 4.788e-06/10.94, allocations: 0 / 4.647 GB, free: 32.19 MB / 0.6823 GB Notification: Performance of matching and sorting (n=216): time 0.005364/10.94, allocations: 3.167 MB / 4.65 GB, free: 31.99 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/10.94, allocations: 78.97 kB / 4.65 GB, free: 31.93 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002017/10.95, allocations: 1.434 MB / 4.651 GB, free: 31.76 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001961/10.95, allocations: 71.67 kB / 4.651 GB, free: 31.73 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009503/10.95, allocations: 1.107 MB / 4.652 GB, free: 31.27 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006419/10.95, allocations: 0.7422 MB / 4.653 GB, free: 30.79 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/10.95, allocations: 38.69 kB / 4.653 GB, free: 30.79 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001173/10.95, allocations: 391.6 kB / 4.653 GB, free: 30.48 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001313/10.95, allocations: 0.9057 MB / 4.654 GB, free: 30.47 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001524/10.95, allocations: 1.343 MB / 4.656 GB, free: 30.04 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002962/10.95, allocations: 2.316 MB / 4.658 GB, free: 29.71 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/10.95, allocations: 3.875 kB / 4.658 GB, free: 29.71 MB / 0.6823 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.003838/10.96, allocations: 2.595 MB / 4.66 GB, free: 29.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.871e-05/10.96, allocations: 42.78 kB / 4.66 GB, free: 29.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/10.96, allocations: 10.94 kB / 4.66 GB, free: 29.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.329e-05/10.96, allocations: 18.34 kB / 4.66 GB, free: 29.46 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001725/10.96, allocations: 455.8 kB / 4.661 GB, free: 29.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.195e-05/10.96, allocations: 23.16 kB / 4.661 GB, free: 29.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002583/10.96, allocations: 372 kB / 4.661 GB, free: 29.37 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/10.96, allocations: 81.33 kB / 4.661 GB, free: 29.37 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 260 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001313/10.96, allocations: 0.6842 MB / 4.662 GB, free: 29.25 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000315/10.96, allocations: 216.4 kB / 4.662 GB, free: 29.14 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003784/10.97, allocations: 2.537 MB / 4.665 GB, free: 29.02 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/10.97, allocations: 23.75 kB / 4.665 GB, free: 29.02 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/10.97, allocations: 0 / 4.665 GB, free: 29.02 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002967/10.97, allocations: 2.33 MB / 4.667 GB, free: 28.62 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008496/10.98, allocations: 5.608 MB / 4.672 GB, free: 27.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/10.98, allocations: 2.969 kB / 4.673 GB, free: 27.99 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001989/10.98, allocations: 473.1 kB / 4.673 GB, free: 27.99 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.498e-05/10.98, allocations: 11.34 kB / 4.673 GB, free: 27.99 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001381/10.98, allocations: 65.38 kB / 4.673 GB, free: 27.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.297e-05/10.98, allocations: 13.81 kB / 4.673 GB, free: 27.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/10.98, allocations: 6.062 kB / 4.673 GB, free: 27.98 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005116/10.99, allocations: 3.974 MB / 4.677 GB, free: 27.58 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/10.99, allocations: 0.5445 MB / 4.677 GB, free: 27.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002784/10.99, allocations: 52.28 kB / 4.678 GB, free: 27.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001737/10.99, allocations: 248.2 kB / 4.678 GB, free: 27.34 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000242/10.99, allocations: 140.4 kB / 4.678 GB, free: 27.33 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/10.99, allocations: 76.95 kB / 4.678 GB, free: 27.33 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001205/10.99, allocations: 0.9698 MB / 4.679 GB, free: 27.22 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/10.99, allocations: 0 / 4.679 GB, free: 27.22 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003351/11, allocations: 1.379 MB / 4.68 GB, free: 27.09 MB / 0.6823 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 (220): * Single equations (assignments): 218 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005794/11, allocations: 4.87 MB / 4.685 GB, free: 24.74 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003326/11.01, allocations: 2.339 MB / 4.687 GB, free: 24.64 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/11.01, allocations: 0 / 4.687 GB, free: 24.64 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001529/11.01, allocations: 1.21 MB / 4.688 GB, free: 24.63 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007062/11.01, allocations: 1.229 MB / 4.69 GB, free: 24.59 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008389/11.02, allocations: 7.043 MB / 4.697 GB, free: 21.88 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001286/11.02, allocations: 1.967 MB / 4.698 GB, free: 21.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002889/11.03, allocations: 0.732 MB / 4.699 GB, free: 21 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005915/11.03, allocations: 214.5 kB / 4.699 GB, free: 20.99 MB / 0.6823 GB Notification: Performance of SimCode: time 5.01e-07/11.03, allocations: 0 / 4.699 GB, free: 20.99 MB / 0.6823 GB Notification: Performance of Templates: time 0.4985/11.53, allocations: 92.5 MB / 4.79 GB, free: 64.23 MB / 0.698 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)