Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep") translateModel(IDEAS.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.01116/0.01116, allocations: 171.3 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7835/0.7835, allocations: 132.3 MB / 148.1 MB, free: 248 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.755/1.755, allocations: 223.2 MB / 403.2 MB, free: 6.789 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 90.86 kB / 485.5 MB, free: 14.19 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000428/0.0004279, allocations: 8 kB / 0.5641 GB, free: 2.156 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6059/0.6064, allocations: 81.57 MB / 0.6437 GB, free: 39.29 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.923/6.53, allocations: 1.945 GB / 2.589 GB, free: 57.21 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004534/6.53, allocations: 95.95 kB / 2.589 GB, free: 57.11 MB / 0.6823 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 9.406/15.94, allocations: 2.128 GB / 4.717 GB, free: 68.47 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.894e-06/15.94, allocations: 3.656 kB / 4.717 GB, free: 68.47 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001976/15.94, allocations: 70.55 kB / 4.717 GB, free: 68.46 MB / 0.7605 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.01639/15.95, allocations: 3.962 MB / 4.721 GB, free: 66.67 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/15.95, allocations: 6.562 kB / 4.721 GB, free: 66.67 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007258/15.96, allocations: 0.8364 MB / 4.722 GB, free: 66.5 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007261/15.97, allocations: 2.207 MB / 4.724 GB, free: 65.98 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000199/15.97, allocations: 210.7 kB / 4.724 GB, free: 65.98 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008646/15.97, allocations: 284.3 kB / 4.724 GB, free: 65.98 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006657/15.98, allocations: 3.491 MB / 4.728 GB, free: 65.57 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.571e-05/15.98, allocations: 15.22 kB / 4.728 GB, free: 65.56 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003084/15.98, allocations: 122.9 kB / 4.728 GB, free: 65.56 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001348/15.98, allocations: 125.3 kB / 4.728 GB, free: 65.55 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00573/15.98, allocations: 3.145 MB / 4.731 GB, free: 65.5 MB / 0.7605 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.01912/16, allocations: 14.44 MB / 4.745 GB, free: 56.8 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003502/16, allocations: 2.299 MB / 4.747 GB, free: 56.38 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001266/16.01, allocations: 1.384 MB / 4.749 GB, free: 54.88 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002228/16.01, allocations: 1.203 MB / 4.75 GB, free: 54.8 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=213): time 4.509e-06/16.01, allocations: 0 / 4.75 GB, free: 54.8 MB / 0.7605 GB Notification: Performance of matching and sorting (n=213): time 0.005818/16.01, allocations: 3.135 MB / 4.753 GB, free: 54.61 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/16.01, allocations: 75.88 kB / 4.753 GB, free: 54.54 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002008/16.02, allocations: 1.259 MB / 4.754 GB, free: 54.38 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.000226/16.02, allocations: 77.88 kB / 4.754 GB, free: 54.35 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001067/16.02, allocations: 1.115 MB / 4.755 GB, free: 53.89 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006843/16.02, allocations: 0.736 MB / 4.756 GB, free: 53.41 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/16.02, allocations: 38.94 kB / 4.756 GB, free: 53.41 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001388/16.02, allocations: 389.9 kB / 4.757 GB, free: 53.1 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001459/16.02, allocations: 0.8981 MB / 4.757 GB, free: 53.09 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/16.02, allocations: 1.322 MB / 4.759 GB, free: 52.65 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001752/16.02, allocations: 1.128 MB / 4.76 GB, free: 52.59 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/16.02, allocations: 2 kB / 4.76 GB, free: 52.59 MB / 0.7605 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004487/16.03, allocations: 2.582 MB / 4.762 GB, free: 52.33 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.983e-05/16.03, allocations: 34.92 kB / 4.762 GB, free: 52.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/16.03, allocations: 10.5 kB / 4.762 GB, free: 52.3 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.823e-05/16.03, allocations: 20.25 kB / 4.762 GB, free: 52.3 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001902/16.03, allocations: 450.2 kB / 4.763 GB, free: 52.27 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.824e-05/16.03, allocations: 22.86 kB / 4.763 GB, free: 52.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003395/16.03, allocations: 363.5 kB / 4.763 GB, free: 52.17 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001835/16.03, allocations: 82.81 kB / 4.763 GB, free: 52.17 MB / 0.7605 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.00181/16.04, allocations: 0.6833 MB / 4.764 GB, free: 52.02 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006276/16.04, allocations: 216.7 kB / 4.764 GB, free: 51.91 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004304/16.04, allocations: 2.507 MB / 4.767 GB, free: 51.79 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-05/16.04, allocations: 20.75 kB / 4.767 GB, free: 51.79 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/16.04, allocations: 2.125 kB / 4.767 GB, free: 51.79 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003194/16.04, allocations: 2.311 MB / 4.769 GB, free: 50.7 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01071/16.05, allocations: 5.563 MB / 4.774 GB, free: 48.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/16.05, allocations: 1.344 kB / 4.774 GB, free: 48.3 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00224/16.06, allocations: 473.1 kB / 4.775 GB, free: 48.26 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.919e-05/16.06, allocations: 11.78 kB / 4.775 GB, free: 48.26 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001561/16.06, allocations: 63.3 kB / 4.775 GB, free: 48.23 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.646e-05/16.06, allocations: 13.34 kB / 4.775 GB, free: 48.22 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/16.06, allocations: 3.938 kB / 4.775 GB, free: 48.22 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005983/16.06, allocations: 4.11 MB / 4.779 GB, free: 46.28 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002235/16.06, allocations: 0.5364 MB / 4.779 GB, free: 45.94 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004556/16.07, allocations: 44.53 kB / 4.779 GB, free: 45.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002313/16.07, allocations: 246.3 kB / 4.78 GB, free: 45.87 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002771/16.07, allocations: 144.8 kB / 4.78 GB, free: 45.84 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001478/16.07, allocations: 74.83 kB / 4.78 GB, free: 45.82 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001531/16.07, allocations: 0.9816 MB / 4.781 GB, free: 45.45 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.6e-07/16.07, allocations: 0 / 4.781 GB, free: 45.45 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.005064/16.07, allocations: 1.363 MB / 4.782 GB, free: 45.03 MB / 0.7605 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 (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.008068/16.08, allocations: 4.851 MB / 4.787 GB, free: 41.22 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.004339/16.09, allocations: 2.315 MB / 4.789 GB, free: 39.16 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/16.09, allocations: 4.188 kB / 4.789 GB, free: 39.16 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001784/16.09, allocations: 1.194 MB / 4.79 GB, free: 38.11 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006127/16.1, allocations: 1.207 MB / 4.791 GB, free: 37.23 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/16.11, allocations: 7 MB / 4.798 GB, free: 30.9 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001543/16.11, allocations: 2.02 MB / 4.8 GB, free: 29.3 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.00351/16.11, allocations: 0.7343 MB / 4.801 GB, free: 28.77 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000714/16.11, allocations: 202.2 kB / 4.801 GB, free: 28.59 MB / 0.7605 GB Notification: Performance of SimCode: time 1.122e-06/16.11, allocations: 4 kB / 4.801 GB, free: 28.58 MB / 0.7605 GB Notification: Performance of Templates: time 0.7296/16.84, allocations: 90.85 MB / 4.89 GB, free: 94.63 MB / 0.7761 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)