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.0009961/0.0009959, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.48/0.48, allocations: 90.81 MB / 104.5 MB, free: 9.793 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.455/1.455, allocations: 221.3 MB / 348.3 MB, free: 436 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009352/0.0009351, allocations: 89.61 kB / 421.2 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.573e-05/4.611e-05, allocations: 8 kB / 0.4896 GB, free: 5.367 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4236/0.4236, allocations: 72.3 MB / 0.5602 GB, free: 40.46 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.592/5.016, allocations: 1.936 GB / 2.496 GB, free: 89.38 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/5.016, allocations: 91.94 kB / 2.496 GB, free: 89.29 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.979/13.99, allocations: 2.136 GB / 4.632 GB, free: 37.27 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.394e-06/13.99, allocations: 0 / 4.632 GB, free: 37.27 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003604/14, allocations: 73.52 kB / 4.632 GB, free: 37.26 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.0153/14.01, allocations: 3.599 MB / 4.635 GB, free: 35.94 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/14.01, allocations: 10.22 kB / 4.635 GB, free: 35.94 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007022/14.02, allocations: 0.8309 MB / 4.636 GB, free: 35.77 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007718/14.03, allocations: 2.193 MB / 4.638 GB, free: 35.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003403/14.03, allocations: 209.3 kB / 4.639 GB, free: 35.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001544/14.03, allocations: 287.3 kB / 4.639 GB, free: 35.29 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01057/14.04, allocations: 3.418 MB / 4.642 GB, free: 34.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001652/14.04, allocations: 6.719 kB / 4.642 GB, free: 34.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000872/14.04, allocations: 113.2 kB / 4.642 GB, free: 34.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001782/14.04, allocations: 131.7 kB / 4.642 GB, free: 34.89 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007395/14.05, allocations: 3.031 MB / 4.645 GB, free: 34.86 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.02178/14.07, allocations: 14.46 MB / 4.659 GB, free: 26.32 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003492/14.07, allocations: 2.25 MB / 4.662 GB, free: 25.89 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001938/14.07, allocations: 1.293 MB / 4.663 GB, free: 25.88 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/14.07, allocations: 1.385 MB / 4.664 GB, free: 24.37 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002003/14.08, allocations: 1.167 MB / 4.665 GB, free: 24.29 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=213): time 5.751e-06/14.08, allocations: 1.344 kB / 4.665 GB, free: 24.29 MB / 0.6823 GB Notification: Performance of matching and sorting (n=213): time 0.004597/14.08, allocations: 2.195 MB / 4.668 GB, free: 24.11 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/14.08, allocations: 76.61 kB / 4.668 GB, free: 24.04 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002833/14.08, allocations: 1.244 MB / 4.669 GB, free: 23.88 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002777/14.08, allocations: 70.52 kB / 4.669 GB, free: 23.85 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001287/14.09, allocations: 1.116 MB / 4.67 GB, free: 23.38 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008407/14.09, allocations: 0.7297 MB / 4.671 GB, free: 22.91 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/14.09, allocations: 44.09 kB / 4.671 GB, free: 22.91 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001654/14.09, allocations: 391.8 kB / 4.671 GB, free: 22.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00151/14.09, allocations: 0.8588 MB / 4.672 GB, free: 22.59 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001687/14.09, allocations: 1.268 MB / 4.673 GB, free: 22.18 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00177/14.09, allocations: 1.09 MB / 4.674 GB, free: 22.12 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-05/14.09, allocations: 6.25 kB / 4.674 GB, free: 22.12 MB / 0.6823 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004413/14.1, allocations: 2.504 MB / 4.677 GB, free: 21.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.957e-05/14.1, allocations: 35.95 kB / 4.677 GB, free: 21.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/14.1, allocations: 7.688 kB / 4.677 GB, free: 21.87 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.743e-05/14.1, allocations: 19.09 kB / 4.677 GB, free: 21.87 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/14.1, allocations: 451.7 kB / 4.677 GB, free: 21.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.424e-05/14.1, allocations: 23.41 kB / 4.677 GB, free: 21.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003416/14.1, allocations: 412.1 kB / 4.678 GB, free: 21.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000222/14.1, allocations: 76.36 kB / 4.678 GB, free: 21.77 MB / 0.6823 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 () * 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.0004583/14.1, allocations: 225.4 kB / 4.678 GB, free: 21.66 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007347/14.1, allocations: 215.5 kB / 4.678 GB, free: 21.55 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00447/14.11, allocations: 2.438 MB / 4.681 GB, free: 21.43 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/14.11, allocations: 21.25 kB / 4.681 GB, free: 21.43 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/14.11, allocations: 0 / 4.681 GB, free: 21.43 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00293/14.11, allocations: 2.25 MB / 4.683 GB, free: 21.04 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01223/14.12, allocations: 5.505 MB / 4.688 GB, free: 20.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/14.12, allocations: 3.312 kB / 4.688 GB, free: 20.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002107/14.13, allocations: 465.3 kB / 4.689 GB, free: 20.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-05/14.13, allocations: 14.75 kB / 4.689 GB, free: 20.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002024/14.13, allocations: 59.97 kB / 4.689 GB, free: 20.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.027e-05/14.13, allocations: 13.58 kB / 4.689 GB, free: 20.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/14.13, allocations: 10.38 kB / 4.689 GB, free: 20.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005392/14.13, allocations: 3.799 MB / 4.692 GB, free: 19.79 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001801/14.13, allocations: 0.5403 MB / 4.693 GB, free: 19.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006523/14.13, allocations: 51.19 kB / 4.693 GB, free: 19.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002587/14.14, allocations: 243.6 kB / 4.693 GB, free: 19.54 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002674/14.14, allocations: 135.6 kB / 4.693 GB, free: 19.54 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001798/14.14, allocations: 81.48 kB / 4.693 GB, free: 19.54 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001682/14.14, allocations: 0.9614 MB / 4.694 GB, free: 19.42 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3e-07/14.14, allocations: 0 / 4.694 GB, free: 19.42 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004861/14.14, allocations: 1.368 MB / 4.696 GB, free: 19.29 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.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) * 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.008521/14.15, allocations: 4.855 MB / 4.7 GB, free: 16.89 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005296/14.16, allocations: 2.237 MB / 4.703 GB, free: 16.79 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/14.16, allocations: 0 / 4.703 GB, free: 16.79 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002112/14.16, allocations: 1.16 MB / 4.704 GB, free: 16.79 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006842/14.17, allocations: 1.204 MB / 4.705 GB, free: 16.74 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008703/14.17, allocations: 4.897 MB / 4.71 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001519/14.18, allocations: 2.024 MB / 4.712 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003397/14.18, allocations: 0.7262 MB / 4.712 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007439/14.18, allocations: 201 kB / 4.713 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of SimCode: time 1.633e-06/14.18, allocations: 0 / 4.713 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of Templates: time 0.709/14.89, allocations: 101 MB / 4.811 GB, free: 74.34 MB / 0.7136 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)