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-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: "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 174.9 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-master/package.mo): time 0.7831/0.7831, allocations: 133.4 MB / 146.7 MB, free: 10.8 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.492/1.492, allocations: 221.3 MB / 400.4 MB, free: 5.84 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.0008857/0.0008858, allocations: 90.75 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.468e-05/3.469e-05, allocations: 2.75 kB / 0.5601 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1676, allocations: 82.31 MB / 0.6405 GB, free: 7.75 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.711/4.879, allocations: 1.945 GB / 2.586 GB, free: 197.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/4.879, allocations: 85.8 kB / 2.586 GB, free: 197.1 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.13/14.01, allocations: 2.126 GB / 4.712 GB, free: 56.18 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.225e-06/14.01, allocations: 2.375 kB / 4.712 GB, free: 56.18 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0002654/14.01, allocations: 74.91 kB / 4.712 GB, free: 56.18 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.01665/14.03, allocations: 3.601 MB / 4.716 GB, free: 55.24 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/14.03, allocations: 10.62 kB / 4.716 GB, free: 55.24 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002276/14.03, allocations: 387.4 kB / 4.716 GB, free: 55.19 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007716/14.04, allocations: 0.8358 MB / 4.717 GB, free: 55.02 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006746/14.04, allocations: 2.184 MB / 4.719 GB, free: 54.69 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002384/14.04, allocations: 214.2 kB / 4.719 GB, free: 54.68 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001086/14.04, allocations: 284.5 kB / 4.719 GB, free: 54.68 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007303/14.05, allocations: 3.417 MB / 4.723 GB, free: 54.29 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.747e-05/14.05, allocations: 9.094 kB / 4.723 GB, free: 54.29 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000354/14.05, allocations: 118.8 kB / 4.723 GB, free: 54.29 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001355/14.05, allocations: 127.8 kB / 4.723 GB, free: 54.28 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005102/14.06, allocations: 3.024 MB / 4.726 GB, free: 54.25 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.01622/14.07, allocations: 14.45 MB / 4.74 GB, free: 45.81 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002816/14.08, allocations: 2.224 MB / 4.742 GB, free: 45.39 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001608/14.08, allocations: 1.292 MB / 4.743 GB, free: 45.37 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009927/14.08, allocations: 1.383 MB / 4.745 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001675/14.08, allocations: 1.169 MB / 4.746 GB, free: 43.79 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=213): time 4.508e-06/14.08, allocations: 1.781 kB / 4.746 GB, free: 43.79 MB / 0.7605 GB Notification: Performance of matching and sorting (n=213): time 0.003909/14.08, allocations: 2.18 MB / 4.748 GB, free: 43.61 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/14.08, allocations: 80.33 kB / 4.748 GB, free: 43.54 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001862/14.09, allocations: 1.249 MB / 4.749 GB, free: 43.38 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001813/14.09, allocations: 68.02 kB / 4.749 GB, free: 43.34 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009092/14.09, allocations: 1.122 MB / 4.751 GB, free: 42.9 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005835/14.09, allocations: 0.7331 MB / 4.751 GB, free: 42.43 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/14.09, allocations: 37.72 kB / 4.751 GB, free: 42.43 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001195/14.09, allocations: 388 kB / 4.752 GB, free: 42.12 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/14.09, allocations: 0.859 MB / 4.753 GB, free: 42.12 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001425/14.09, allocations: 1.283 MB / 4.754 GB, free: 41.68 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001519/14.09, allocations: 1.093 MB / 4.755 GB, free: 41.61 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/14.09, allocations: 0 / 4.755 GB, free: 41.61 MB / 0.7605 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003825/14.1, allocations: 2.496 MB / 4.757 GB, free: 41.4 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.631e-05/14.1, allocations: 41 kB / 4.757 GB, free: 41.37 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/14.1, allocations: 9.844 kB / 4.757 GB, free: 41.37 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.376e-05/14.1, allocations: 19.12 kB / 4.757 GB, free: 41.37 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001813/14.1, allocations: 455.5 kB / 4.758 GB, free: 41.36 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.93e-05/14.1, allocations: 17.19 kB / 4.758 GB, free: 41.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00318/14.1, allocations: 370.1 kB / 4.758 GB, free: 41.26 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001743/14.1, allocations: 79.69 kB / 4.758 GB, free: 41.26 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.0004224/14.1, allocations: 223.5 kB / 4.758 GB, free: 41.15 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004239/14.1, allocations: 214.8 kB / 4.759 GB, free: 41.05 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003973/14.11, allocations: 2.426 MB / 4.761 GB, free: 40.93 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/14.11, allocations: 21.31 kB / 4.761 GB, free: 40.93 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/14.11, allocations: 3.953 kB / 4.761 GB, free: 40.93 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002787/14.11, allocations: 2.232 MB / 4.763 GB, free: 40.53 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009266/14.12, allocations: 5.486 MB / 4.769 GB, free: 39.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.337e-06/14.12, allocations: 4.812 kB / 4.769 GB, free: 39.91 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002093/14.12, allocations: 469.2 kB / 4.769 GB, free: 39.91 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-05/14.12, allocations: 9.156 kB / 4.769 GB, free: 39.91 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001436/14.12, allocations: 63.27 kB / 4.769 GB, free: 39.91 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.149e-05/14.12, allocations: 7.344 kB / 4.769 GB, free: 39.91 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/14.12, allocations: 6.062 kB / 4.769 GB, free: 39.91 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005169/14.13, allocations: 3.993 MB / 4.773 GB, free: 39.29 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001767/14.13, allocations: 0.5414 MB / 4.774 GB, free: 39.06 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003716/14.13, allocations: 42.56 kB / 4.774 GB, free: 39.06 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002048/14.13, allocations: 246.2 kB / 4.774 GB, free: 39.05 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002571/14.13, allocations: 136.8 kB / 4.774 GB, free: 39.04 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/14.13, allocations: 78.97 kB / 4.774 GB, free: 39.04 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001493/14.13, allocations: 0.9653 MB / 4.775 GB, free: 38.92 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.4e-07/14.13, allocations: 0 / 4.775 GB, free: 38.92 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.004642/14.14, allocations: 1.369 MB / 4.776 GB, free: 38.79 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.01334/14.15, allocations: 9.948 MB / 4.786 GB, free: 34.76 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.004595/14.16, allocations: 2.242 MB / 4.788 GB, free: 34.66 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/14.16, allocations: 0 / 4.788 GB, free: 34.66 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.00171/14.16, allocations: 1.158 MB / 4.789 GB, free: 34.65 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00656/14.16, allocations: 1.2 MB / 4.79 GB, free: 34.62 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/14.18, allocations: 5.613 MB / 4.796 GB, free: 33.44 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00142/14.18, allocations: 2.024 MB / 4.798 GB, free: 32.69 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.003224/14.18, allocations: 0.7256 MB / 4.799 GB, free: 32.67 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001579/14.18, allocations: 1.108 MB / 4.8 GB, free: 32.66 MB / 0.7605 GB Notification: Performance of SimCode: time 1.473e-06/14.18, allocations: 0 / 4.8 GB, free: 32.66 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2154/14.4, allocations: 136.1 MB / 4.933 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/14.4, allocations: 180.4 kB / 4.933 GB, free: 9.574 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.047/21.44, allocations: 0 / 4.933 GB, free: 9.574 MB / 0.7761 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_CO2TransportStep.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)