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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006312/0.006312, allocations: 98.81 kB / 15.73 MB, free: 6.441 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.001262/0.001262, allocations: 196.1 kB / 16.67 MB, free: 6.352 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.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8303/0.8303, allocations: 132.2 MB / 422.8 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.2 kB / 0.5809 GB, free: 1.094 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1733, allocations: 80.21 MB / 0.6592 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 0.7479/0.9213, allocations: 294.2 MB / 0.9466 GB, free: 9.672 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03608/0.9574, allocations: 23.02 MB / 0.9691 GB, free: 3.156 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005713/0.9631, allocations: 79.62 kB / 0.9691 GB, free: 3.078 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.008203/0.9714, allocations: 1.873 MB / 0.971 GB, free: 1.195 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.02159/0.9931, allocations: 6.311 MB / 0.9771 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.009535/1.003, allocations: 2.928 MB / 0.98 GB, free: 7.934 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01136/1.014, allocations: 7.3 MB / 0.9871 GB, free: 0.6055 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005664/1.02, allocations: 2.991 MB / 0.99 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008815/1.029, allocations: 2.955 MB / 0.9929 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006302/1.035, allocations: 2.716 MB / 0.9956 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001867/1.037, allocations: 340 kB / 0.9959 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01631/1.053, allocations: 6.013 MB / 1.002 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.003249/1.056, allocations: 1.465 MB / 1.003 GB, free: 100 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.005731/1.062, allocations: 1.902 MB / 1.005 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.02025/1.082, allocations: 6.97 MB / 1.012 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.072e-05/1.082, allocations: 0 / 1.012 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.205e-06/1.083, allocations: 0 / 1.012 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0002689/1.083, allocations: 4 kB / 1.012 GB, free: 7.195 MB / 0.7325 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.01556/1.098, allocations: 4.195 MB / 1.016 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/1.098, allocations: 16.02 kB / 1.016 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001193/1.1, allocations: 400 kB / 1.016 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006873/1.107, allocations: 0.8565 MB / 1.017 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005489/1.112, allocations: 1.866 MB / 1.019 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002119/1.112, allocations: 205.3 kB / 1.019 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001223/1.114, allocations: 283.9 kB / 1.019 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009192/1.123, allocations: 3.593 MB / 1.023 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.994e-05/1.123, allocations: 7.938 kB / 1.023 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005842/1.123, allocations: 112 kB / 1.023 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001865/1.124, allocations: 149.3 kB / 1.023 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007331/1.131, allocations: 3.28 MB / 1.026 GB, free: 7.969 MB / 0.7481 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.02211/1.153, allocations: 14.22 MB / 1.04 GB, free: 8.527 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004419/1.158, allocations: 2.514 MB / 1.043 GB, free: 5.945 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002266/1.16, allocations: 1.349 MB / 1.044 GB, free: 4.605 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001324/1.161, allocations: 1.375 MB / 1.045 GB, free: 2.934 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00236/1.164, allocations: 1.218 MB / 1.047 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=213): time 4.208e-06/1.164, allocations: 3.938 kB / 1.047 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of matching and sorting (n=213): time 0.00643/1.17, allocations: 3.173 MB / 1.05 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.298e-05/1.17, allocations: 77.41 kB / 1.05 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002641/1.173, allocations: 1.456 MB / 1.051 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0002344/1.173, allocations: 65.7 kB / 1.051 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001083/1.174, allocations: 1.145 MB / 1.052 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008461/1.175, allocations: 0.7629 MB / 1.053 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007061/1.176, allocations: 363.6 kB / 1.054 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.759e-05/1.176, allocations: 305.1 kB / 1.054 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001713/1.178, allocations: 0.9058 MB / 1.055 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001961/1.18, allocations: 1.274 MB / 1.056 GB, free: 8 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003764/1.183, allocations: 2.333 MB / 1.058 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/1.183, allocations: 0 / 1.058 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004952/1.188, allocations: 2.602 MB / 1.061 GB, free: 2.945 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.469e-05/1.188, allocations: 39.88 kB / 1.061 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-05/1.188, allocations: 8 kB / 1.061 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.579e-05/1.188, allocations: 16.72 kB / 1.061 GB, free: 2.879 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002103/1.191, allocations: 463.3 kB / 1.061 GB, free: 2.426 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.495e-05/1.191, allocations: 23.98 kB / 1.061 GB, free: 2.402 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002248/1.193, allocations: 196.6 kB / 1.061 GB, free: 2.211 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002044/1.193, allocations: 87.92 kB / 1.062 GB, free: 2.125 MB / 0.7794 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.00137/1.195, allocations: 0.6846 MB / 1.062 GB, free: 1.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006508/1.195, allocations: 222.6 kB / 1.062 GB, free: 1.211 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004848/1.2, allocations: 2.524 MB / 1.065 GB, free: 14.66 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.948e-05/1.2, allocations: 20 kB / 1.065 GB, free: 14.64 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/1.2, allocations: 0 / 1.065 GB, free: 14.64 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003678/1.204, allocations: 2.32 MB / 1.067 GB, free: 12.26 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01032/1.214, allocations: 5.601 MB / 1.073 GB, free: 6.547 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/1.214, allocations: 8.062 kB / 1.073 GB, free: 6.539 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00234/1.216, allocations: 479.3 kB / 1.073 GB, free: 6.07 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.184e-05/1.217, allocations: 12 kB / 1.073 GB, free: 6.059 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002059/1.217, allocations: 55.97 kB / 1.073 GB, free: 6.004 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.518e-05/1.217, allocations: 12 kB / 1.073 GB, free: 5.992 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.217, allocations: 4 kB / 1.073 GB, free: 5.988 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006569/1.223, allocations: 3.998 MB / 1.077 GB, free: 1.945 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001308/1.225, allocations: 0.5422 MB / 1.078 GB, free: 1.383 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00051/1.225, allocations: 51.98 kB / 1.078 GB, free: 1.332 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001718/1.227, allocations: 69.23 kB / 1.078 GB, free: 1.266 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003489/1.227, allocations: 149.7 kB / 1.078 GB, free: 1.117 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001773/1.228, allocations: 71.97 kB / 1.078 GB, free: 1.047 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001813/1.229, allocations: 0.9906 MB / 1.079 GB, free: 64 kB / 0.795 GB Notification: Performance of sort global known variables: time 1.533e-06/1.229, allocations: 0 / 1.079 GB, free: 64 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.002612/1.232, allocations: 0.9434 MB / 1.08 GB, free: 15.12 MB / 0.8106 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.007324/1.239, allocations: 4.822 MB / 1.085 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004316/1.244, allocations: 2.345 MB / 1.087 GB, free: 7.891 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/1.244, allocations: 0 / 1.087 GB, free: 7.891 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002108/1.246, allocations: 1.234 MB / 1.088 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006515/1.252, allocations: 1.285 MB / 1.089 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03237/1.285, allocations: 18.6 MB / 1.107 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002228/1.287, allocations: 1.971 MB / 1.109 GB, free: 332 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002825/1.29, allocations: 0.721 MB / 1.11 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001726/1.292, allocations: 1.097 MB / 1.111 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of SimCode: time 1.483e-06/1.292, allocations: 0 / 1.111 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5184/1.81, allocations: 65.77 MB / 1.175 GB, free: 342.2 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/14.57, allocations: 12.66 kB / 1.175 GB, free: 342.2 MB / 0.8575 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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Airflow_Multizone_Examples_CO2TransportStep.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)