Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="BuildSysPro_BuildSysPro_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.001131/0.001131, allocations: 108 kB / 15.6 MB, free: 132 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.001138/0.001138, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.155/1.155, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8296/0.8296, allocations: 143 MB / 433.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 59.91 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1192, allocations: 82.04 MB / 0.5944 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep): time 0.6804/0.7996, allocations: 294.6 MB / 0.8821 GB, free: 1.523 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02087/0.8205, allocations: 23.11 MB / 0.9046 GB, free: 1.418 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002378/0.8229, allocations: 84.12 kB / 0.9047 GB, free: 1.414 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00334/0.8263, allocations: 1.795 MB / 0.9065 GB, free: 1.383 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01107/0.8374, allocations: 6.125 MB / 0.9125 GB, free: 1.125 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005596/0.843, allocations: 2.878 MB / 0.9153 GB, free: 1.051 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006989/0.85, allocations: 7.297 MB / 0.9224 GB, free: 1.043 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003308/0.8533, allocations: 2.982 MB / 0.9253 GB, free: 16.68 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005583/0.8589, allocations: 2.866 MB / 0.9281 GB, free: 16.66 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002436/0.8613, allocations: 2.706 MB / 0.9308 GB, free: 16.58 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003793/0.8617, allocations: 341.1 kB / 0.9311 GB, free: 16.58 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008802/0.8705, allocations: 5.977 MB / 0.9369 GB, free: 16.52 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009782/0.8715, allocations: 1.466 MB / 0.9383 GB, free: 16.38 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001525/0.8731, allocations: 1.909 MB / 0.9402 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007495/0.8806, allocations: 7.091 MB / 0.9471 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.8806, allocations: 0 / 0.9471 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8806, allocations: 6.5 kB / 0.9471 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.286e-05/0.8806, allocations: 0 / 0.9471 GB, free: 13.54 MB / 0.6856 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.007529/0.8882, allocations: 4.09 MB / 0.9511 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.8882, allocations: 10.47 kB / 0.9511 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003768/0.8886, allocations: 397.4 kB / 0.9515 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004564/0.8931, allocations: 0.8512 MB / 0.9524 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002235/0.8954, allocations: 1.79 MB / 0.9541 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.183e-05/0.8955, allocations: 210.2 kB / 0.9543 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003086/0.8958, allocations: 279.9 kB / 0.9546 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00448/0.9003, allocations: 3.589 MB / 0.9581 GB, free: 8.977 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.089e-05/0.9004, allocations: 20.83 kB / 0.9581 GB, free: 8.965 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000222/0.9006, allocations: 115.7 kB / 0.9582 GB, free: 8.961 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001099/0.9007, allocations: 147.3 kB / 0.9583 GB, free: 8.941 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004747/0.9055, allocations: 3.289 MB / 0.9616 GB, free: 6.809 MB / 0.6856 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.01256/0.918, allocations: 14.3 MB / 0.9755 GB, free: 8.285 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00328/0.9213, allocations: 2.497 MB / 0.978 GB, free: 5.742 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001832/0.9232, allocations: 1.349 MB / 0.9793 GB, free: 4.395 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/0.9243, allocations: 1.377 MB / 0.9806 GB, free: 2.73 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001777/0.9261, allocations: 1.226 MB / 0.9818 GB, free: 1.496 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=213): time 3.487e-06/0.9261, allocations: 0 / 0.9818 GB, free: 1.496 MB / 0.7012 GB Notification: Performance of matching and sorting (n=213): time 0.005081/0.9312, allocations: 3.169 MB / 0.9849 GB, free: 14.33 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.9312, allocations: 81.41 kB / 0.985 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001573/0.9328, allocations: 1.456 MB / 0.9864 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001254/0.9329, allocations: 65.7 kB / 0.9865 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000702/0.9337, allocations: 1.114 MB / 0.9876 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005161/0.9342, allocations: 0.7284 MB / 0.9883 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005006/0.9347, allocations: 363.5 kB / 0.9886 GB, free: 10.49 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.843e-05/0.9348, allocations: 303.8 kB / 0.9889 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001412/0.9362, allocations: 0.9136 MB / 0.9898 GB, free: 9.277 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001643/0.9379, allocations: 1.249 MB / 0.991 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003149/0.941, allocations: 2.328 MB / 0.9933 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.941, allocations: 0 / 0.9933 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003755/0.9448, allocations: 2.594 MB / 0.9958 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.732e-05/0.9448, allocations: 45.62 kB / 0.9959 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.9448, allocations: 8 kB / 0.9959 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.9449, allocations: 20.03 kB / 0.9959 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/0.9466, allocations: 463.7 kB / 0.9963 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-05/0.9467, allocations: 25.58 kB / 0.9964 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/0.9482, allocations: 186 kB / 0.9965 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/0.9483, allocations: 79.98 kB / 0.9966 GB, free: 2.152 MB / 0.7169 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.0008544/0.9492, allocations: 0.6851 MB / 0.9973 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003014/0.9495, allocations: 221.3 kB / 0.9975 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003918/0.9534, allocations: 2.521 MB / 1 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/0.9535, allocations: 20 kB / 1 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.9535, allocations: 0 / 1 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003481/0.957, allocations: 2.334 MB / 1.002 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007411/0.9644, allocations: 5.607 MB / 1.008 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.156e-06/0.9644, allocations: 4 kB / 1.008 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001982/0.9664, allocations: 480.4 kB / 1.008 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.294e-05/0.9664, allocations: 12 kB / 1.008 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001248/0.9665, allocations: 51.92 kB / 1.008 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.023e-05/0.9666, allocations: 14.53 kB / 1.008 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.9666, allocations: 4.062 kB / 1.008 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005165/0.9717, allocations: 3.808 MB / 1.012 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007324/0.9725, allocations: 0.541 MB / 1.013 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002732/0.9728, allocations: 43.94 kB / 1.013 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/0.974, allocations: 66.77 kB / 1.013 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002713/0.9743, allocations: 156.4 kB / 1.013 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001194/0.9744, allocations: 63.98 kB / 1.013 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001129/0.9756, allocations: 0.9944 MB / 1.014 GB, free: 428 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9756, allocations: 0 / 1.014 GB, free: 428 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001617/0.9772, allocations: 0.9312 MB / 1.015 GB, free: 15.48 MB / 0.7481 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.005852/0.9831, allocations: 4.636 MB / 1.019 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.006866/0.9899, allocations: 3.874 MB / 1.023 GB, free: 7.016 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.99, allocations: 0.5625 kB / 1.023 GB, free: 7.016 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001663/0.9916, allocations: 1.228 MB / 1.024 GB, free: 5.836 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004619/0.9962, allocations: 1.302 MB / 1.026 GB, free: 4.586 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02369/1.02, allocations: 20.26 MB / 1.045 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001352/1.021, allocations: 1.971 MB / 1.047 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.00213/1.023, allocations: 0.7287 MB / 1.048 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001278/1.025, allocations: 1.089 MB / 1.049 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of SimCode: time 6.61e-07/1.025, allocations: 0 / 1.049 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08903/1.114, allocations: 65.26 MB / 1.113 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.035/9.149, allocations: 7.938 kB / 1.113 GB, free: 10.77 MB / 0.8419 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.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 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_CO2TransportStep.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)