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.005673/0.005673, allocations: 104.3 kB / 15.73 MB, free: 5.953 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.001328/0.001328, allocations: 190.2 kB / 16.67 MB, free: 5.871 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.238/1.238, allocations: 222.9 MB / 240.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7382/0.7382, allocations: 132.2 MB / 422.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 65.67 kB / 0.5809 GB, free: 23.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1282, allocations: 80.21 MB / 0.6592 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 0.609/0.7372, allocations: 294.2 MB / 0.9466 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02885/0.7661, allocations: 23.04 MB / 0.9691 GB, free: 8.461 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00352/0.7697, allocations: 75.62 kB / 0.9691 GB, free: 8.387 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004937/0.7747, allocations: 1.865 MB / 0.9709 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01558/0.7903, allocations: 6.309 MB / 0.9771 GB, free: 180 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.007813/0.7981, allocations: 2.925 MB / 0.98 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.009644/0.8078, allocations: 7.322 MB / 0.9871 GB, free: 5.902 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004758/0.8125, allocations: 2.985 MB / 0.99 GB, free: 2.871 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006565/0.8191, allocations: 2.948 MB / 0.9929 GB, free: 15.94 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004944/0.8241, allocations: 2.704 MB / 0.9955 GB, free: 13.24 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001178/0.8253, allocations: 344 kB / 0.9959 GB, free: 12.9 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01216/0.8374, allocations: 6.017 MB / 1.002 GB, free: 6.871 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.002414/0.8399, allocations: 1.465 MB / 1.003 GB, free: 5.402 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.00423/0.8441, allocations: 1.902 MB / 1.005 GB, free: 3.492 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01484/0.859, allocations: 6.97 MB / 1.012 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.8591, allocations: 0 / 1.012 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.375e-06/0.8591, allocations: 0 / 1.012 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001962/0.8593, allocations: 0 / 1.012 GB, free: 12.5 MB / 0.7794 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.01154/0.8708, allocations: 4.195 MB / 1.016 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.8709, allocations: 11.97 kB / 1.016 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005229/0.8714, allocations: 392 kB / 1.016 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005423/0.8768, allocations: 0.8682 MB / 1.017 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003475/0.8803, allocations: 1.87 MB / 1.019 GB, free: 5.027 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/0.8805, allocations: 213.4 kB / 1.019 GB, free: 4.816 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003848/0.8809, allocations: 276 kB / 1.019 GB, free: 4.547 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005339/0.8862, allocations: 3.594 MB / 1.023 GB, free: 0.8281 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.797e-05/0.8863, allocations: 7.891 kB / 1.023 GB, free: 0.8203 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002518/0.8866, allocations: 116 kB / 1.023 GB, free: 0.707 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001316/0.8867, allocations: 145.2 kB / 1.023 GB, free: 0.5625 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005132/0.8918, allocations: 3.28 MB / 1.026 GB, free: 13.27 MB / 0.795 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.01477/0.9066, allocations: 14.22 MB / 1.04 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00339/0.91, allocations: 2.497 MB / 1.043 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001869/0.9119, allocations: 1.356 MB / 1.044 GB, free: 9.906 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001235/0.9131, allocations: 1.382 MB / 1.045 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00184/0.915, allocations: 1.222 MB / 1.047 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=213): time 4.208e-06/0.915, allocations: 0 / 1.047 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of matching and sorting (n=213): time 0.005353/0.9204, allocations: 3.173 MB / 1.05 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.9204, allocations: 81.33 kB / 1.05 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001743/0.9222, allocations: 1.449 MB / 1.051 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001479/0.9223, allocations: 73.64 kB / 1.051 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008538/0.9232, allocations: 1.137 MB / 1.052 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006284/0.9238, allocations: 0.7746 MB / 1.053 GB, free: 268 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2928/1.217, allocations: 357.5 kB / 1.053 GB, free: 312.9 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 5.076e-05/1.217, allocations: 303.1 kB / 1.054 GB, free: 312.6 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001771/1.219, allocations: 0.9138 MB / 1.055 GB, free: 312.6 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001756/1.22, allocations: 1.269 MB / 1.056 GB, free: 312.2 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003114/1.223, allocations: 2.318 MB / 1.058 GB, free: 311.7 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/1.223, allocations: 2.656 kB / 1.058 GB, free: 311.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004726/1.228, allocations: 2.604 MB / 1.061 GB, free: 310.8 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.351e-05/1.228, allocations: 35.12 kB / 1.061 GB, free: 310.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/1.228, allocations: 7.875 kB / 1.061 GB, free: 310.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.954e-05/1.228, allocations: 16.28 kB / 1.061 GB, free: 310.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002052/1.23, allocations: 472.2 kB / 1.061 GB, free: 310.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.164e-05/1.23, allocations: 21.81 kB / 1.061 GB, free: 310.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/1.232, allocations: 195.8 kB / 1.061 GB, free: 310.6 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001832/1.232, allocations: 85.61 kB / 1.062 GB, free: 310.6 MB / 0.8106 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.001256/1.234, allocations: 0.6816 MB / 1.062 GB, free: 310.2 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004039/1.234, allocations: 227.5 kB / 1.062 GB, free: 310.2 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004114/1.238, allocations: 2.521 MB / 1.065 GB, free: 309.2 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/1.238, allocations: 24.38 kB / 1.065 GB, free: 309.2 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/1.238, allocations: 0 / 1.065 GB, free: 309.2 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00314/1.241, allocations: 2.321 MB / 1.067 GB, free: 308.1 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008419/1.25, allocations: 5.594 MB / 1.073 GB, free: 305.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/1.25, allocations: 2.922 kB / 1.073 GB, free: 305.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002149/1.252, allocations: 483.4 kB / 1.073 GB, free: 305.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.437e-05/1.252, allocations: 9.438 kB / 1.073 GB, free: 305.8 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001203/1.252, allocations: 54.59 kB / 1.073 GB, free: 305.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.326e-05/1.252, allocations: 14.33 kB / 1.073 GB, free: 305.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/1.252, allocations: 7.594 kB / 1.073 GB, free: 305.7 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005331/1.258, allocations: 4 MB / 1.077 GB, free: 304 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009959/1.259, allocations: 0.5537 MB / 1.078 GB, free: 303.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002804/1.259, allocations: 48.94 kB / 1.078 GB, free: 303.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/1.26, allocations: 60.14 kB / 1.078 GB, free: 303.6 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002443/1.26, allocations: 150.8 kB / 1.078 GB, free: 303.6 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001265/1.261, allocations: 72 kB / 1.078 GB, free: 303.5 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001143/1.262, allocations: 0.9929 MB / 1.079 GB, free: 303.2 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/1.262, allocations: 1.344 kB / 1.079 GB, free: 303.2 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001945/1.264, allocations: 0.9435 MB / 1.08 GB, free: 303 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.005122/1.269, allocations: 4.82 MB / 1.085 GB, free: 300.7 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002916/1.272, allocations: 2.351 MB / 1.087 GB, free: 299.9 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/1.272, allocations: 0 / 1.087 GB, free: 299.9 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.00141/1.273, allocations: 1.229 MB / 1.088 GB, free: 299.4 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004502/1.278, allocations: 1.292 MB / 1.089 GB, free: 299.1 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0198/1.298, allocations: 18.58 MB / 1.107 GB, free: 283.6 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009906/1.299, allocations: 1.971 MB / 1.109 GB, free: 281.6 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001961/1.301, allocations: 0.7222 MB / 1.11 GB, free: 280.9 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001113/1.302, allocations: 1.105 MB / 1.111 GB, free: 279.8 MB / 0.8106 GB Notification: Performance of SimCode: time 8.62e-07/1.302, allocations: 0 / 1.111 GB, free: 279.8 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07602/1.378, allocations: 65.78 MB / 1.175 GB, free: 214.5 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/13.16, allocations: 3.391 kB / 1.175 GB, free: 214.5 MB / 0.8106 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)