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.00719/0.007189, allocations: 170 kB / 15.11 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6929/0.6929, allocations: 135.2 MB / 151 MB, free: 13.81 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.477/1.477, allocations: 223.2 MB / 406.8 MB, free: 3.25 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.001009/0.001009, allocations: 99.66 kB / 489.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003985/0.0003986, allocations: 12 kB / 0.5692 GB, free: 14.11 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5211/0.5216, allocations: 82.29 MB / 0.6495 GB, free: 36.19 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.895/7.416, allocations: 1.945 GB / 2.595 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003672/7.417, allocations: 105 kB / 2.595 GB, free: 181.5 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 7.936/15.35, allocations: 2.128 GB / 4.723 GB, free: 40.2 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.274e-06/15.35, allocations: 0 / 4.723 GB, free: 40.2 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0003518/15.35, allocations: 71.98 kB / 4.723 GB, free: 40.12 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.01786/15.37, allocations: 3.965 MB / 4.727 GB, free: 36.12 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/15.37, allocations: 8.031 kB / 4.727 GB, free: 36.11 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002157/15.37, allocations: 388.1 kB / 4.727 GB, free: 35.72 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007376/15.38, allocations: 0.839 MB / 4.728 GB, free: 34.88 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007823/15.39, allocations: 2.197 MB / 4.73 GB, free: 32.63 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003155/15.39, allocations: 217.4 kB / 4.73 GB, free: 32.41 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001691/15.39, allocations: 283.9 kB / 4.731 GB, free: 32.14 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0127/15.4, allocations: 3.499 MB / 4.734 GB, free: 28.5 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002148/15.4, allocations: 11.94 kB / 4.734 GB, free: 28.49 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0011/15.4, allocations: 108 kB / 4.734 GB, free: 28.38 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001612/15.4, allocations: 125.3 kB / 4.734 GB, free: 28.26 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008218/15.41, allocations: 3.148 MB / 4.737 GB, free: 25.1 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.02247/15.44, allocations: 14.45 MB / 4.751 GB, free: 9.449 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003807/15.44, allocations: 2.283 MB / 4.754 GB, free: 7.109 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001084/15.44, allocations: 1.39 MB / 4.755 GB, free: 5.426 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002589/15.44, allocations: 1.206 MB / 4.756 GB, free: 4.207 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=213): time 5.961e-06/15.44, allocations: 0 / 4.756 GB, free: 4.207 MB / 0.7605 GB Notification: Performance of matching and sorting (n=213): time 0.006533/15.45, allocations: 3.133 MB / 4.759 GB, free: 1.07 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/15.45, allocations: 77.41 kB / 4.759 GB, free: 0.9844 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003008/15.45, allocations: 1.264 MB / 4.761 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0003565/15.45, allocations: 73.64 kB / 4.761 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001678/15.45, allocations: 1.111 MB / 4.762 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001074/15.46, allocations: 0.7393 MB / 4.762 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/15.46, allocations: 40 kB / 4.763 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002512/15.46, allocations: 393.9 kB / 4.763 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001861/15.46, allocations: 0.8941 MB / 4.764 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00223/15.46, allocations: 1.332 MB / 4.765 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002229/15.46, allocations: 1.119 MB / 4.766 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.508e-05/15.46, allocations: 4 kB / 4.766 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005651/15.47, allocations: 2.578 MB / 4.769 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.85e-05/15.47, allocations: 33.7 kB / 4.769 GB, free: 7.176 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.511e-05/15.47, allocations: 8.625 kB / 4.769 GB, free: 7.168 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.588e-05/15.47, allocations: 20 kB / 4.769 GB, free: 7.148 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002223/15.47, allocations: 455.3 kB / 4.769 GB, free: 6.703 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-05/15.47, allocations: 16 kB / 4.769 GB, free: 6.688 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00386/15.47, allocations: 365.8 kB / 4.77 GB, free: 6.328 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003376/15.48, allocations: 79.98 kB / 4.77 GB, free: 6.25 MB / 0.7761 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.00233/15.48, allocations: 0.6848 MB / 4.77 GB, free: 5.555 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001092/15.48, allocations: 221.5 kB / 4.771 GB, free: 5.336 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006573/15.49, allocations: 2.503 MB / 4.773 GB, free: 2.812 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.067e-05/15.49, allocations: 20 kB / 4.773 GB, free: 2.793 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/15.49, allocations: 0 / 4.773 GB, free: 2.793 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004237/15.49, allocations: 2.307 MB / 4.775 GB, free: 428 kB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6572/16.15, allocations: 5.563 MB / 4.781 GB, free: 80.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/16.15, allocations: 3.375 kB / 4.781 GB, free: 80.54 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002486/16.15, allocations: 470.6 kB / 4.781 GB, free: 80.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-05/16.15, allocations: 14.36 kB / 4.781 GB, free: 80.54 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001828/16.15, allocations: 57.34 kB / 4.781 GB, free: 80.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.448e-05/16.15, allocations: 14.94 kB / 4.781 GB, free: 80.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/16.15, allocations: 3.797 kB / 4.781 GB, free: 80.54 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00683/16.16, allocations: 4.106 MB / 4.785 GB, free: 80.05 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002127/16.16, allocations: 0.5466 MB / 4.786 GB, free: 79.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004134/16.16, allocations: 49.47 kB / 4.786 GB, free: 79.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002117/16.16, allocations: 241 kB / 4.786 GB, free: 79.91 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002618/16.16, allocations: 138.7 kB / 4.786 GB, free: 79.91 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/16.16, allocations: 73.02 kB / 4.786 GB, free: 79.91 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001483/16.16, allocations: 0.9789 MB / 4.787 GB, free: 79.8 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.5e-07/16.16, allocations: 3.469 kB / 4.787 GB, free: 79.8 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00437/16.17, allocations: 1.37 MB / 4.789 GB, free: 79.74 MB / 0.7761 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.01478/16.18, allocations: 10.05 MB / 4.798 GB, free: 75.77 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00459/16.19, allocations: 2.319 MB / 4.801 GB, free: 75.66 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/16.19, allocations: 1.859 kB / 4.801 GB, free: 75.66 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001969/16.19, allocations: 1.198 MB / 4.802 GB, free: 75.65 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006007/16.19, allocations: 1.207 MB / 4.803 GB, free: 75.62 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02967/16.22, allocations: 21.17 MB / 4.824 GB, free: 65.05 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002571/16.23, allocations: 2.028 MB / 4.826 GB, free: 64.3 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003378/16.23, allocations: 0.7229 MB / 4.826 GB, free: 64.27 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001811/16.23, allocations: 1.11 MB / 4.827 GB, free: 64.27 MB / 0.7761 GB Notification: Performance of SimCode: time 1.072e-06/16.23, allocations: 0.8438 kB / 4.827 GB, free: 64.27 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2109/16.44, allocations: 125.5 MB / 4.95 GB, free: 59.12 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/16.44, allocations: 202.3 kB / 4.95 GB, free: 58.89 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.603/23.05, allocations: 3.25 kB / 4.95 GB, free: 58.89 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)