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.01361/0.01361, allocations: 171.2 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8813/0.8813, allocations: 135.2 MB / 151 MB, free: 13.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.935/1.935, allocations: 223.2 MB / 406.8 MB, free: 3.219 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.001426/0.001426, allocations: 113.1 kB / 489.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005612/0.0005615, allocations: 8 kB / 0.5691 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7862/0.7867, allocations: 82.31 MB / 0.6495 GB, free: 36.09 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.443/6.23, allocations: 1.945 GB / 2.595 GB, free: 28.02 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/6.231, allocations: 95.09 kB / 2.595 GB, free: 27.93 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 9.296/15.53, allocations: 2.128 GB / 4.723 GB, free: 64.18 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.635e-06/15.53, allocations: 0 / 4.723 GB, free: 64.18 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0002217/15.53, allocations: 71.92 kB / 4.723 GB, free: 64.16 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.0172/15.54, allocations: 3.955 MB / 4.727 GB, free: 62.31 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 6.196e-05/15.54, allocations: 8.062 kB / 4.727 GB, free: 62.31 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002011/15.55, allocations: 389.6 kB / 4.727 GB, free: 62.26 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007225/15.55, allocations: 0.8451 MB / 4.728 GB, free: 62.07 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007236/15.56, allocations: 2.202 MB / 4.73 GB, free: 61.46 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002314/15.56, allocations: 215.4 kB / 4.73 GB, free: 61.45 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001012/15.56, allocations: 288.1 kB / 4.731 GB, free: 61.44 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007079/15.57, allocations: 3.493 MB / 4.734 GB, free: 61.02 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.227e-05/15.57, allocations: 3.938 kB / 4.734 GB, free: 61.02 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003143/15.57, allocations: 115.8 kB / 4.734 GB, free: 61.02 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001269/15.57, allocations: 131.8 kB / 4.734 GB, free: 61 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005852/15.58, allocations: 3.143 MB / 4.737 GB, free: 60.44 MB / 0.7605 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.02142/15.6, allocations: 14.44 MB / 4.751 GB, free: 47.4 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003419/15.6, allocations: 2.294 MB / 4.754 GB, free: 45.05 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001139/15.6, allocations: 1.386 MB / 4.755 GB, free: 43.37 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002015/15.6, allocations: 1.21 MB / 4.756 GB, free: 42.14 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=213): time 4.819e-06/15.6, allocations: 0 / 4.756 GB, free: 42.14 MB / 0.7605 GB Notification: Performance of matching and sorting (n=213): time 0.006439/15.61, allocations: 3.133 MB / 4.759 GB, free: 39.01 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.558e-05/15.61, allocations: 77.39 kB / 4.759 GB, free: 38.92 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0023/15.61, allocations: 1.26 MB / 4.761 GB, free: 37.66 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002814/15.61, allocations: 69.7 kB / 4.761 GB, free: 37.58 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001427/15.61, allocations: 1.123 MB / 4.762 GB, free: 36.44 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008847/15.62, allocations: 0.7354 MB / 4.762 GB, free: 35.7 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/15.62, allocations: 40 kB / 4.763 GB, free: 35.66 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001624/15.62, allocations: 381.9 kB / 4.763 GB, free: 35.28 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00143/15.62, allocations: 0.898 MB / 4.764 GB, free: 34.38 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001794/15.62, allocations: 1.328 MB / 4.765 GB, free: 32.88 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001721/15.62, allocations: 1.123 MB / 4.766 GB, free: 31.75 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/15.62, allocations: 3.938 kB / 4.766 GB, free: 31.75 MB / 0.7605 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.0044/15.63, allocations: 2.586 MB / 4.769 GB, free: 29.14 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5.395e-05/15.63, allocations: 33.7 kB / 4.769 GB, free: 29.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.07e-05/15.63, allocations: 15.97 kB / 4.769 GB, free: 29.09 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.928e-05/15.63, allocations: 16 kB / 4.769 GB, free: 29.07 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001885/15.63, allocations: 455.8 kB / 4.769 GB, free: 28.63 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.654e-05/15.63, allocations: 19.94 kB / 4.769 GB, free: 28.61 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003322/15.63, allocations: 361.8 kB / 4.77 GB, free: 28.25 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001727/15.63, allocations: 87.41 kB / 4.77 GB, free: 28.17 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 () * 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.001815/15.63, allocations: 0.6887 MB / 4.77 GB, free: 27.47 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004669/15.63, allocations: 216.8 kB / 4.771 GB, free: 27.26 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003981/15.64, allocations: 2.503 MB / 4.773 GB, free: 24.74 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/15.64, allocations: 24 kB / 4.773 GB, free: 24.72 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/15.64, allocations: 0 / 4.773 GB, free: 24.72 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003008/15.64, allocations: 2.308 MB / 4.775 GB, free: 22.34 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009905/15.65, allocations: 5.572 MB / 4.781 GB, free: 16.65 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/15.65, allocations: 320 / 4.781 GB, free: 16.65 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002094/15.65, allocations: 475.4 kB / 4.781 GB, free: 16.19 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.52e-05/15.65, allocations: 12 kB / 4.781 GB, free: 16.18 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000143/15.65, allocations: 55.97 kB / 4.781 GB, free: 16.12 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-05/15.65, allocations: 15.94 kB / 4.781 GB, free: 16.11 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/15.65, allocations: 4 kB / 4.781 GB, free: 16.1 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005474/15.66, allocations: 4.104 MB / 4.785 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001956/15.66, allocations: 0.541 MB / 4.786 GB, free: 11.33 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003617/15.66, allocations: 44 kB / 4.786 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002122/15.66, allocations: 247.5 kB / 4.786 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002544/15.66, allocations: 133.8 kB / 4.786 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001388/15.66, allocations: 75.95 kB / 4.786 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001468/15.66, allocations: 0.9749 MB / 4.787 GB, free: 9.867 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.5e-07/15.66, allocations: 3.938 kB / 4.787 GB, free: 9.863 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.004633/15.67, allocations: 1.372 MB / 4.789 GB, free: 8.488 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) * 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.01423/15.68, allocations: 10.06 MB / 4.798 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.004541/15.69, allocations: 2.322 MB / 4.801 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/15.69, allocations: 0 / 4.801 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001889/15.69, allocations: 1.194 MB / 4.802 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006164/15.7, allocations: 1.213 MB / 4.803 GB, free: 9.309 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6582/16.35, allocations: 21.15 MB / 4.824 GB, free: 87.59 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002465/16.36, allocations: 2.022 MB / 4.826 GB, free: 86.84 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.004592/16.36, allocations: 0.7258 MB / 4.826 GB, free: 86.82 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002573/16.36, allocations: 1.11 MB / 4.827 GB, free: 86.81 MB / 0.7761 GB Notification: Performance of SimCode: time 1.984e-06/16.36, allocations: 3.562 kB / 4.827 GB, free: 86.81 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2131/16.58, allocations: 125.5 MB / 4.95 GB, free: 82.62 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001818/16.58, allocations: 212.4 kB / 4.95 GB, free: 82.38 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.787/23.36, allocations: 6.094 kB / 4.95 GB, free: 82.38 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)