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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007191/0.007191, allocations: 96.7 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 194.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.946/0.946, allocations: 135.1 MB / 425.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 67.91 kB / 0.5852 GB, free: 3.785 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4399/0.4413, allocations: 80.91 MB / 0.6642 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 0.7302/1.172, allocations: 294.2 MB / 0.9515 GB, free: 1.113 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02883/1.2, allocations: 23.03 MB / 0.974 GB, free: 444 kB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004878/1.205, allocations: 78.53 kB / 0.9741 GB, free: 444 kB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.005896/1.211, allocations: 1.875 MB / 0.9759 GB, free: 360 kB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.02133/1.233, allocations: 6.311 MB / 0.9821 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.008423/1.241, allocations: 2.929 MB / 0.9849 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01018/1.251, allocations: 7.314 MB / 0.9921 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004337/1.256, allocations: 2.976 MB / 0.995 GB, free: 8.66 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007995/1.264, allocations: 2.951 MB / 0.9979 GB, free: 7.445 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005806/1.269, allocations: 2.703 MB / 1.001 GB, free: 5.07 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.001053/1.271, allocations: 340 kB / 1.001 GB, free: 4.738 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0143/1.285, allocations: 6.018 MB / 1.007 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002961/1.288, allocations: 1.469 MB / 1.008 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004606/1.292, allocations: 1.903 MB / 1.01 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01919/1.312, allocations: 6.967 MB / 1.017 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/1.312, allocations: 7.938 kB / 1.017 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.617e-06/1.312, allocations: 4 kB / 1.017 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001317/1.312, allocations: 0 / 1.017 GB, free: 6.047 MB / 0.7169 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.01178/1.324, allocations: 4.191 MB / 1.021 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/1.324, allocations: 12.03 kB / 1.021 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005139/1.324, allocations: 394.2 kB / 1.021 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005599/1.33, allocations: 0.8549 MB / 1.022 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003912/1.334, allocations: 1.87 MB / 1.024 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/1.334, allocations: 204.8 kB / 1.024 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004292/1.334, allocations: 281.3 kB / 1.024 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006049/1.34, allocations: 3.6 MB / 1.028 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.547e-05/1.341, allocations: 14.61 kB / 1.028 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003018/1.341, allocations: 114.7 kB / 1.028 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001805/1.341, allocations: 148 kB / 1.028 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006073/1.347, allocations: 3.275 MB / 1.031 GB, free: 7.035 MB / 0.7325 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.01866/1.366, allocations: 14.22 MB / 1.045 GB, free: 7.863 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003642/1.369, allocations: 2.513 MB / 1.048 GB, free: 5.305 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001941/1.371, allocations: 1.349 MB / 1.049 GB, free: 3.961 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001207/1.373, allocations: 1.381 MB / 1.05 GB, free: 2.293 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002009/1.375, allocations: 1.218 MB / 1.052 GB, free: 1.062 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=213): time 5.089e-06/1.375, allocations: 0 / 1.052 GB, free: 1.062 MB / 0.7481 GB Notification: Performance of matching and sorting (n=213): time 0.005998/1.381, allocations: 3.172 MB / 1.055 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/1.381, allocations: 81.41 kB / 1.055 GB, free: 13.8 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002038/1.383, allocations: 1.456 MB / 1.056 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001807/1.383, allocations: 69.7 kB / 1.056 GB, free: 12.26 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009285/1.384, allocations: 1.14 MB / 1.057 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.000703/1.385, allocations: 0.7672 MB / 1.058 GB, free: 10.36 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005775/1.385, allocations: 355.6 kB / 1.058 GB, free: 10 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.363e-05/1.385, allocations: 301.1 kB / 1.059 GB, free: 9.703 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00154/1.387, allocations: 0.9214 MB / 1.06 GB, free: 8.777 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001759/1.389, allocations: 1.272 MB / 1.061 GB, free: 7.383 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003491/1.392, allocations: 2.318 MB / 1.063 GB, free: 4.984 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/1.392, allocations: 2.812 kB / 1.063 GB, free: 4.984 MB / 0.7637 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004423/1.397, allocations: 2.601 MB / 1.066 GB, free: 2.41 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.749e-05/1.397, allocations: 41.83 kB / 1.066 GB, free: 2.363 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/1.397, allocations: 8 kB / 1.066 GB, free: 2.355 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.235e-05/1.397, allocations: 19.98 kB / 1.066 GB, free: 2.336 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001922/1.399, allocations: 463.5 kB / 1.066 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.943e-05/1.399, allocations: 23.27 kB / 1.066 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002191/1.401, allocations: 207.4 kB / 1.066 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000152/1.401, allocations: 79.98 kB / 1.067 GB, free: 1.613 MB / 0.7637 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001398/1.402, allocations: 0.6811 MB / 1.067 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004951/1.403, allocations: 230.6 kB / 1.067 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004208/1.407, allocations: 2.515 MB / 1.07 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/1.407, allocations: 20 kB / 1.07 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/1.407, allocations: 0 / 1.07 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003349/1.411, allocations: 2.32 MB / 1.072 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009924/1.421, allocations: 5.597 MB / 1.078 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/1.421, allocations: 4 kB / 1.078 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00221/1.423, allocations: 479.7 kB / 1.078 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.576e-05/1.423, allocations: 12 kB / 1.078 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000142/1.423, allocations: 63.92 kB / 1.078 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-05/1.423, allocations: 14.8 kB / 1.078 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/1.423, allocations: 4 kB / 1.078 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006058/1.429, allocations: 3.998 MB / 1.082 GB, free: 1.566 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001538/1.431, allocations: 0.5461 MB / 1.083 GB, free: 1 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000314/1.431, allocations: 47.92 kB / 1.083 GB, free: 0.9531 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/1.432, allocations: 61.47 kB / 1.083 GB, free: 0.8945 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002634/1.433, allocations: 149.2 kB / 1.083 GB, free: 0.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/1.433, allocations: 71.97 kB / 1.083 GB, free: 0.6797 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001319/1.434, allocations: 0.9906 MB / 1.084 GB, free: 15.7 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.61e-07/1.434, allocations: 0 / 1.084 GB, free: 15.7 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002252/1.436, allocations: 0.9434 MB / 1.085 GB, free: 14.75 MB / 0.795 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006614/1.443, allocations: 4.834 MB / 1.09 GB, free: 9.879 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.003764/1.447, allocations: 2.341 MB / 1.092 GB, free: 7.523 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/1.447, allocations: 12.12 kB / 1.092 GB, free: 7.512 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001758/1.449, allocations: 1.221 MB / 1.093 GB, free: 6.293 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005585/1.454, allocations: 1.287 MB / 1.094 GB, free: 5.031 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02705/1.481, allocations: 18.6 MB / 1.112 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001581/1.483, allocations: 1.968 MB / 1.114 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002634/1.486, allocations: 0.7171 MB / 1.115 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001548/1.487, allocations: 1.097 MB / 1.116 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of SimCode: time 1.774e-06/1.487, allocations: 0 / 1.116 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.111/1.598, allocations: 65.79 MB / 1.18 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/14.13, allocations: 21.19 kB / 1.18 GB, free: 12.9 MB / 0.8887 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_CO2TransportStep.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)