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.00163/0.00163, allocations: 169 kB / 7.646 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7572/0.7572, allocations: 133.6 MB / 141.6 MB, free: 2.828 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.434/1.434, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0009474/0.000947, allocations: 96.91 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.082e-05/3.07e-05, allocations: 0 / 0.5536 GB, free: 8.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5187/0.5187, allocations: 82.3 MB / 0.6339 GB, free: 40.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.425/4.944, allocations: 1.945 GB / 2.578 GB, free: 91.56 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/4.944, allocations: 87.95 kB / 2.579 GB, free: 91.48 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.341/13.28, allocations: 2.104 GB / 4.683 GB, free: 63.09 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.385e-06/13.28, allocations: 0 / 4.683 GB, free: 63.09 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0002805/13.28, allocations: 77.36 kB / 4.683 GB, free: 63.08 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.0155/13.3, allocations: 3.603 MB / 4.686 GB, free: 61.83 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/13.3, allocations: 13.28 kB / 4.686 GB, free: 61.83 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007273/13.31, allocations: 0.8306 MB / 4.687 GB, free: 61.66 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006943/13.31, allocations: 2.186 MB / 4.689 GB, free: 61.22 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/13.31, allocations: 88 kB / 4.689 GB, free: 61.22 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008193/13.32, allocations: 174.7 kB / 4.69 GB, free: 61.21 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005707/13.32, allocations: 2.683 MB / 4.692 GB, free: 61.2 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005901/13.33, allocations: 3.033 MB / 4.695 GB, free: 60.82 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.76e-05/13.33, allocations: 9.219 kB / 4.695 GB, free: 60.82 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002621/13.33, allocations: 3.938 kB / 4.695 GB, free: 60.82 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001391/13.33, allocations: 127.5 kB / 4.695 GB, free: 60.82 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.01909/13.35, allocations: 14.14 MB / 4.709 GB, free: 52.34 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003352/13.35, allocations: 2.772 MB / 4.712 GB, free: 51.35 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001601/13.35, allocations: 1.259 MB / 4.713 GB, free: 51.33 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001209/13.35, allocations: 1.389 MB / 4.714 GB, free: 49.83 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001809/13.35, allocations: 1.161 MB / 4.716 GB, free: 49.76 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=213): time 5.941e-06/13.36, allocations: 3.188 kB / 4.716 GB, free: 49.76 MB / 0.7605 GB Notification: Performance of matching and sorting (n=213): time 0.004363/13.36, allocations: 2.201 MB / 4.718 GB, free: 49.58 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/13.36, allocations: 75.19 kB / 4.718 GB, free: 49.52 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/13.36, allocations: 0.9788 MB / 4.719 GB, free: 49.36 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002081/13.36, allocations: 28.48 kB / 4.719 GB, free: 49.33 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001018/13.36, allocations: 1.113 MB / 4.72 GB, free: 48.82 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007054/13.36, allocations: 0.7043 MB / 4.72 GB, free: 48.35 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/13.36, allocations: 1.062 kB / 4.72 GB, free: 48.35 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001378/13.36, allocations: 385.8 kB / 4.721 GB, free: 48.05 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001236/13.36, allocations: 0.8712 MB / 4.722 GB, free: 48.04 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001639/13.37, allocations: 1.276 MB / 4.723 GB, free: 47.61 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002009/13.37, allocations: 1.098 MB / 4.724 GB, free: 47.59 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.21e-05/13.37, allocations: 3.156 kB / 4.724 GB, free: 47.59 MB / 0.7605 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004384/13.37, allocations: 2.437 MB / 4.726 GB, free: 47.41 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5.466e-05/13.37, allocations: 37.55 kB / 4.726 GB, free: 47.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/13.37, allocations: 6.875 kB / 4.726 GB, free: 47.38 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.356e-05/13.37, allocations: 18.25 kB / 4.726 GB, free: 47.38 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001961/13.37, allocations: 466.8 kB / 4.727 GB, free: 47.38 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.429e-05/13.37, allocations: 23.62 kB / 4.727 GB, free: 47.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003361/13.38, allocations: 306.3 kB / 4.727 GB, free: 47.29 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002029/13.38, allocations: 86.02 kB / 4.727 GB, free: 47.29 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.0004236/13.38, allocations: 151.2 kB / 4.727 GB, free: 47.18 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003911/13.38, allocations: 2.157 MB / 4.73 GB, free: 47 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000506/13.38, allocations: 200.3 kB / 4.73 GB, free: 46.91 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004177/13.39, allocations: 2.388 MB / 4.732 GB, free: 46.79 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.022e-05/13.39, allocations: 27.02 kB / 4.732 GB, free: 46.79 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.547e-06/13.39, allocations: 3.281 kB / 4.732 GB, free: 46.79 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003111/13.39, allocations: 2.248 MB / 4.734 GB, free: 46.39 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.0116/13.4, allocations: 5.507 MB / 4.74 GB, free: 45.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.268e-06/13.4, allocations: 3.375 kB / 4.74 GB, free: 45.52 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002203/13.4, allocations: 492.8 kB / 4.74 GB, free: 45.52 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.308e-05/13.4, allocations: 11.67 kB / 4.74 GB, free: 45.52 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000164/13.4, allocations: 42.73 kB / 4.74 GB, free: 45.52 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-05/13.4, allocations: 9.062 kB / 4.74 GB, free: 45.52 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/13.4, allocations: 6.031 kB / 4.74 GB, free: 45.52 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005379/13.41, allocations: 4.021 MB / 4.744 GB, free: 44.91 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001694/13.41, allocations: 0.5324 MB / 4.745 GB, free: 44.69 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000415/13.41, allocations: 12.28 kB / 4.745 GB, free: 44.69 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002423/13.41, allocations: 214.5 kB / 4.745 GB, free: 44.68 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002449/13.42, allocations: 136.5 kB / 4.745 GB, free: 44.67 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001553/13.42, allocations: 80.91 kB / 4.745 GB, free: 44.67 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001159/13.42, allocations: 0.7403 MB / 4.746 GB, free: 44.56 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4e-07/13.42, allocations: 0 / 4.746 GB, free: 44.56 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.004061/13.42, allocations: 1.191 MB / 4.747 GB, free: 44.41 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.01637/13.44, allocations: 10.41 MB / 4.757 GB, free: 40.36 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003887/13.44, allocations: 2.243 MB / 4.759 GB, free: 40.26 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 9.417e-06/13.44, allocations: 0 / 4.759 GB, free: 40.26 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001714/13.44, allocations: 1.167 MB / 4.76 GB, free: 40.26 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006008/13.45, allocations: 1.021 MB / 4.761 GB, free: 40.23 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/13.46, allocations: 5.484 MB / 4.767 GB, free: 39.04 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001641/13.46, allocations: 2.025 MB / 4.769 GB, free: 38.29 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.003332/13.46, allocations: 0.712 MB / 4.77 GB, free: 38.27 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001637/13.47, allocations: 1.087 MB / 4.771 GB, free: 38.26 MB / 0.7605 GB Notification: Performance of SimCode: time 1.492e-06/13.47, allocations: 5.688 kB / 4.771 GB, free: 38.26 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1499/13.62, allocations: 89.55 MB / 4.858 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002224/13.62, allocations: 160.8 kB / 4.858 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.172/18.79, allocations: 0 / 4.858 GB, free: 15.53 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)