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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(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.004619/0.004619, allocations: 100.9 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.001259/0.001259, allocations: 194.2 kB / 16.67 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9233/0.9233, allocations: 143.3 MB / 433.9 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 68.22 kB / 0.5953 GB, free: 12.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1626, allocations: 82.04 MB / 0.6755 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep): time 0.6242/0.7869, allocations: 294.6 MB / 0.9632 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03349/0.8204, allocations: 23.12 MB / 0.9857 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002824/0.8233, allocations: 79.62 kB / 0.9858 GB, free: 15.62 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.004836/0.8282, allocations: 1.794 MB / 0.9876 GB, free: 13.81 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01514/0.8434, allocations: 6.125 MB / 0.9936 GB, free: 7.664 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.008251/0.8516, allocations: 2.893 MB / 0.9964 GB, free: 4.773 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0102/0.8618, allocations: 7.317 MB / 1.004 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005035/0.8669, allocations: 2.982 MB / 1.006 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006878/0.8738, allocations: 2.869 MB / 1.009 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005157/0.879, allocations: 2.71 MB / 1.012 GB, free: 4.844 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001086/0.8801, allocations: 344 kB / 1.012 GB, free: 4.508 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01252/0.8926, allocations: 5.982 MB / 1.018 GB, free: 14.51 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.002212/0.8949, allocations: 1.469 MB / 1.019 GB, free: 13.04 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.003304/0.8982, allocations: 1.906 MB / 1.021 GB, free: 11.12 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01377/0.912, allocations: 7.161 MB / 1.028 GB, free: 3.941 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.912, allocations: 0 / 1.028 GB, free: 3.941 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.032e-06/0.912, allocations: 3.938 kB / 1.028 GB, free: 3.938 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001264/0.9122, allocations: 0 / 1.028 GB, free: 3.938 MB / 0.795 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.01049/0.9226, allocations: 4.207 MB / 1.032 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.9227, allocations: 11.97 kB / 1.032 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005162/0.9232, allocations: 396 kB / 1.033 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005533/0.9288, allocations: 0.8524 MB / 1.034 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003321/0.9321, allocations: 1.878 MB / 1.036 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001641/0.9323, allocations: 205.4 kB / 1.036 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004343/0.9327, allocations: 276 kB / 1.036 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006415/0.9391, allocations: 3.603 MB / 1.039 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.468e-05/0.9392, allocations: 3.938 kB / 1.039 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000286/0.9395, allocations: 116 kB / 1.04 GB, free: 8.141 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00017/0.9397, allocations: 149.2 kB / 1.04 GB, free: 7.992 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0061/0.9458, allocations: 3.288 MB / 1.043 GB, free: 4.691 MB / 0.8106 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.01761/0.9634, allocations: 14.24 MB / 1.057 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00404/0.9675, allocations: 2.474 MB / 1.059 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002174/0.9697, allocations: 1.364 MB / 1.061 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2932/1.263, allocations: 1.37 MB / 1.062 GB, free: 314.9 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002923/1.266, allocations: 1.222 MB / 1.063 GB, free: 314.8 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=213): time 5.991e-06/1.266, allocations: 0.75 kB / 1.063 GB, free: 314.8 MB / 0.8262 GB Notification: Performance of matching and sorting (n=213): time 0.006498/1.272, allocations: 3.178 MB / 1.066 GB, free: 314.1 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/1.273, allocations: 82.33 kB / 1.066 GB, free: 314 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002441/1.275, allocations: 1.456 MB / 1.068 GB, free: 313.5 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0003313/1.275, allocations: 65.09 kB / 1.068 GB, free: 313.4 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009359/1.276, allocations: 1.137 MB / 1.069 GB, free: 312.8 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.000849/1.277, allocations: 0.77 MB / 1.07 GB, free: 312.3 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000679/1.278, allocations: 361.5 kB / 1.07 GB, free: 312.1 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 4.352e-05/1.278, allocations: 302.5 kB / 1.07 GB, free: 311.8 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001863/1.28, allocations: 0.9115 MB / 1.071 GB, free: 311.5 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002364/1.282, allocations: 1.253 MB / 1.072 GB, free: 310.8 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003766/1.286, allocations: 2.325 MB / 1.075 GB, free: 309.7 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/1.286, allocations: 2.656 kB / 1.075 GB, free: 309.7 MB / 0.8262 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004642/1.291, allocations: 2.611 MB / 1.077 GB, free: 308.6 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.383e-05/1.291, allocations: 40.11 kB / 1.077 GB, free: 308.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/1.291, allocations: 8.312 kB / 1.077 GB, free: 308.6 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.304e-05/1.291, allocations: 16.22 kB / 1.077 GB, free: 308.6 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002049/1.293, allocations: 472.7 kB / 1.078 GB, free: 308.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.283e-05/1.293, allocations: 21.94 kB / 1.078 GB, free: 308.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001945/1.295, allocations: 191.7 kB / 1.078 GB, free: 308.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001726/1.295, allocations: 78.5 kB / 1.078 GB, free: 308.4 MB / 0.8262 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.001344/1.296, allocations: 0.6829 MB / 1.079 GB, free: 308 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004619/1.297, allocations: 223.2 kB / 1.079 GB, free: 307.9 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004704/1.302, allocations: 2.521 MB / 1.081 GB, free: 306.9 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.181e-05/1.302, allocations: 25.73 kB / 1.081 GB, free: 306.9 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/1.302, allocations: 0.6875 kB / 1.081 GB, free: 306.9 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003601/1.305, allocations: 2.33 MB / 1.084 GB, free: 305.8 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01004/1.315, allocations: 5.62 MB / 1.089 GB, free: 303.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/1.315, allocations: 2.844 kB / 1.089 GB, free: 303.4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002264/1.318, allocations: 479.3 kB / 1.09 GB, free: 303.4 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.922e-05/1.318, allocations: 13.52 kB / 1.09 GB, free: 303.4 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001761/1.318, allocations: 51.39 kB / 1.09 GB, free: 303.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-05/1.318, allocations: 9.125 kB / 1.09 GB, free: 303.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.738e-06/1.318, allocations: 3.031 kB / 1.09 GB, free: 303.3 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005371/1.323, allocations: 3.821 MB / 1.093 GB, free: 301.7 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/1.324, allocations: 0.5542 MB / 1.094 GB, free: 301.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004109/1.325, allocations: 43.88 kB / 1.094 GB, free: 301.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001545/1.326, allocations: 61.47 kB / 1.094 GB, free: 301.3 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002826/1.327, allocations: 159 kB / 1.094 GB, free: 301.3 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001446/1.327, allocations: 65.48 kB / 1.094 GB, free: 301.3 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001311/1.328, allocations: 0.9907 MB / 1.095 GB, free: 300.9 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/1.328, allocations: 0 / 1.095 GB, free: 300.9 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002075/1.33, allocations: 0.9414 MB / 1.096 GB, free: 300.8 MB / 0.8262 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.005811/1.336, allocations: 4.639 MB / 1.101 GB, free: 298.5 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003529/1.34, allocations: 2.346 MB / 1.103 GB, free: 297.7 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/1.34, allocations: 2.375 kB / 1.103 GB, free: 297.7 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00163/1.341, allocations: 1.224 MB / 1.104 GB, free: 297.3 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005848/1.347, allocations: 1.302 MB / 1.105 GB, free: 296.5 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02571/1.373, allocations: 18.63 MB / 1.124 GB, free: 277.7 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001452/1.374, allocations: 1.967 MB / 1.126 GB, free: 275.7 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002425/1.377, allocations: 0.7213 MB / 1.126 GB, free: 275 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001412/1.378, allocations: 1.102 MB / 1.127 GB, free: 273.9 MB / 0.8262 GB Notification: Performance of SimCode: time 9.32e-07/1.378, allocations: 0 / 1.127 GB, free: 273.9 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09248/1.471, allocations: 65.86 MB / 1.192 GB, free: 208.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/14.61, allocations: 11.88 kB / 1.192 GB, free: 208.8 MB / 0.8262 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)