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.006379/0.006379, allocations: 98.02 kB / 15.73 MB, free: 6.055 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.001324/0.001324, allocations: 193.6 kB / 16.68 MB, free: 5.969 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.529/1.529, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9256/0.9256, allocations: 132.2 MB / 422.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002564/0.002564, allocations: 68.12 kB / 0.5809 GB, free: 24.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1813, allocations: 80.21 MB / 0.6592 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 0.887/1.068, allocations: 294.2 MB / 0.9466 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03919/1.108, allocations: 23.02 MB / 0.969 GB, free: 8.508 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004857/1.112, allocations: 79.62 kB / 0.9691 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00672/1.119, allocations: 1.791 MB / 0.9709 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01989/1.139, allocations: 6.13 MB / 0.9769 GB, free: 484 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.009552/1.149, allocations: 2.889 MB / 0.9797 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0131/1.162, allocations: 7.304 MB / 0.9868 GB, free: 6.254 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005656/1.168, allocations: 2.978 MB / 0.9897 GB, free: 3.23 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008804/1.177, allocations: 2.894 MB / 0.9925 GB, free: 368 kB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006878/1.183, allocations: 2.708 MB / 0.9952 GB, free: 13.65 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.00132/1.185, allocations: 340 kB / 0.9955 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01569/1.2, allocations: 5.986 MB / 1.001 GB, free: 7.32 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.003229/1.204, allocations: 1.461 MB / 1.003 GB, free: 5.855 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.004932/1.209, allocations: 1.898 MB / 1.005 GB, free: 3.949 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.02143/1.23, allocations: 6.978 MB / 1.011 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/1.23, allocations: 3.938 kB / 1.011 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.154e-06/1.23, allocations: 0 / 1.011 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001948/1.23, allocations: 0 / 1.011 GB, free: 12.94 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.01443/1.245, allocations: 4.191 MB / 1.016 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/1.245, allocations: 12.02 kB / 1.016 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006684/1.246, allocations: 388.1 kB / 1.016 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006011/1.252, allocations: 0.8681 MB / 1.017 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00533/1.257, allocations: 1.87 MB / 1.019 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001977/1.257, allocations: 209.4 kB / 1.019 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000572/1.258, allocations: 276 kB / 1.019 GB, free: 5 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007206/1.265, allocations: 3.594 MB / 1.023 GB, free: 1.281 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.309e-05/1.265, allocations: 7.891 kB / 1.023 GB, free: 1.273 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002876/1.265, allocations: 112 kB / 1.023 GB, free: 1.164 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001761/1.266, allocations: 145.2 kB / 1.023 GB, free: 1.02 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006438/1.272, allocations: 3.288 MB / 1.026 GB, free: 13.72 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.02049/1.293, allocations: 14.22 MB / 1.04 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004275/1.297, allocations: 2.502 MB / 1.042 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002346/1.299, allocations: 1.356 MB / 1.044 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001773/1.301, allocations: 1.375 MB / 1.045 GB, free: 8.684 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002293/1.303, allocations: 1.222 MB / 1.046 GB, free: 7.449 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=213): time 5.189e-06/1.303, allocations: 0 / 1.046 GB, free: 7.449 MB / 0.8106 GB Notification: Performance of matching and sorting (n=213): time 0.006593/1.31, allocations: 3.173 MB / 1.049 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.316e-05/1.31, allocations: 85.28 kB / 1.049 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002469/1.313, allocations: 1.449 MB / 1.051 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002333/1.313, allocations: 69.7 kB / 1.051 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001223/1.314, allocations: 1.133 MB / 1.052 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000949/1.315, allocations: 0.7784 MB / 1.053 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006508/1.316, allocations: 363.5 kB / 1.053 GB, free: 364 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001482/1.316, allocations: 305.1 kB / 1.053 GB, free: 56 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3902/1.706, allocations: 0.907 MB / 1.054 GB, free: 312.6 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0023/1.708, allocations: 1.265 MB / 1.056 GB, free: 312.2 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003692/1.712, allocations: 2.326 MB / 1.058 GB, free: 311.8 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/1.712, allocations: 2.5 kB / 1.058 GB, free: 311.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005195/1.717, allocations: 2.599 MB / 1.06 GB, free: 310.9 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.538e-05/1.717, allocations: 40.62 kB / 1.06 GB, free: 310.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.338e-05/1.717, allocations: 7.375 kB / 1.06 GB, free: 310.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.852e-05/1.718, allocations: 16.22 kB / 1.06 GB, free: 310.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002174/1.72, allocations: 472.8 kB / 1.061 GB, free: 310.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.604e-05/1.72, allocations: 21.84 kB / 1.061 GB, free: 310.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00224/1.722, allocations: 193.2 kB / 1.061 GB, free: 310.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002157/1.722, allocations: 79.14 kB / 1.061 GB, free: 310.7 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.001674/1.724, allocations: 0.6904 MB / 1.062 GB, free: 310.4 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007276/1.725, allocations: 228.1 kB / 1.062 GB, free: 310.4 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005057/1.73, allocations: 2.512 MB / 1.064 GB, free: 309.3 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.45e-05/1.73, allocations: 25.12 kB / 1.064 GB, free: 309.3 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/1.73, allocations: 1.375 kB / 1.064 GB, free: 309.3 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003602/1.733, allocations: 2.329 MB / 1.067 GB, free: 308.2 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01103/1.744, allocations: 5.594 MB / 1.072 GB, free: 305.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/1.745, allocations: 2.562 kB / 1.072 GB, free: 305.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002331/1.747, allocations: 482.6 kB / 1.073 GB, free: 305.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.653e-05/1.747, allocations: 9.75 kB / 1.073 GB, free: 305.9 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001473/1.747, allocations: 53.72 kB / 1.073 GB, free: 305.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.536e-05/1.747, allocations: 9.547 kB / 1.073 GB, free: 305.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/1.747, allocations: 6.812 kB / 1.073 GB, free: 305.8 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007692/1.755, allocations: 4.003 MB / 1.077 GB, free: 304.1 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00241/1.757, allocations: 0.548 MB / 1.077 GB, free: 303.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005234/1.758, allocations: 43.44 kB / 1.077 GB, free: 303.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001762/1.76, allocations: 68.67 kB / 1.077 GB, free: 303.7 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004492/1.76, allocations: 149.8 kB / 1.077 GB, free: 303.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001892/1.76, allocations: 71.78 kB / 1.078 GB, free: 303.7 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001795/1.762, allocations: 0.987 MB / 1.078 GB, free: 303.3 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/1.762, allocations: 0 / 1.078 GB, free: 303.3 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003255/1.765, allocations: 0.9469 MB / 1.079 GB, free: 303.2 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.006294/1.772, allocations: 4.835 MB / 1.084 GB, free: 300.8 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003803/1.775, allocations: 2.348 MB / 1.086 GB, free: 300 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/1.775, allocations: 3.906 kB / 1.086 GB, free: 300 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001689/1.777, allocations: 1.227 MB / 1.088 GB, free: 299.6 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005858/1.783, allocations: 1.293 MB / 1.089 GB, free: 299.2 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02674/1.81, allocations: 18.58 MB / 1.107 GB, free: 283.9 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/1.811, allocations: 1.968 MB / 1.109 GB, free: 281.9 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002468/1.814, allocations: 0.7211 MB / 1.11 GB, free: 281.2 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001376/1.815, allocations: 1.101 MB / 1.111 GB, free: 280.1 MB / 0.8106 GB Notification: Performance of SimCode: time 1.212e-06/1.815, allocations: 0 / 1.111 GB, free: 280.1 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1133/1.928, allocations: 65.79 MB / 1.175 GB, free: 214.8 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/14.9, allocations: 2.188 kB / 1.175 GB, free: 214.8 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)