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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.0009796/0.0009797, allocations: 184 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5137/0.5137, allocations: 91.99 MB / 108.5 MB, free: 13.08 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.63/1.63, allocations: 223.2 MB / 354.3 MB, free: 12.25 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.0008908/0.0008909, allocations: 88.31 kB / 427.4 MB, free: 3.961 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003845/0.0003845, allocations: 8 kB / 0.4982 GB, free: 42.33 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1625, allocations: 72.32 MB / 0.5689 GB, free: 1.949 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.369/5.531, allocations: 1.936 GB / 2.505 GB, free: 195.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000361/5.532, allocations: 91.95 kB / 2.505 GB, free: 195.6 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 8.806/14.34, allocations: 2.138 GB / 4.642 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.635e-06/14.34, allocations: 0 / 4.642 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004017/14.34, allocations: 75.92 kB / 4.642 GB, free: 492 kB / 0.698 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.6106/14.95, allocations: 3.948 MB / 4.646 GB, free: 60.96 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/14.95, allocations: 9.125 kB / 4.646 GB, free: 60.96 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007864/14.96, allocations: 0.8386 MB / 4.647 GB, free: 60.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007838/14.96, allocations: 2.192 MB / 4.649 GB, free: 60.47 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002835/14.96, allocations: 214.7 kB / 4.649 GB, free: 60.46 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009069/14.97, allocations: 280.2 kB / 4.65 GB, free: 60.46 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007992/14.97, allocations: 3.503 MB / 4.653 GB, free: 60.07 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.968e-05/14.97, allocations: 15.94 kB / 4.653 GB, free: 60.07 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003185/14.97, allocations: 113.9 kB / 4.653 GB, free: 60.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000206/14.97, allocations: 124.4 kB / 4.653 GB, free: 60.06 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007465/14.98, allocations: 3.154 MB / 4.656 GB, free: 60.03 MB / 0.698 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.02417/15.01, allocations: 14.47 MB / 4.67 GB, free: 51.61 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004561/15.01, allocations: 2.313 MB / 4.673 GB, free: 51.19 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001097/15.01, allocations: 1.385 MB / 4.674 GB, free: 49.69 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002502/15.01, allocations: 1.208 MB / 4.675 GB, free: 49.62 MB / 0.698 GB Notification: Performance of pre-optimization done (n=213): time 4.549e-06/15.01, allocations: 0 / 4.675 GB, free: 49.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=213): time 0.007896/15.02, allocations: 3.151 MB / 4.678 GB, free: 49.43 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/15.02, allocations: 79.42 kB / 4.678 GB, free: 49.36 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002708/15.02, allocations: 1.263 MB / 4.68 GB, free: 49.21 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002856/15.03, allocations: 75.03 kB / 4.68 GB, free: 49.18 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001539/15.03, allocations: 1.115 MB / 4.681 GB, free: 48.84 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001047/15.03, allocations: 0.7339 MB / 4.682 GB, free: 48.44 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/15.03, allocations: 40.44 kB / 4.682 GB, free: 48.44 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002098/15.03, allocations: 383.2 kB / 4.682 GB, free: 48.13 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001673/15.03, allocations: 0.9028 MB / 4.683 GB, free: 48.12 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001805/15.03, allocations: 1.315 MB / 4.684 GB, free: 47.71 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001842/15.03, allocations: 1.121 MB / 4.685 GB, free: 47.65 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/15.03, allocations: 0 / 4.685 GB, free: 47.65 MB / 0.698 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004575/15.04, allocations: 2.588 MB / 4.688 GB, free: 47.44 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.059e-05/15.04, allocations: 34.95 kB / 4.688 GB, free: 47.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/15.04, allocations: 7.156 kB / 4.688 GB, free: 47.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.034e-05/15.04, allocations: 20.69 kB / 4.688 GB, free: 47.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001784/15.04, allocations: 454 kB / 4.688 GB, free: 47.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-05/15.04, allocations: 22.42 kB / 4.688 GB, free: 47.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003527/15.04, allocations: 405.9 kB / 4.689 GB, free: 47.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001735/15.04, allocations: 79.25 kB / 4.689 GB, free: 47.3 MB / 0.698 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 ($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 (258): * Single equations (assignments): 257 * 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.001849/15.05, allocations: 0.6883 MB / 4.689 GB, free: 47.19 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005836/15.05, allocations: 215.5 kB / 4.69 GB, free: 47.08 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004407/15.05, allocations: 2.522 MB / 4.692 GB, free: 46.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.202e-05/15.05, allocations: 21.19 kB / 4.692 GB, free: 46.96 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/15.05, allocations: 0 / 4.692 GB, free: 46.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003658/15.05, allocations: 2.332 MB / 4.694 GB, free: 46.56 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01194/15.07, allocations: 5.582 MB / 4.7 GB, free: 45.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/15.07, allocations: 3.438 kB / 4.7 GB, free: 45.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002076/15.07, allocations: 464.5 kB / 4.7 GB, free: 45.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.917e-05/15.07, allocations: 10.41 kB / 4.7 GB, free: 45.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001603/15.07, allocations: 61.12 kB / 4.7 GB, free: 45.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.131e-05/15.07, allocations: 11.34 kB / 4.7 GB, free: 45.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/15.07, allocations: 2.625 kB / 4.7 GB, free: 45.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005783/15.07, allocations: 3.913 MB / 4.704 GB, free: 45.32 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002092/15.08, allocations: 0.546 MB / 4.705 GB, free: 45.09 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004026/15.08, allocations: 46.34 kB / 4.705 GB, free: 45.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002137/15.08, allocations: 242.6 kB / 4.705 GB, free: 45.08 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002647/15.08, allocations: 140.4 kB / 4.705 GB, free: 45.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001445/15.08, allocations: 72.25 kB / 4.705 GB, free: 45.08 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001452/15.08, allocations: 0.976 MB / 4.706 GB, free: 44.97 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/15.08, allocations: 3.844 kB / 4.706 GB, free: 44.97 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00504/15.09, allocations: 1.371 MB / 4.707 GB, free: 44.85 MB / 0.698 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 (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.00832/15.09, allocations: 4.848 MB / 4.712 GB, free: 42.53 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004331/15.1, allocations: 2.323 MB / 4.714 GB, free: 42.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/15.1, allocations: 2.156 kB / 4.714 GB, free: 42.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001813/15.1, allocations: 1.19 MB / 4.716 GB, free: 42.42 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006062/15.11, allocations: 1.204 MB / 4.717 GB, free: 42.39 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/15.12, allocations: 7.029 MB / 4.724 GB, free: 39.67 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001535/15.12, allocations: 2.025 MB / 4.726 GB, free: 38.92 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003485/15.12, allocations: 0.7227 MB / 4.726 GB, free: 38.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007566/15.12, allocations: 211.4 kB / 4.727 GB, free: 38.89 MB / 0.698 GB Notification: Performance of SimCode: time 1.182e-06/15.12, allocations: 1.688 kB / 4.727 GB, free: 38.89 MB / 0.698 GB Notification: Performance of Templates: time 0.1303/15.25, allocations: 90.75 MB / 4.815 GB, free: 34.11 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)