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: "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="IDEAS_dev_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.001197/0.001197, allocations: 175.2 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 1.178/1.178, allocations: 133.4 MB / 146.7 MB, free: 10.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.57/2.57, allocations: 221.3 MB / 400.4 MB, free: 5.766 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.0009927/0.0009926, allocations: 102 kB / 483.3 MB, free: 5.801 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.209e-05/6.222e-05, allocations: 4.844 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2519, allocations: 82.3 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.34/9.592, allocations: 1.945 GB / 2.586 GB, free: 254.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000446/9.593, allocations: 91.33 kB / 2.586 GB, free: 254.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 14.92/24.51, allocations: 2.126 GB / 4.712 GB, free: 56.19 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.407e-06/24.51, allocations: 4 kB / 4.712 GB, free: 56.19 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0007818/24.51, allocations: 71.81 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.02698/24.54, allocations: 3.599 MB / 4.716 GB, free: 54.46 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 9.919e-05/24.54, allocations: 7.312 kB / 4.716 GB, free: 54.46 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003352/24.54, allocations: 388.4 kB / 4.716 GB, free: 54.41 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0125/24.55, allocations: 0.8367 MB / 4.717 GB, free: 54.23 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01354/24.57, allocations: 2.185 MB / 4.719 GB, free: 53.62 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000768/24.57, allocations: 216.9 kB / 4.719 GB, free: 53.61 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002895/24.57, allocations: 281.5 kB / 4.719 GB, free: 53.61 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01844/24.59, allocations: 3.417 MB / 4.723 GB, free: 53.19 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001872/24.59, allocations: 11.62 kB / 4.723 GB, free: 53.18 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009387/24.59, allocations: 111.4 kB / 4.723 GB, free: 53.1 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002615/24.59, allocations: 125.2 kB / 4.723 GB, free: 53.09 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01274/24.6, allocations: 3.029 MB / 4.726 GB, free: 50.93 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.03508/24.64, allocations: 14.45 MB / 4.74 GB, free: 35.8 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004984/24.64, allocations: 2.228 MB / 4.742 GB, free: 33.51 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00281/24.65, allocations: 1.29 MB / 4.743 GB, free: 32.21 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001712/24.65, allocations: 1.386 MB / 4.745 GB, free: 30.54 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003292/24.65, allocations: 1.167 MB / 4.746 GB, free: 29.36 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=213): time 1.113e-05/24.65, allocations: 0 / 4.746 GB, free: 29.36 MB / 0.7605 GB Notification: Performance of matching and sorting (n=213): time 0.006725/24.66, allocations: 2.182 MB / 4.748 GB, free: 27.17 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.971e-05/24.66, allocations: 73.41 kB / 4.748 GB, free: 27.09 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003473/24.66, allocations: 1.244 MB / 4.749 GB, free: 25.84 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0005735/24.66, allocations: 69.7 kB / 4.749 GB, free: 25.77 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001606/24.66, allocations: 1.119 MB / 4.751 GB, free: 24.63 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001613/24.67, allocations: 0.7355 MB / 4.751 GB, free: 23.88 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/24.67, allocations: 40 kB / 4.751 GB, free: 23.84 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002859/24.67, allocations: 393.8 kB / 4.752 GB, free: 23.45 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002249/24.67, allocations: 0.8591 MB / 4.753 GB, free: 22.59 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002633/24.67, allocations: 1.29 MB / 4.754 GB, free: 21.12 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002852/24.67, allocations: 1.083 MB / 4.755 GB, free: 20.04 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-05/24.67, allocations: 4 kB / 4.755 GB, free: 20.04 MB / 0.7605 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.007859/24.68, allocations: 2.492 MB / 4.757 GB, free: 17.53 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001187/24.68, allocations: 33.7 kB / 4.757 GB, free: 17.49 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-05/24.68, allocations: 12.05 kB / 4.757 GB, free: 17.48 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.721e-05/24.68, allocations: 20 kB / 4.757 GB, free: 17.46 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003319/24.69, allocations: 447.3 kB / 4.758 GB, free: 17.02 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-05/24.69, allocations: 23.94 kB / 4.758 GB, free: 17 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006429/24.69, allocations: 361.7 kB / 4.758 GB, free: 16.64 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008057/24.69, allocations: 87.97 kB / 4.758 GB, free: 16.55 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.001077/24.69, allocations: 232.6 kB / 4.758 GB, free: 16.32 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001526/24.7, allocations: 213.5 kB / 4.759 GB, free: 16.11 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007298/24.7, allocations: 2.421 MB / 4.761 GB, free: 13.67 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.734e-05/24.7, allocations: 24 kB / 4.761 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.752e-05/24.7, allocations: 0 / 4.761 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005033/24.71, allocations: 2.232 MB / 4.763 GB, free: 11.35 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01907/24.73, allocations: 5.493 MB / 4.769 GB, free: 5.746 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/24.73, allocations: 0 / 4.769 GB, free: 5.746 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003372/24.73, allocations: 471.7 kB / 4.769 GB, free: 5.285 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.885e-05/24.73, allocations: 15.98 kB / 4.769 GB, free: 5.27 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003019/24.73, allocations: 55.98 kB / 4.769 GB, free: 5.215 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-05/24.73, allocations: 15.92 kB / 4.769 GB, free: 5.199 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/24.73, allocations: 4 kB / 4.769 GB, free: 5.195 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009751/24.74, allocations: 3.991 MB / 4.773 GB, free: 1.098 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003904/24.75, allocations: 0.5371 MB / 4.774 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001597/24.75, allocations: 47.95 kB / 4.774 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005456/24.75, allocations: 243.5 kB / 4.774 GB, free: 260 kB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006188/24.75, allocations: 137.8 kB / 4.774 GB, free: 124 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004377/24.75, allocations: 71.97 kB / 4.774 GB, free: 52 kB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.004781/24.76, allocations: 0.9666 MB / 4.775 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.41e-07/24.76, allocations: 0 / 4.775 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.01101/24.77, allocations: 1.369 MB / 4.776 GB, free: 13.72 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) * 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.03053/24.8, allocations: 9.95 MB / 4.786 GB, free: 3.34 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01008/24.81, allocations: 2.239 MB / 4.788 GB, free: 1.086 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.741e-05/24.81, allocations: 0 / 4.788 GB, free: 1.086 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.221/26.03, allocations: 1.154 MB / 4.789 GB, free: 91.64 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01341/26.05, allocations: 1.203 MB / 4.79 GB, free: 91.62 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03224/26.08, allocations: 5.609 MB / 4.796 GB, free: 90.49 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006311/26.08, allocations: 2.02 MB / 4.798 GB, free: 89.75 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.00833/26.09, allocations: 0.7293 MB / 4.799 GB, free: 89.72 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004969/26.1, allocations: 1.109 MB / 4.8 GB, free: 89.71 MB / 0.7761 GB Notification: Performance of SimCode: time 2.605e-06/26.1, allocations: 0 / 4.8 GB, free: 89.71 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4418/26.54, allocations: 136.1 MB / 4.933 GB, free: 84.48 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003087/26.54, allocations: 195.4 kB / 4.933 GB, free: 84.25 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/38.39, allocations: 3.938 kB / 4.933 GB, free: 84.25 MB / 0.7761 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_CO2TransportStep.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)