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.001026/0.001026, allocations: 180.7 kB / 7.649 MB, free: 1.395 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7812/0.7812, allocations: 133.6 MB / 141.6 MB, free: 2.891 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.0009293/0.0009293, allocations: 102.4 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.346e-05/2.347e-05, allocations: 4 kB / 0.5535 GB, free: 8.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4652/0.4652, allocations: 82.31 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.431/4.896, allocations: 1.945 GB / 2.578 GB, free: 53.18 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/4.897, allocations: 85.14 kB / 2.579 GB, free: 53.14 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 8.135/13.03, allocations: 2.104 GB / 4.683 GB, free: 69.97 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.865e-06/13.03, allocations: 0 / 4.683 GB, free: 69.97 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0004655/13.03, allocations: 75.61 kB / 4.683 GB, free: 69.96 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.01699/13.05, allocations: 3.6 MB / 4.686 GB, free: 68.56 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/13.05, allocations: 7.406 kB / 4.686 GB, free: 68.56 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007267/13.06, allocations: 0.8394 MB / 4.687 GB, free: 68.39 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007428/13.06, allocations: 2.172 MB / 4.689 GB, free: 67.93 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001902/13.06, allocations: 90.64 kB / 4.689 GB, free: 67.93 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001215/13.07, allocations: 172.4 kB / 4.69 GB, free: 67.92 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006903/13.07, allocations: 2.692 MB / 4.692 GB, free: 67.91 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008925/13.08, allocations: 3.031 MB / 4.695 GB, free: 67.53 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-05/13.08, allocations: 6.969 kB / 4.695 GB, free: 67.53 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000274/13.08, allocations: 8.719 kB / 4.695 GB, free: 67.53 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001405/13.08, allocations: 131 kB / 4.695 GB, free: 67.52 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.01728/13.1, allocations: 14.14 MB / 4.709 GB, free: 59.04 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003335/13.1, allocations: 2.776 MB / 4.712 GB, free: 58.05 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001615/13.1, allocations: 1.251 MB / 4.713 GB, free: 58.03 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001069/13.11, allocations: 1.391 MB / 4.714 GB, free: 56.52 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001674/13.11, allocations: 1.164 MB / 4.716 GB, free: 56.45 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=213): time 4.178e-06/13.11, allocations: 0 / 4.716 GB, free: 56.45 MB / 0.7605 GB Notification: Performance of matching and sorting (n=213): time 0.004694/13.11, allocations: 2.196 MB / 4.718 GB, free: 56.28 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/13.11, allocations: 80.16 kB / 4.718 GB, free: 56.21 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001776/13.11, allocations: 0.9782 MB / 4.719 GB, free: 56.06 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.000187/13.11, allocations: 29.36 kB / 4.719 GB, free: 56.03 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009839/13.11, allocations: 1.119 MB / 4.72 GB, free: 55.52 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007257/13.12, allocations: 0.7041 MB / 4.72 GB, free: 55.04 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/13.12, allocations: 0 / 4.72 GB, free: 55.04 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001703/13.12, allocations: 379.3 kB / 4.721 GB, free: 54.74 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/13.12, allocations: 0.8752 MB / 4.722 GB, free: 54.73 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/13.12, allocations: 1.273 MB / 4.723 GB, free: 54.3 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001949/13.12, allocations: 1.098 MB / 4.724 GB, free: 54.27 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-05/13.12, allocations: 3.219 kB / 4.724 GB, free: 54.27 MB / 0.7605 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005292/13.13, allocations: 2.439 MB / 4.726 GB, free: 54.1 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 7.26e-05/13.13, allocations: 34.05 kB / 4.726 GB, free: 54.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-05/13.13, allocations: 11.12 kB / 4.726 GB, free: 54.07 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.495e-05/13.13, allocations: 19.41 kB / 4.726 GB, free: 54.07 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002112/13.13, allocations: 466.2 kB / 4.727 GB, free: 54.07 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.293e-05/13.13, allocations: 27.28 kB / 4.727 GB, free: 54.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003492/13.13, allocations: 303.4 kB / 4.727 GB, free: 53.98 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002758/13.13, allocations: 88 kB / 4.727 GB, free: 53.98 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.0005168/13.13, allocations: 143.3 kB / 4.727 GB, free: 53.87 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004569/13.14, allocations: 2.16 MB / 4.73 GB, free: 53.7 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007252/13.14, allocations: 196.8 kB / 4.73 GB, free: 53.6 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004273/13.14, allocations: 2.385 MB / 4.732 GB, free: 53.48 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/13.14, allocations: 27.08 kB / 4.732 GB, free: 53.48 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/13.14, allocations: 0 / 4.732 GB, free: 53.48 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003091/13.15, allocations: 2.251 MB / 4.734 GB, free: 53.08 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 postOpt removeSimpleEquations (simulation): time 0.01083/13.16, allocations: 5.508 MB / 4.74 GB, free: 52.21 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/13.16, allocations: 4.156 kB / 4.74 GB, free: 52.21 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002248/13.16, allocations: 493.7 kB / 4.74 GB, free: 52.21 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.981e-05/13.16, allocations: 7.344 kB / 4.74 GB, free: 52.21 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001862/13.16, allocations: 42.31 kB / 4.74 GB, free: 52.21 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-05/13.16, allocations: 13.69 kB / 4.74 GB, free: 52.21 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/13.16, allocations: 3.625 kB / 4.74 GB, free: 52.21 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005674/13.16, allocations: 4.018 MB / 4.744 GB, free: 51.6 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001773/13.17, allocations: 0.5346 MB / 4.745 GB, free: 51.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006212/13.17, allocations: 21 kB / 4.745 GB, free: 51.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002697/13.17, allocations: 213 kB / 4.745 GB, free: 51.36 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002295/13.17, allocations: 141.8 kB / 4.745 GB, free: 51.36 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001867/13.17, allocations: 83.08 kB / 4.745 GB, free: 51.36 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001402/13.17, allocations: 0.7357 MB / 4.746 GB, free: 51.25 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.5e-07/13.17, allocations: 0 / 4.746 GB, free: 51.25 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003839/13.18, allocations: 1.189 MB / 4.747 GB, free: 51.1 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.01343/13.19, allocations: 10.41 MB / 4.757 GB, free: 47.06 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003827/13.19, allocations: 2.244 MB / 4.759 GB, free: 46.96 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/13.19, allocations: 4 kB / 4.759 GB, free: 46.96 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001778/13.19, allocations: 1.172 MB / 4.76 GB, free: 46.95 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006094/13.2, allocations: 1.014 MB / 4.761 GB, free: 46.92 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/13.21, allocations: 5.469 MB / 4.767 GB, free: 45.57 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001381/13.21, allocations: 2.028 MB / 4.769 GB, free: 44.78 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.002941/13.22, allocations: 0.7072 MB / 4.769 GB, free: 44.69 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001588/13.22, allocations: 1.09 MB / 4.771 GB, free: 44.68 MB / 0.7605 GB Notification: Performance of SimCode: time 1.092e-06/13.22, allocations: 4 kB / 4.771 GB, free: 44.68 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.735/13.95, allocations: 89.55 MB / 4.858 GB, free: 75.24 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001641/13.95, allocations: 165.8 kB / 4.858 GB, free: 75.05 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.249/19.2, allocations: 0.5625 kB / 4.858 GB, free: 75.05 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)