Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="IBPSA_latest_IBPSA_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.001191/0.001191, allocations: 184 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4904/0.4904, allocations: 91.98 MB / 108.5 MB, free: 13.11 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.765/1.765, allocations: 223.2 MB / 354.3 MB, free: 12.17 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001103, allocations: 108.2 kB / 427.4 MB, free: 3.93 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003454/0.0003454, allocations: 12 kB / 0.4983 GB, free: 42.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.185, allocations: 72.3 MB / 0.5689 GB, free: 1.84 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.804/6.989, allocations: 1.936 GB / 2.505 GB, free: 147.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003565/6.99, allocations: 90.58 kB / 2.505 GB, free: 147 MB / 0.6042 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.104/15.09, allocations: 2.138 GB / 4.642 GB, free: 53.65 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.874e-06/15.09, allocations: 0 / 4.642 GB, free: 53.65 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002367/15.09, allocations: 75.59 kB / 4.642 GB, free: 53.65 MB / 0.698 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.01615/15.11, allocations: 3.968 MB / 4.646 GB, free: 52.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/15.11, allocations: 10.78 kB / 4.646 GB, free: 52.54 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001397/15.11, allocations: 395 kB / 4.647 GB, free: 52.49 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00648/15.12, allocations: 0.8344 MB / 4.647 GB, free: 52.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006465/15.12, allocations: 2.193 MB / 4.65 GB, free: 51.99 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002178/15.12, allocations: 212.7 kB / 4.65 GB, free: 51.98 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00102/15.13, allocations: 293.3 kB / 4.65 GB, free: 51.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006645/15.13, allocations: 3.497 MB / 4.653 GB, free: 51.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.338e-05/15.13, allocations: 7.031 kB / 4.653 GB, free: 51.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003048/15.13, allocations: 117.3 kB / 4.654 GB, free: 51.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001261/15.13, allocations: 125.4 kB / 4.654 GB, free: 51.58 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006012/15.14, allocations: 3.155 MB / 4.657 GB, free: 51.55 MB / 0.698 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.01918/15.16, allocations: 14.46 MB / 4.671 GB, free: 43.06 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003442/15.16, allocations: 2.324 MB / 4.673 GB, free: 42.64 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001079/15.16, allocations: 1.38 MB / 4.675 GB, free: 41.14 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002083/15.16, allocations: 1.206 MB / 4.676 GB, free: 41.07 MB / 0.698 GB Notification: Performance of pre-optimization done (n=213): time 4.539e-06/15.16, allocations: 0 / 4.676 GB, free: 41.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=213): time 0.006054/15.17, allocations: 3.153 MB / 4.679 GB, free: 40.87 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/15.17, allocations: 78.66 kB / 4.679 GB, free: 40.81 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002489/15.17, allocations: 1.259 MB / 4.68 GB, free: 40.65 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002665/15.17, allocations: 68.95 kB / 4.68 GB, free: 40.62 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001116/15.17, allocations: 1.121 MB / 4.681 GB, free: 40.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006994/15.18, allocations: 0.7312 MB / 4.682 GB, free: 39.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/15.18, allocations: 43.12 kB / 4.682 GB, free: 39.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001485/15.18, allocations: 391 kB / 4.682 GB, free: 39.38 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001486/15.18, allocations: 0.8982 MB / 4.683 GB, free: 39.37 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0017/15.18, allocations: 1.311 MB / 4.685 GB, free: 38.95 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001717/15.18, allocations: 1.118 MB / 4.686 GB, free: 38.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.884e-06/15.18, allocations: 1.875 kB / 4.686 GB, free: 38.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004309/15.18, allocations: 2.586 MB / 4.688 GB, free: 38.68 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.656e-05/15.18, allocations: 36.02 kB / 4.688 GB, free: 38.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/15.18, allocations: 8.781 kB / 4.688 GB, free: 38.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.34e-05/15.18, allocations: 16.69 kB / 4.688 GB, free: 38.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001891/15.19, allocations: 459.6 kB / 4.689 GB, free: 38.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.628e-05/15.19, allocations: 20.25 kB / 4.689 GB, free: 38.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003177/15.19, allocations: 402.2 kB / 4.689 GB, free: 38.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000175/15.19, allocations: 86.08 kB / 4.689 GB, free: 38.55 MB / 0.698 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.001713/15.19, allocations: 0.6831 MB / 4.69 GB, free: 38.43 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004519/15.19, allocations: 218.8 kB / 4.69 GB, free: 38.33 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004251/15.2, allocations: 2.514 MB / 4.692 GB, free: 38.21 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/15.2, allocations: 19.72 kB / 4.693 GB, free: 38.21 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/15.2, allocations: 7.891 kB / 4.693 GB, free: 38.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003146/15.2, allocations: 2.322 MB / 4.695 GB, free: 37.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009888/15.21, allocations: 5.585 MB / 4.7 GB, free: 37.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/15.21, allocations: 3.25 kB / 4.7 GB, free: 37.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002188/15.21, allocations: 465.8 kB / 4.701 GB, free: 37.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.725e-05/15.21, allocations: 12.12 kB / 4.701 GB, free: 37.18 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001525/15.21, allocations: 58.17 kB / 4.701 GB, free: 37.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.139e-05/15.21, allocations: 12.03 kB / 4.701 GB, free: 37.18 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/15.21, allocations: 1.094 kB / 4.701 GB, free: 37.18 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005798/15.22, allocations: 3.919 MB / 4.705 GB, free: 36.56 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002063/15.22, allocations: 0.5433 MB / 4.705 GB, free: 36.33 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003534/15.22, allocations: 50.91 kB / 4.705 GB, free: 36.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00211/15.22, allocations: 245.7 kB / 4.705 GB, free: 36.32 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002484/15.22, allocations: 139 kB / 4.706 GB, free: 36.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/15.22, allocations: 73.22 kB / 4.706 GB, free: 36.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001467/15.22, allocations: 0.9807 MB / 4.707 GB, free: 36.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.5e-07/15.22, allocations: 3.469 kB / 4.707 GB, free: 36.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004336/15.23, allocations: 1.371 MB / 4.708 GB, free: 36.07 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,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.01414/15.24, allocations: 9.86 MB / 4.718 GB, free: 32.06 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005698/15.25, allocations: 2.317 MB / 4.72 GB, free: 31.95 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/15.25, allocations: 0 / 4.72 GB, free: 31.95 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002488/15.25, allocations: 1.195 MB / 4.721 GB, free: 31.95 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006799/15.26, allocations: 1.204 MB / 4.722 GB, free: 31.92 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03262/15.29, allocations: 21.2 MB / 4.743 GB, free: 21.33 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00221/15.29, allocations: 2.025 MB / 4.745 GB, free: 20.58 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003305/15.3, allocations: 0.7227 MB / 4.746 GB, free: 20.55 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001588/15.3, allocations: 1.114 MB / 4.747 GB, free: 20.55 MB / 0.698 GB Notification: Performance of SimCode: time 1.623e-06/15.3, allocations: 0 / 4.747 GB, free: 20.55 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1933/15.49, allocations: 125.4 MB / 4.869 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/15.49, allocations: 219.6 kB / 4.869 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.474/21.97, allocations: 4 kB / 4.869 GB, free: 13.54 MB / 0.7292 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_CO2TransportStep.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)