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.001281/0.001281, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.244/1.244, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7127/0.7127, allocations: 132.2 MB / 422.6 MB, free: 1.816 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 69.2 kB / 0.5019 GB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3897, allocations: 80.2 MB / 0.5802 GB, free: 4.586 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.CO2TransportStep): time 0.6559/1.046, allocations: 294.2 MB / 0.8675 GB, free: 1.801 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02648/1.072, allocations: 23.03 MB / 0.89 GB, free: 1.547 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003998/1.076, allocations: 77.94 kB / 0.8901 GB, free: 1.547 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004668/1.081, allocations: 1.807 MB / 0.8918 GB, free: 1.508 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01483/1.096, allocations: 6.116 MB / 0.8978 GB, free: 1.207 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007746/1.104, allocations: 2.868 MB / 0.9006 GB, free: 1.121 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009288/1.113, allocations: 7.299 MB / 0.9077 GB, free: 1.098 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00434/1.117, allocations: 2.985 MB / 0.9107 GB, free: 0.6758 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006829/1.124, allocations: 2.878 MB / 0.9135 GB, free: 468 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005002/1.129, allocations: 2.738 MB / 0.9161 GB, free: 0 / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0006742/1.13, allocations: 340.9 kB / 0.9165 GB, free: 0 / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01237/1.142, allocations: 5.993 MB / 0.9223 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001915/1.144, allocations: 1.463 MB / 0.9238 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002946/1.147, allocations: 1.902 MB / 0.9256 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01229/1.159, allocations: 6.888 MB / 0.9323 GB, free: 7.816 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/1.159, allocations: 8 kB / 0.9323 GB, free: 7.809 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.523e-06/1.159, allocations: 3.938 kB / 0.9323 GB, free: 7.805 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.851e-05/1.16, allocations: 0 / 0.9323 GB, free: 7.805 MB / 0.6544 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.008527/1.168, allocations: 4.086 MB / 0.9363 GB, free: 3.688 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/1.168, allocations: 8.031 kB / 0.9363 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004208/1.169, allocations: 397.4 kB / 0.9367 GB, free: 3.289 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004957/1.173, allocations: 0.8379 MB / 0.9375 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002721/1.176, allocations: 1.797 MB / 0.9393 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/1.176, allocations: 204.2 kB / 0.9395 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003682/1.177, allocations: 283.2 kB / 0.9398 GB, free: 236 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005289/1.182, allocations: 3.592 MB / 0.9433 GB, free: 12.54 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.045e-05/1.182, allocations: 14.56 kB / 0.9433 GB, free: 12.52 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000234/1.182, allocations: 110.3 kB / 0.9434 GB, free: 12.42 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001398/1.182, allocations: 149.3 kB / 0.9435 GB, free: 12.27 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005252/1.188, allocations: 3.276 MB / 0.9467 GB, free: 9.004 MB / 0.67 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.01588/1.204, allocations: 14.29 MB / 0.9607 GB, free: 9.77 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00359/1.207, allocations: 2.517 MB / 0.9631 GB, free: 7.203 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001922/1.209, allocations: 1.352 MB / 0.9645 GB, free: 5.855 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001228/1.21, allocations: 1.375 MB / 0.9658 GB, free: 4.191 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001925/1.212, allocations: 1.222 MB / 0.967 GB, free: 2.957 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=213): time 4.558e-06/1.212, allocations: 0 / 0.967 GB, free: 2.957 MB / 0.6856 GB Notification: Performance of matching and sorting (n=213): time 0.005563/1.218, allocations: 3.163 MB / 0.9701 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/1.218, allocations: 77.41 kB / 0.9702 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001858/1.22, allocations: 1.46 MB / 0.9716 GB, free: 14.24 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001663/1.22, allocations: 65.7 kB / 0.9716 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008951/1.221, allocations: 1.115 MB / 0.9727 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006439/1.222, allocations: 0.7327 MB / 0.9735 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005236/1.222, allocations: 363.4 kB / 0.9738 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.426e-05/1.222, allocations: 305.1 kB / 0.9741 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001464/1.224, allocations: 0.9136 MB / 0.975 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001757/1.225, allocations: 1.271 MB / 0.9762 GB, free: 9.34 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003574/1.229, allocations: 2.317 MB / 0.9785 GB, free: 6.945 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.571e-05/1.229, allocations: 4 kB / 0.9785 GB, free: 6.941 MB / 0.7012 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004402/1.234, allocations: 2.59 MB / 0.981 GB, free: 4.379 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.489e-05/1.234, allocations: 37.73 kB / 0.9811 GB, free: 4.336 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/1.234, allocations: 8 kB / 0.9811 GB, free: 4.328 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.899e-05/1.234, allocations: 20 kB / 0.9811 GB, free: 4.309 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001856/1.235, allocations: 463.8 kB / 0.9815 GB, free: 3.883 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.27e-05/1.236, allocations: 20.31 kB / 0.9815 GB, free: 3.867 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001881/1.237, allocations: 204 kB / 0.9817 GB, free: 3.668 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/1.238, allocations: 75.98 kB / 0.9818 GB, free: 3.594 MB / 0.7012 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.001208/1.239, allocations: 0.6836 MB / 0.9825 GB, free: 2.926 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003884/1.239, allocations: 217.5 kB / 0.9827 GB, free: 2.711 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004268/1.243, allocations: 2.514 MB / 0.9851 GB, free: 184 kB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/1.243, allocations: 20 kB / 0.9852 GB, free: 164 kB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/1.243, allocations: 3.938 kB / 0.9852 GB, free: 160 kB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003464/1.247, allocations: 2.327 MB / 0.9874 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008605/1.256, allocations: 5.591 MB / 0.9929 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/1.256, allocations: 0 / 0.9929 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002078/1.258, allocations: 485.1 kB / 0.9934 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.26e-05/1.258, allocations: 11.98 kB / 0.9934 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001534/1.258, allocations: 55.98 kB / 0.9934 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.486e-05/1.258, allocations: 15.94 kB / 0.9934 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.258, allocations: 3.281 kB / 0.9934 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005802/1.264, allocations: 3.994 MB / 0.9973 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/1.265, allocations: 0.541 MB / 0.9979 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003862/1.265, allocations: 44 kB / 0.9979 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001465/1.267, allocations: 67.88 kB / 0.998 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002926/1.267, allocations: 157 kB / 0.9981 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/1.267, allocations: 67.97 kB / 0.9982 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001369/1.268, allocations: 0.9906 MB / 0.9992 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/1.268, allocations: 0 / 0.9992 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002175/1.271, allocations: 0.9312 MB / 1 GB, free: 0.7539 MB / 0.7169 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.006707/1.277, allocations: 4.825 MB / 1.005 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007643/1.285, allocations: 3.886 MB / 1.009 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/1.285, allocations: 0 / 1.009 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001765/1.287, allocations: 1.228 MB / 1.01 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005354/1.292, allocations: 1.293 MB / 1.011 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02873/1.321, allocations: 20.19 MB / 1.031 GB, free: 176 kB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00193/1.323, allocations: 1.971 MB / 1.033 GB, free: 14.16 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002756/1.326, allocations: 0.721 MB / 1.033 GB, free: 13.44 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001483/1.327, allocations: 1.101 MB / 1.034 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of SimCode: time 7.01e-07/1.327, allocations: 0 / 1.034 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1043/1.431, allocations: 65.19 MB / 1.098 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.402/9.834, allocations: 12.05 kB / 1.098 GB, free: 11.95 MB / 0.8262 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)