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.001251/0.001251, allocations: 176.9 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5159/0.5159, allocations: 90.92 MB / 99.35 MB, free: 2.168 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 221.5 MB / 343.2 MB, free: 1.562 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 87.22 kB / 415.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.03e-05/2.031e-05, allocations: 4 kB / 494.5 MB, free: 52.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1602, allocations: 72.32 MB / 0.5535 GB, free: 12.29 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.966/5.127, allocations: 1.935 GB / 2.489 GB, free: 223.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003566/5.127, allocations: 88.72 kB / 2.489 GB, free: 223.5 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 7.745/12.87, allocations: 2.114 GB / 4.602 GB, free: 57.55 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.833e-06/12.87, allocations: 2.5 kB / 4.602 GB, free: 57.55 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001623/12.87, allocations: 71.22 kB / 4.602 GB, free: 57.54 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.01117/12.88, allocations: 3.603 MB / 4.606 GB, free: 55.86 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/12.88, allocations: 13.73 kB / 4.606 GB, free: 55.86 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006062/12.89, allocations: 0.8258 MB / 4.607 GB, free: 55.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005127/12.9, allocations: 2.181 MB / 4.609 GB, free: 55.14 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.855e-05/12.9, allocations: 86.34 kB / 4.609 GB, free: 55.14 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004125/12.9, allocations: 174.5 kB / 4.609 GB, free: 55.14 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004496/12.9, allocations: 2.697 MB / 4.612 GB, free: 55.12 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004554/12.9, allocations: 3.04 MB / 4.615 GB, free: 54.74 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.912e-05/12.9, allocations: 0 / 4.615 GB, free: 54.74 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002489/12.91, allocations: 3.344 kB / 4.615 GB, free: 54.74 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001214/12.91, allocations: 130.8 kB / 4.615 GB, free: 54.73 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.01454/12.92, allocations: 14.17 MB / 4.629 GB, free: 46.08 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003175/12.92, allocations: 2.8 MB / 4.631 GB, free: 45.09 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001452/12.92, allocations: 1.247 MB / 4.633 GB, free: 44.63 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/12.93, allocations: 1.39 MB / 4.634 GB, free: 43.11 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001647/12.93, allocations: 1.168 MB / 4.635 GB, free: 42.66 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=213): time 5.671e-06/12.93, allocations: 3.844 kB / 4.635 GB, free: 42.66 MB / 0.6823 GB Notification: Performance of matching and sorting (n=213): time 0.003973/12.93, allocations: 2.205 MB / 4.637 GB, free: 41.86 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/12.93, allocations: 74.03 kB / 4.637 GB, free: 41.79 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/12.93, allocations: 0.9752 MB / 4.638 GB, free: 41.38 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001958/12.93, allocations: 29.67 kB / 4.638 GB, free: 41.35 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009777/12.93, allocations: 1.121 MB / 4.639 GB, free: 40.51 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006199/12.93, allocations: 0.6994 MB / 4.64 GB, free: 39.95 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/12.93, allocations: 0 / 4.64 GB, free: 39.95 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001238/12.93, allocations: 390.4 kB / 4.64 GB, free: 39.61 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/12.94, allocations: 0.8687 MB / 4.641 GB, free: 39.26 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/12.94, allocations: 1.266 MB / 4.643 GB, free: 38.15 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001657/12.94, allocations: 1.095 MB / 4.644 GB, free: 37.21 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/12.94, allocations: 4 kB / 4.644 GB, free: 37.21 MB / 0.6823 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003718/12.94, allocations: 2.444 MB / 4.646 GB, free: 35.02 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.939e-05/12.94, allocations: 34.48 kB / 4.646 GB, free: 34.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/12.94, allocations: 12.12 kB / 4.646 GB, free: 34.97 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.968e-05/12.94, allocations: 20 kB / 4.646 GB, free: 34.95 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001872/12.94, allocations: 469.9 kB / 4.647 GB, free: 34.56 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.823e-05/12.94, allocations: 16 kB / 4.647 GB, free: 34.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002911/12.95, allocations: 345 kB / 4.647 GB, free: 34.28 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002038/12.95, allocations: 87.06 kB / 4.647 GB, free: 34.2 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.0003659/12.95, allocations: 148.5 kB / 4.647 GB, free: 34.05 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004498/12.95, allocations: 201.6 kB / 4.647 GB, free: 33.85 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003965/12.95, allocations: 2.397 MB / 4.65 GB, free: 31.82 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/12.95, allocations: 20 kB / 4.65 GB, free: 31.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/12.95, allocations: 3.5 kB / 4.65 GB, free: 31.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00283/12.96, allocations: 2.272 MB / 4.652 GB, free: 29.7 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 postOpt removeSimpleEquations (simulation): time 0.01024/12.97, allocations: 5.535 MB / 4.657 GB, free: 25.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/12.97, allocations: 0 / 4.657 GB, free: 25.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002185/12.97, allocations: 479.3 kB / 4.658 GB, free: 24.69 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-05/12.97, allocations: 12 kB / 4.658 GB, free: 24.68 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002028/12.97, allocations: 40.8 kB / 4.658 GB, free: 24.65 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.558e-05/12.97, allocations: 15.84 kB / 4.658 GB, free: 24.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/12.97, allocations: 3.938 kB / 4.658 GB, free: 24.64 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004941/12.97, allocations: 3.744 MB / 4.661 GB, free: 21.11 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001651/12.97, allocations: 0.5312 MB / 4.662 GB, free: 20.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005771/12.98, allocations: 15.95 kB / 4.662 GB, free: 20.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002697/12.98, allocations: 216.6 kB / 4.662 GB, free: 20.46 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002511/12.98, allocations: 138 kB / 4.662 GB, free: 20.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000176/12.98, allocations: 71.34 kB / 4.662 GB, free: 20.32 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001342/12.98, allocations: 0.7439 MB / 4.663 GB, free: 19.65 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/12.98, allocations: 0 / 4.663 GB, free: 19.65 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004265/12.98, allocations: 1.185 MB / 4.664 GB, free: 18.49 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.009226/12.99, allocations: 5.293 MB / 4.669 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004442/13, allocations: 2.232 MB / 4.672 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/13, allocations: 2 kB / 4.672 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0018/13, allocations: 1.163 MB / 4.673 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005741/13.01, allocations: 1.02 MB / 4.674 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008418/13.01, allocations: 4.863 MB / 4.678 GB, free: 5.363 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001316/13.02, allocations: 2.017 MB / 4.68 GB, free: 3.309 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002776/13.02, allocations: 0.7153 MB / 4.681 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007031/13.02, allocations: 211.3 kB / 4.681 GB, free: 2.414 MB / 0.6823 GB Notification: Performance of SimCode: time 9.62e-07/13.02, allocations: 0 / 4.681 GB, free: 2.414 MB / 0.6823 GB Notification: Performance of Templates: time 0.5967/13.62, allocations: 61.82 MB / 4.742 GB, free: 82.91 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)