Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep") translateModel(IDEAS.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001005/0.001005, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7325/0.7325, allocations: 133.6 MB / 141.6 MB, free: 2.883 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 221.5 MB / 395.4 MB, free: 10.77 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.0008944/0.0008945, allocations: 104.6 kB / 478.2 MB, free: 1.289 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.67e-05/1.673e-05, allocations: 4 kB / 0.5535 GB, free: 9.043 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4759/0.4759, allocations: 82.3 MB / 0.6338 GB, free: 40.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.707/5.183, allocations: 1.945 GB / 2.578 GB, free: 92.29 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/5.183, allocations: 87.95 kB / 2.578 GB, free: 92.2 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.052/14.24, allocations: 2.104 GB / 4.683 GB, free: 62.16 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.945e-06/14.24, allocations: 0 / 4.683 GB, free: 62.16 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0004349/14.24, allocations: 73.19 kB / 4.683 GB, free: 62.14 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.01811/14.25, allocations: 3.595 MB / 4.686 GB, free: 60.9 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/14.25, allocations: 9.531 kB / 4.686 GB, free: 60.9 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007296/14.26, allocations: 0.8368 MB / 4.687 GB, free: 60.73 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008025/14.27, allocations: 2.179 MB / 4.689 GB, free: 60.28 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002148/14.27, allocations: 90.19 kB / 4.689 GB, free: 60.28 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001461/14.27, allocations: 174.8 kB / 4.689 GB, free: 60.27 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007448/14.28, allocations: 2.685 MB / 4.692 GB, free: 60.26 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009718/14.29, allocations: 3.025 MB / 4.695 GB, free: 59.88 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001556/14.29, allocations: 12.52 kB / 4.695 GB, free: 59.88 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000834/14.29, allocations: 2.75 kB / 4.695 GB, free: 59.88 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001547/14.29, allocations: 129 kB / 4.695 GB, free: 59.88 MB / 0.7605 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.02189/14.31, allocations: 14.15 MB / 4.709 GB, free: 51.39 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0042/14.32, allocations: 2.782 MB / 4.712 GB, free: 50.4 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002/14.32, allocations: 1.251 MB / 4.713 GB, free: 50.38 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001176/14.32, allocations: 1.384 MB / 4.714 GB, free: 48.88 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002073/14.32, allocations: 1.161 MB / 4.715 GB, free: 48.81 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=213): time 4.208e-06/14.32, allocations: 0 / 4.715 GB, free: 48.81 MB / 0.7605 GB Notification: Performance of matching and sorting (n=213): time 0.004692/14.33, allocations: 2.203 MB / 4.718 GB, free: 48.63 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/14.33, allocations: 73.09 kB / 4.718 GB, free: 48.57 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002195/14.33, allocations: 0.9803 MB / 4.719 GB, free: 48.41 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002731/14.33, allocations: 31.92 kB / 4.719 GB, free: 48.38 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001195/14.33, allocations: 1.117 MB / 4.72 GB, free: 47.88 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000827/14.33, allocations: 0.7011 MB / 4.72 GB, free: 47.4 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/14.33, allocations: 0 / 4.72 GB, free: 47.4 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000184/14.33, allocations: 390.2 kB / 4.721 GB, free: 47.1 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001426/14.33, allocations: 0.8676 MB / 4.722 GB, free: 47.09 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001711/14.33, allocations: 1.277 MB / 4.723 GB, free: 46.66 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002254/14.34, allocations: 1.095 MB / 4.724 GB, free: 46.64 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.417e-05/14.34, allocations: 5.594 kB / 4.724 GB, free: 46.64 MB / 0.7605 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004749/14.34, allocations: 2.427 MB / 4.726 GB, free: 46.46 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5.713e-05/14.34, allocations: 39.5 kB / 4.726 GB, free: 46.43 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.653e-05/14.34, allocations: 9.062 kB / 4.726 GB, free: 46.43 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.029e-05/14.34, allocations: 14.59 kB / 4.726 GB, free: 46.43 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002088/14.34, allocations: 476.8 kB / 4.727 GB, free: 46.43 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.617e-05/14.34, allocations: 21.84 kB / 4.727 GB, free: 46.43 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003354/14.35, allocations: 302.7 kB / 4.727 GB, free: 46.34 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002994/14.35, allocations: 87.66 kB / 4.727 GB, free: 46.34 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 () * 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.0005229/14.35, allocations: 155.9 kB / 4.727 GB, free: 46.23 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000808/14.35, allocations: 194.3 kB / 4.728 GB, free: 46.13 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004734/14.35, allocations: 2.385 MB / 4.73 GB, free: 46.01 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/14.35, allocations: 21.34 kB / 4.73 GB, free: 46.01 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/14.35, allocations: 0 / 4.73 GB, free: 46.01 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00322/14.36, allocations: 2.253 MB / 4.732 GB, free: 45.61 MB / 0.7605 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.01198/14.37, allocations: 5.516 MB / 4.738 GB, free: 44.74 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/14.37, allocations: 4.562 kB / 4.738 GB, free: 44.74 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002405/14.37, allocations: 487.7 kB / 4.738 GB, free: 44.74 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-05/14.37, allocations: 10.94 kB / 4.738 GB, free: 44.74 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002648/14.37, allocations: 37.14 kB / 4.738 GB, free: 44.74 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.053e-05/14.37, allocations: 15.7 kB / 4.738 GB, free: 44.73 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.493e-06/14.37, allocations: 5.344 kB / 4.738 GB, free: 44.73 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006054/14.38, allocations: 4.014 MB / 4.742 GB, free: 44.13 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001837/14.38, allocations: 0.5367 MB / 4.742 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000708/14.38, allocations: 13.55 kB / 4.742 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00283/14.38, allocations: 216.9 kB / 4.743 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000261/14.38, allocations: 143.9 kB / 4.743 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001925/14.38, allocations: 75.39 kB / 4.743 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001446/14.38, allocations: 0.7392 MB / 4.744 GB, free: 43.78 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5.21e-07/14.38, allocations: 2.375 kB / 4.744 GB, free: 43.78 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.004154/14.39, allocations: 1.19 MB / 4.745 GB, free: 43.63 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) * 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.007842/14.4, allocations: 5.278 MB / 4.75 GB, free: 41.25 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.004313/14.4, allocations: 2.244 MB / 4.752 GB, free: 41.15 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/14.4, allocations: 0 / 4.752 GB, free: 41.15 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002039/14.4, allocations: 1.163 MB / 4.753 GB, free: 41.15 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00615/14.41, allocations: 1.025 MB / 4.754 GB, free: 41.11 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/14.42, allocations: 4.824 MB / 4.759 GB, free: 40.03 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002341/14.42, allocations: 2.023 MB / 4.761 GB, free: 39.28 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.003934/14.43, allocations: 0.7162 MB / 4.762 GB, free: 39.26 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001115/14.43, allocations: 206.1 kB / 4.762 GB, free: 39.25 MB / 0.7605 GB Notification: Performance of SimCode: time 1.633e-06/14.43, allocations: 0 / 4.762 GB, free: 39.25 MB / 0.7605 GB Notification: Performance of Templates: time 0.0924/14.52, allocations: 61.95 MB / 4.822 GB, free: 29.32 MB / 0.7605 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)