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.009994/0.009993, allocations: 171.7 kB / 15.12 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7095/0.7095, allocations: 135.2 MB / 151.1 MB, free: 13.84 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.589/1.589, allocations: 223.2 MB / 406.9 MB, free: 3.207 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.001151/0.00115, allocations: 100.2 kB / 490 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003613, allocations: 12 kB / 0.5691 GB, free: 14.14 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5528/0.5532, allocations: 82.3 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.225/6.778, allocations: 1.945 GB / 2.595 GB, free: 28.49 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003315/6.779, allocations: 94.77 kB / 2.595 GB, free: 28.4 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.506/15.28, allocations: 2.128 GB / 4.723 GB, free: 64.26 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.597e-06/15.28, allocations: 0 / 4.723 GB, free: 64.26 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0002791/15.29, allocations: 76.42 kB / 4.723 GB, free: 64.25 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.01868/15.3, allocations: 3.953 MB / 4.727 GB, free: 62.39 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/15.3, allocations: 7.031 kB / 4.727 GB, free: 62.39 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007499/15.31, allocations: 0.8389 MB / 4.728 GB, free: 62.21 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007957/15.32, allocations: 2.196 MB / 4.73 GB, free: 61.6 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002877/15.32, allocations: 217.5 kB / 4.73 GB, free: 61.59 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001391/15.32, allocations: 290.8 kB / 4.73 GB, free: 61.58 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009288/15.33, allocations: 3.489 MB / 4.734 GB, free: 61.16 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-05/15.33, allocations: 11.91 kB / 4.734 GB, free: 61.16 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003714/15.33, allocations: 117.2 kB / 4.734 GB, free: 61.15 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001821/15.33, allocations: 128.1 kB / 4.734 GB, free: 61.14 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006103/15.34, allocations: 3.149 MB / 4.737 GB, free: 60.81 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.0181/15.36, allocations: 14.44 MB / 4.751 GB, free: 48.16 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003249/15.36, allocations: 2.293 MB / 4.753 GB, free: 45.81 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001048/15.36, allocations: 1.39 MB / 4.755 GB, free: 44.13 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001797/15.36, allocations: 1.21 MB / 4.756 GB, free: 42.91 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=213): time 4.439e-06/15.36, allocations: 0 / 4.756 GB, free: 42.91 MB / 0.7605 GB Notification: Performance of matching and sorting (n=213): time 0.005484/15.37, allocations: 3.137 MB / 4.759 GB, free: 39.77 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/15.37, allocations: 73.41 kB / 4.759 GB, free: 39.68 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0021/15.37, allocations: 1.264 MB / 4.76 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002622/15.37, allocations: 69.7 kB / 4.76 GB, free: 38.34 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001047/15.37, allocations: 1.115 MB / 4.761 GB, free: 37.21 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000752/15.37, allocations: 0.7316 MB / 4.762 GB, free: 36.46 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/15.37, allocations: 40 kB / 4.762 GB, free: 36.43 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001596/15.37, allocations: 385.9 kB / 4.762 GB, free: 36.04 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001531/15.37, allocations: 0.898 MB / 4.763 GB, free: 35.14 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001871/15.38, allocations: 1.328 MB / 4.765 GB, free: 33.64 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001801/15.38, allocations: 1.123 MB / 4.766 GB, free: 32.52 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-05/15.38, allocations: 4 kB / 4.766 GB, free: 32.51 MB / 0.7605 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005079/15.38, allocations: 2.574 MB / 4.768 GB, free: 29.92 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 7.438e-05/15.38, allocations: 41.69 kB / 4.768 GB, free: 29.88 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.468e-05/15.38, allocations: 4.656 kB / 4.768 GB, free: 29.87 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.326e-05/15.38, allocations: 23.94 kB / 4.768 GB, free: 29.85 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001994/15.38, allocations: 451.3 kB / 4.769 GB, free: 29.41 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.388e-05/15.38, allocations: 23.92 kB / 4.769 GB, free: 29.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003896/15.39, allocations: 369.8 kB / 4.769 GB, free: 29.02 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001953/15.39, allocations: 79.98 kB / 4.769 GB, free: 28.95 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.001933/15.39, allocations: 0.6925 MB / 4.77 GB, free: 28.24 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007393/15.39, allocations: 213.5 kB / 4.77 GB, free: 28.03 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004197/15.4, allocations: 2.507 MB / 4.773 GB, free: 25.51 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/15.4, allocations: 20 kB / 4.773 GB, free: 25.49 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.699e-06/15.4, allocations: 0 / 4.773 GB, free: 25.49 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002867/15.4, allocations: 2.311 MB / 4.775 GB, free: 23.11 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009987/15.41, allocations: 5.568 MB / 4.78 GB, free: 17.42 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.218e-06/15.41, allocations: 4 kB / 4.78 GB, free: 17.42 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002172/15.41, allocations: 467.4 kB / 4.781 GB, free: 16.96 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-05/15.41, allocations: 20.08 kB / 4.781 GB, free: 16.94 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00015/15.41, allocations: 55.97 kB / 4.781 GB, free: 16.89 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-05/15.41, allocations: 11.94 kB / 4.781 GB, free: 16.88 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/15.41, allocations: 4 kB / 4.781 GB, free: 16.87 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005504/15.42, allocations: 4.104 MB / 4.785 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002038/15.42, allocations: 0.5371 MB / 4.785 GB, free: 12.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004718/15.42, allocations: 48 kB / 4.785 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002368/15.42, allocations: 243.5 kB / 4.786 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002532/15.42, allocations: 141.8 kB / 4.786 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001355/15.42, allocations: 67.97 kB / 4.786 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001447/15.42, allocations: 0.9788 MB / 4.787 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9.62e-07/15.42, allocations: 4 kB / 4.787 GB, free: 10.63 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.005037/15.43, allocations: 1.372 MB / 4.788 GB, free: 9.258 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.008553/15.44, allocations: 4.84 MB / 4.793 GB, free: 4.113 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.004662/15.44, allocations: 2.317 MB / 4.795 GB, free: 1.781 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/15.44, allocations: 4 kB / 4.795 GB, free: 1.777 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001817/15.44, allocations: 1.196 MB / 4.796 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006681/15.45, allocations: 1.211 MB / 4.797 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01324/15.46, allocations: 7.003 MB / 4.804 GB, free: 8.406 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001952/15.47, allocations: 2.026 MB / 4.806 GB, free: 6.344 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003754/15.47, allocations: 0.7246 MB / 4.807 GB, free: 5.641 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008182/15.47, allocations: 199.4 kB / 4.807 GB, free: 5.445 MB / 0.7761 GB Notification: Performance of SimCode: time 2.224e-06/15.47, allocations: 0 / 4.807 GB, free: 5.445 MB / 0.7761 GB Notification: Performance of Templates: time 0.7791/16.25, allocations: 90.86 MB / 4.896 GB, free: 89.06 MB / 0.7761 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)