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.001577/0.001577, allocations: 175.1 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7738/0.7738, allocations: 130.5 MB / 143.8 MB, free: 13.59 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.576/1.576, allocations: 221.3 MB / 396.8 MB, free: 9.164 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001016, allocations: 95.23 kB / 478.9 MB, free: 10.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.291e-05/5.293e-05, allocations: 4.062 kB / 0.5551 GB, free: 86.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1778, allocations: 81.58 MB / 0.6347 GB, free: 12.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.955/5.133, allocations: 1.945 GB / 2.58 GB, free: 205 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/5.133, allocations: 86.66 kB / 2.58 GB, free: 205 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 8.647/13.78, allocations: 2.126 GB / 4.706 GB, free: 2.977 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.874e-06/13.78, allocations: 0 / 4.706 GB, free: 2.977 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0002587/13.78, allocations: 79.92 kB / 4.706 GB, free: 2.898 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.6658/14.45, allocations: 3.589 MB / 4.71 GB, free: 59.47 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/14.45, allocations: 8.875 kB / 4.71 GB, free: 59.47 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007417/14.45, allocations: 0.8294 MB / 4.71 GB, free: 59.3 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007325/14.46, allocations: 2.179 MB / 4.713 GB, free: 58.98 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003169/14.46, allocations: 214.6 kB / 4.713 GB, free: 58.97 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00117/14.46, allocations: 287.1 kB / 4.713 GB, free: 58.97 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007703/14.47, allocations: 3.42 MB / 4.716 GB, free: 58.57 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.29e-05/14.47, allocations: 5.547 kB / 4.716 GB, free: 58.57 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003294/14.47, allocations: 116.2 kB / 4.717 GB, free: 58.57 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001676/14.47, allocations: 132.9 kB / 4.717 GB, free: 58.56 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005989/14.48, allocations: 3.027 MB / 4.72 GB, free: 58.53 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.02246/14.5, allocations: 14.44 MB / 4.734 GB, free: 50.11 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003856/14.5, allocations: 2.229 MB / 4.736 GB, free: 49.7 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002511/14.51, allocations: 1.287 MB / 4.737 GB, free: 49.68 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001196/14.51, allocations: 1.388 MB / 4.738 GB, free: 48.18 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002701/14.51, allocations: 1.164 MB / 4.74 GB, free: 48.11 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=213): time 6.081e-06/14.51, allocations: 1.156 kB / 4.74 GB, free: 48.11 MB / 0.7605 GB Notification: Performance of matching and sorting (n=213): time 0.004151/14.51, allocations: 2.188 MB / 4.742 GB, free: 47.92 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/14.51, allocations: 79.44 kB / 4.742 GB, free: 47.85 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001924/14.52, allocations: 1.244 MB / 4.743 GB, free: 47.69 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001924/14.52, allocations: 70.11 kB / 4.743 GB, free: 47.66 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009616/14.52, allocations: 1.118 MB / 4.744 GB, free: 47.32 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006449/14.52, allocations: 0.7322 MB / 4.745 GB, free: 46.95 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/14.52, allocations: 42.61 kB / 4.745 GB, free: 46.95 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001222/14.52, allocations: 386.4 kB / 4.745 GB, free: 46.64 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001276/14.52, allocations: 0.8507 MB / 4.746 GB, free: 46.64 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/14.52, allocations: 1.29 MB / 4.747 GB, free: 46.2 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/14.52, allocations: 1.089 MB / 4.748 GB, free: 46.14 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/14.52, allocations: 5 kB / 4.748 GB, free: 46.14 MB / 0.7605 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004034/14.53, allocations: 2.495 MB / 4.751 GB, free: 45.92 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.827e-05/14.53, allocations: 37.98 kB / 4.751 GB, free: 45.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/14.53, allocations: 10.5 kB / 4.751 GB, free: 45.89 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.17e-05/14.53, allocations: 17.5 kB / 4.751 GB, free: 45.89 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001833/14.53, allocations: 449.2 kB / 4.751 GB, free: 45.89 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.948e-05/14.53, allocations: 30.23 kB / 4.751 GB, free: 45.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00312/14.53, allocations: 370.8 kB / 4.752 GB, free: 45.83 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001843/14.53, allocations: 84.83 kB / 4.752 GB, free: 45.83 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.0004116/14.53, allocations: 231.5 kB / 4.752 GB, free: 45.72 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004709/14.53, allocations: 216.6 kB / 4.752 GB, free: 45.62 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00407/14.54, allocations: 2.423 MB / 4.755 GB, free: 45.5 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/14.54, allocations: 19.72 kB / 4.755 GB, free: 45.5 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.036e-06/14.54, allocations: 3.953 kB / 4.755 GB, free: 45.5 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002806/14.54, allocations: 2.23 MB / 4.757 GB, free: 45.1 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009022/14.55, allocations: 5.485 MB / 4.762 GB, free: 44.51 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/14.55, allocations: 3.406 kB / 4.762 GB, free: 44.51 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002098/14.55, allocations: 472 kB / 4.763 GB, free: 44.51 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.795e-05/14.55, allocations: 14.03 kB / 4.763 GB, free: 44.51 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001474/14.55, allocations: 55.53 kB / 4.763 GB, free: 44.51 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.126e-05/14.55, allocations: 10.53 kB / 4.763 GB, free: 44.51 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/14.55, allocations: 7.062 kB / 4.763 GB, free: 44.51 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005203/14.56, allocations: 3.995 MB / 4.767 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001799/14.56, allocations: 0.5391 MB / 4.767 GB, free: 43.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005037/14.56, allocations: 44.41 kB / 4.767 GB, free: 43.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002483/14.56, allocations: 242 kB / 4.767 GB, free: 43.69 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002866/14.56, allocations: 135 kB / 4.768 GB, free: 43.69 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/14.56, allocations: 73.64 kB / 4.768 GB, free: 43.69 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001499/14.56, allocations: 0.9709 MB / 4.769 GB, free: 43.57 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.4e-07/14.56, allocations: 0 / 4.769 GB, free: 43.57 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.006255/14.57, allocations: 1.368 MB / 4.77 GB, free: 43.5 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.007351/14.58, allocations: 4.861 MB / 4.775 GB, free: 41.17 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.004115/14.58, allocations: 2.238 MB / 4.777 GB, free: 41.07 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 9.347e-06/14.58, allocations: 3.594 kB / 4.777 GB, free: 41.07 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001764/14.58, allocations: 1.157 MB / 4.778 GB, free: 41.06 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006329/14.59, allocations: 1.204 MB / 4.779 GB, free: 41.03 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008495/14.6, allocations: 4.885 MB / 4.784 GB, free: 39.96 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001486/14.6, allocations: 2.022 MB / 4.786 GB, free: 39.21 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.00346/14.6, allocations: 0.729 MB / 4.787 GB, free: 39.18 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007439/14.6, allocations: 205.7 kB / 4.787 GB, free: 39.18 MB / 0.7605 GB Notification: Performance of SimCode: time 1.633e-06/14.6, allocations: 0 / 4.787 GB, free: 39.18 MB / 0.7605 GB Notification: Performance of Templates: time 0.134/14.74, allocations: 101.1 MB / 4.886 GB, free: 34.3 MB / 0.7605 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)