Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="IBPSA_latest_IBPSA_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.001126/0.001126, allocations: 102.1 kB / 16.27 MB, free: 5.961 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.001168/0.001168, allocations: 191.3 kB / 17.2 MB, free: 5.59 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.341/1.341, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.158/1.158, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 67.89 kB / 0.4912 GB, free: 7.328 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3798, allocations: 77.92 MB / 0.5673 GB, free: 32.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.CO2TransportStep): time 0.6946/1.074, allocations: 294.2 MB / 0.8546 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02772/1.102, allocations: 23.05 MB / 0.8771 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003813/1.106, allocations: 77.5 kB / 0.8772 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004918/1.111, allocations: 1.808 MB / 0.879 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01666/1.128, allocations: 6.117 MB / 0.8849 GB, free: 1 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007423/1.135, allocations: 2.876 MB / 0.8877 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.008189/1.143, allocations: 7.303 MB / 0.8949 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0035/1.147, allocations: 2.976 MB / 0.8978 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005235/1.152, allocations: 2.863 MB / 0.9006 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003898/1.156, allocations: 2.703 MB / 0.9032 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0006214/1.157, allocations: 340 kB / 0.9035 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01107/1.168, allocations: 5.986 MB / 0.9094 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001753/1.17, allocations: 1.469 MB / 0.9108 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002599/1.172, allocations: 1.902 MB / 0.9127 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01191/1.184, allocations: 6.888 MB / 0.9194 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.184, allocations: 0 / 0.9194 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.573e-06/1.184, allocations: 0 / 0.9194 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.664e-05/1.184, allocations: 3.938 kB / 0.9194 GB, free: 14.08 MB / 0.6387 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.009196/1.193, allocations: 4.101 MB / 0.9234 GB, free: 9.906 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/1.194, allocations: 8.625 kB / 0.9234 GB, free: 9.898 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004367/1.194, allocations: 392 kB / 0.9238 GB, free: 9.508 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005338/1.199, allocations: 0.8391 MB / 0.9246 GB, free: 8.664 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003148/1.202, allocations: 1.794 MB / 0.9264 GB, free: 6.812 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/1.203, allocations: 209.4 kB / 0.9266 GB, free: 6.605 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004092/1.203, allocations: 279.9 kB / 0.9268 GB, free: 6.332 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005463/1.209, allocations: 3.597 MB / 0.9303 GB, free: 2.609 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.539e-05/1.209, allocations: 11.88 kB / 0.9303 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002576/1.209, allocations: 116 kB / 0.9305 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001481/1.209, allocations: 145.3 kB / 0.9306 GB, free: 2.34 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005353/1.214, allocations: 3.284 MB / 0.9338 GB, free: 15.04 MB / 0.6544 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.01476/1.229, allocations: 14.3 MB / 0.9478 GB, free: 15.51 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003422/1.233, allocations: 2.494 MB / 0.9502 GB, free: 12.95 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001837/1.234, allocations: 1.349 MB / 0.9515 GB, free: 11.6 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001118/1.236, allocations: 1.378 MB / 0.9529 GB, free: 9.922 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001867/1.237, allocations: 1.226 MB / 0.9541 GB, free: 8.684 MB / 0.67 GB Notification: Performance of pre-optimization done (n=213): time 3.888e-06/1.237, allocations: 4 kB / 0.9541 GB, free: 8.68 MB / 0.67 GB Notification: Performance of matching and sorting (n=213): time 0.005533/1.243, allocations: 3.172 MB / 0.9572 GB, free: 5.504 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/1.243, allocations: 73.41 kB / 0.9572 GB, free: 5.418 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001773/1.245, allocations: 1.456 MB / 0.9587 GB, free: 3.957 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001522/1.245, allocations: 61.7 kB / 0.9587 GB, free: 3.891 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.00081/1.246, allocations: 1.111 MB / 0.9598 GB, free: 2.766 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005869/1.246, allocations: 0.7355 MB / 0.9605 GB, free: 2.02 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005284/1.247, allocations: 363.5 kB / 0.9609 GB, free: 1.656 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 7.91e-05/1.247, allocations: 305.1 kB / 0.9612 GB, free: 1.355 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001459/1.248, allocations: 0.9097 MB / 0.9621 GB, free: 452 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001688/1.25, allocations: 1.262 MB / 0.9633 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003277/1.253, allocations: 2.317 MB / 0.9655 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/1.253, allocations: 4 kB / 0.9656 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004173/1.258, allocations: 2.602 MB / 0.9681 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.017e-05/1.258, allocations: 41.62 kB / 0.9681 GB, free: 9.969 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/1.258, allocations: 11.94 kB / 0.9681 GB, free: 9.957 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.291e-05/1.258, allocations: 16 kB / 0.9682 GB, free: 9.941 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001894/1.26, allocations: 459.3 kB / 0.9686 GB, free: 9.492 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.302e-05/1.26, allocations: 27.92 kB / 0.9686 GB, free: 9.465 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/1.262, allocations: 190.1 kB / 0.9688 GB, free: 9.277 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/1.262, allocations: 83.98 kB / 0.9689 GB, free: 9.195 MB / 0.6856 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.001075/1.263, allocations: 0.6815 MB / 0.9695 GB, free: 8.504 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003571/1.263, allocations: 213.5 kB / 0.9698 GB, free: 8.293 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004126/1.267, allocations: 2.534 MB / 0.9722 GB, free: 5.738 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/1.267, allocations: 20 kB / 0.9722 GB, free: 5.719 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/1.267, allocations: 0 / 0.9722 GB, free: 5.719 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003289/1.271, allocations: 2.331 MB / 0.9745 GB, free: 3.324 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008177/1.279, allocations: 5.603 MB / 0.98 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/1.279, allocations: 4 kB / 0.98 GB, free: 13.6 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002164/1.281, allocations: 475.7 kB / 0.9805 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.511e-05/1.281, allocations: 8 kB / 0.9805 GB, free: 13.13 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001302/1.281, allocations: 55.97 kB / 0.9805 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.264e-05/1.281, allocations: 15.88 kB / 0.9805 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.281, allocations: 4 kB / 0.9805 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005574/1.287, allocations: 3.803 MB / 0.9842 GB, free: 9.203 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/1.288, allocations: 0.5332 MB / 0.9848 GB, free: 8.648 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003139/1.288, allocations: 51.98 kB / 0.9848 GB, free: 8.598 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001429/1.29, allocations: 63.91 kB / 0.9849 GB, free: 8.535 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002958/1.29, allocations: 149.7 kB / 0.985 GB, free: 8.391 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001294/1.29, allocations: 71.97 kB / 0.9851 GB, free: 8.32 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001252/1.291, allocations: 0.9866 MB / 0.9861 GB, free: 7.34 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/1.291, allocations: 0 / 0.9861 GB, free: 7.34 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001928/1.293, allocations: 0.935 MB / 0.987 GB, free: 6.402 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,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.006115/1.3, allocations: 4.625 MB / 0.9915 GB, free: 1.73 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.007579/1.307, allocations: 3.879 MB / 0.9953 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/1.307, allocations: 0 / 0.9953 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001764/1.309, allocations: 1.227 MB / 0.9965 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005529/1.314, allocations: 1.294 MB / 0.9977 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02624/1.341, allocations: 20.25 MB / 1.018 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001401/1.342, allocations: 1.975 MB / 1.019 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002585/1.345, allocations: 0.7171 MB / 1.02 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001365/1.346, allocations: 1.101 MB / 1.021 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of SimCode: time 5.61e-07/1.346, allocations: 0 / 1.021 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3341/1.68, allocations: 65.07 MB / 1.085 GB, free: 275.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.156/10.84, allocations: 6.281 kB / 1.085 GB, free: 275.9 MB / 0.7325 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_CO2TransportStep.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)