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.001181/0.001181, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5194/0.5194, allocations: 90.81 MB / 104.5 MB, free: 9.789 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.358/1.358, allocations: 221.3 MB / 348.3 MB, free: 436 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009753/0.0009755, allocations: 107.7 kB / 421.2 MB, free: 5.488 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.35e-05/3.365e-05, allocations: 0 / 0.4897 GB, free: 5.281 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4123, allocations: 72.31 MB / 0.5603 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.631/5.043, allocations: 1.936 GB / 2.496 GB, free: 38.47 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004646/5.044, allocations: 88.89 kB / 2.496 GB, free: 38.43 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 9.41/14.45, allocations: 2.136 GB / 4.632 GB, free: 43.18 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.755e-06/14.45, allocations: 3.094 kB / 4.632 GB, free: 43.18 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003556/14.45, allocations: 70.88 kB / 4.632 GB, free: 43.18 MB / 0.6823 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.01688/14.47, allocations: 3.599 MB / 4.635 GB, free: 41.64 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.387e-05/14.47, allocations: 13.62 kB / 4.635 GB, free: 41.64 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002051/14.47, allocations: 383.9 kB / 4.636 GB, free: 41.59 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007957/14.48, allocations: 0.8333 MB / 4.637 GB, free: 41.42 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009636/14.49, allocations: 2.188 MB / 4.639 GB, free: 40.95 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004748/14.49, allocations: 212.4 kB / 4.639 GB, free: 40.94 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002008/14.49, allocations: 282.8 kB / 4.639 GB, free: 40.94 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.014/14.51, allocations: 3.421 MB / 4.643 GB, free: 40.55 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002149/14.51, allocations: 2.938 kB / 4.643 GB, free: 40.55 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001164/14.51, allocations: 115.9 kB / 4.643 GB, free: 40.55 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003015/14.51, allocations: 128.6 kB / 4.643 GB, free: 40.54 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008616/14.52, allocations: 3.033 MB / 4.646 GB, free: 40.51 MB / 0.6823 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.02117/14.54, allocations: 14.47 MB / 4.66 GB, free: 31.82 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003212/14.54, allocations: 2.255 MB / 4.662 GB, free: 31.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001646/14.54, allocations: 1.289 MB / 4.663 GB, free: 31.38 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/14.54, allocations: 1.386 MB / 4.665 GB, free: 29.88 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00173/14.55, allocations: 1.167 MB / 4.666 GB, free: 29.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=213): time 4.789e-06/14.55, allocations: 3.938 kB / 4.666 GB, free: 29.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=213): time 0.004092/14.55, allocations: 2.189 MB / 4.668 GB, free: 29.61 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.983e-05/14.55, allocations: 76.84 kB / 4.668 GB, free: 29.55 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002017/14.55, allocations: 1.242 MB / 4.669 GB, free: 29.39 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002046/14.55, allocations: 76.09 kB / 4.669 GB, free: 29.36 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00107/14.55, allocations: 1.116 MB / 4.67 GB, free: 28.89 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007214/14.55, allocations: 0.7281 MB / 4.671 GB, free: 28.42 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/14.55, allocations: 41.72 kB / 4.671 GB, free: 28.42 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001474/14.55, allocations: 388.4 kB / 4.672 GB, free: 28.11 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001364/14.56, allocations: 0.8624 MB / 4.672 GB, free: 28.11 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001657/14.56, allocations: 1.274 MB / 4.674 GB, free: 27.68 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/14.56, allocations: 1.092 MB / 4.675 GB, free: 27.61 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/14.56, allocations: 0 / 4.675 GB, free: 27.61 MB / 0.6823 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004431/14.56, allocations: 2.496 MB / 4.677 GB, free: 27.36 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.662e-05/14.56, allocations: 40.52 kB / 4.677 GB, free: 27.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/14.56, allocations: 7.375 kB / 4.677 GB, free: 27.33 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.026e-05/14.56, allocations: 17.03 kB / 4.677 GB, free: 27.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001921/14.57, allocations: 454 kB / 4.678 GB, free: 27.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.015e-05/14.57, allocations: 21.84 kB / 4.678 GB, free: 27.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003549/14.57, allocations: 405.3 kB / 4.678 GB, free: 27.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002127/14.57, allocations: 87.38 kB / 4.678 GB, free: 27.19 MB / 0.6823 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.0005005/14.57, allocations: 225.9 kB / 4.678 GB, free: 27.05 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004496/14.57, allocations: 214.8 kB / 4.679 GB, free: 26.95 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004329/14.58, allocations: 2.438 MB / 4.681 GB, free: 26.82 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/14.58, allocations: 21.47 kB / 4.681 GB, free: 26.82 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/14.58, allocations: 0 / 4.681 GB, free: 26.82 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002962/14.58, allocations: 2.247 MB / 4.683 GB, free: 26.42 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01292/14.59, allocations: 5.498 MB / 4.689 GB, free: 25.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.315e-05/14.59, allocations: 5.719 kB / 4.689 GB, free: 25.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002472/14.59, allocations: 473.9 kB / 4.689 GB, free: 25.76 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.435e-05/14.59, allocations: 9.625 kB / 4.689 GB, free: 25.76 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002735/14.59, allocations: 56.02 kB / 4.689 GB, free: 25.76 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.249e-05/14.59, allocations: 14.52 kB / 4.689 GB, free: 25.76 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/14.59, allocations: 3.969 kB / 4.689 GB, free: 25.76 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006186/14.6, allocations: 3.802 MB / 4.693 GB, free: 24.21 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002018/14.6, allocations: 0.5419 MB / 4.693 GB, free: 23.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008568/14.6, allocations: 46.09 kB / 4.693 GB, free: 23.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003013/14.61, allocations: 247.2 kB / 4.694 GB, free: 23.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000317/14.61, allocations: 144.1 kB / 4.694 GB, free: 23.78 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001988/14.61, allocations: 76.53 kB / 4.694 GB, free: 23.76 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00213/14.61, allocations: 0.9579 MB / 4.695 GB, free: 23.39 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/14.61, allocations: 0 / 4.695 GB, free: 23.39 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005379/14.61, allocations: 1.374 MB / 4.696 GB, free: 22.96 MB / 0.6823 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) * 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.01643/14.63, allocations: 9.76 MB / 4.706 GB, free: 17.56 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004987/14.64, allocations: 2.235 MB / 4.708 GB, free: 16.72 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/14.64, allocations: 0 / 4.708 GB, free: 16.72 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002376/14.64, allocations: 1.158 MB / 4.709 GB, free: 16.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007468/14.65, allocations: 1.203 MB / 4.71 GB, free: 16.01 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01564/14.66, allocations: 5.619 MB / 4.716 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002131/14.66, allocations: 2.029 MB / 4.718 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00375/14.67, allocations: 0.7267 MB / 4.718 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002017/14.67, allocations: 1.104 MB / 4.719 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of SimCode: time 1.282e-06/14.67, allocations: 0 / 4.719 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9611/15.63, allocations: 136.1 MB / 4.852 GB, free: 46.01 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/15.63, allocations: 193.6 kB / 4.852 GB, free: 45.79 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.53/23.16, allocations: 0 / 4.852 GB, free: 45.79 MB / 0.698 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)