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.009705/0.009705, allocations: 96.64 kB / 15.73 MB, free: 6.484 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.001979/0.001979, allocations: 192 kB / 16.67 MB, free: 6.391 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.564/1.564, allocations: 222.9 MB / 240.4 MB, free: 4.316 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 1.018/1.018, allocations: 143 MB / 433.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 59.91 kB / 0.5951 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4807/0.482, allocations: 82.03 MB / 0.6752 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.CO2TransportStep): time 0.9118/1.394, allocations: 294.6 MB / 0.9629 GB, free: 0.625 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03031/1.424, allocations: 23.13 MB / 0.9855 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005081/1.429, allocations: 76.34 kB / 0.9856 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.005459/1.435, allocations: 1.871 MB / 0.9874 GB, free: 12.92 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01929/1.454, allocations: 6.31 MB / 0.9936 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.01062/1.465, allocations: 2.933 MB / 0.9964 GB, free: 8.566 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01345/1.478, allocations: 7.317 MB / 1.004 GB, free: 5.258 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005589/1.484, allocations: 2.987 MB / 1.006 GB, free: 2.285 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008333/1.492, allocations: 2.936 MB / 1.009 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005691/1.498, allocations: 2.727 MB / 1.012 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001407/1.499, allocations: 340 kB / 1.012 GB, free: 12.92 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01526/1.515, allocations: 6.019 MB / 1.018 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002702/1.517, allocations: 1.456 MB / 1.02 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.005781/1.523, allocations: 1.91 MB / 1.022 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.02177/1.545, allocations: 7.156 MB / 1.028 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/1.545, allocations: 0 / 1.028 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.673e-06/1.545, allocations: 0 / 1.028 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0002007/1.545, allocations: 0 / 1.028 GB, free: 13.48 MB / 0.7325 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.01471/1.56, allocations: 4.208 MB / 1.033 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.253e-05/1.56, allocations: 12.02 kB / 1.033 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001201/1.561, allocations: 391.4 kB / 1.033 GB, free: 8.824 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006147/1.567, allocations: 0.8672 MB / 1.034 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004439/1.572, allocations: 1.871 MB / 1.036 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001755/1.572, allocations: 205 kB / 1.036 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005552/1.573, allocations: 279.4 kB / 1.036 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006439/1.579, allocations: 3.599 MB / 1.04 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.554e-05/1.579, allocations: 7.938 kB / 1.04 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002795/1.579, allocations: 110.2 kB / 1.04 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001605/1.58, allocations: 149.3 kB / 1.04 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005745/1.585, allocations: 3.288 MB / 1.043 GB, free: 14.32 MB / 0.7481 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.01838/1.604, allocations: 14.24 MB / 1.057 GB, free: 15 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003701/1.608, allocations: 2.481 MB / 1.059 GB, free: 12.45 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001937/1.609, allocations: 1.356 MB / 1.061 GB, free: 11.09 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001211/1.611, allocations: 1.378 MB / 1.062 GB, free: 9.426 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001974/1.613, allocations: 1.23 MB / 1.063 GB, free: 8.184 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=213): time 5.581e-06/1.613, allocations: 0 / 1.063 GB, free: 8.184 MB / 0.7637 GB Notification: Performance of matching and sorting (n=213): time 0.005888/1.619, allocations: 3.169 MB / 1.066 GB, free: 5.012 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.973e-05/1.619, allocations: 85.41 kB / 1.066 GB, free: 4.918 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002028/1.621, allocations: 1.449 MB / 1.068 GB, free: 3.465 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001774/1.621, allocations: 69.7 kB / 1.068 GB, free: 3.391 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.000924/1.622, allocations: 1.136 MB / 1.069 GB, free: 2.246 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007015/1.623, allocations: 0.7679 MB / 1.07 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005558/1.623, allocations: 363.5 kB / 1.07 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001063/1.623, allocations: 305.1 kB / 1.07 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001564/1.625, allocations: 0.9214 MB / 1.071 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001754/1.627, allocations: 1.251 MB / 1.073 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003427/1.63, allocations: 2.325 MB / 1.075 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/1.63, allocations: 0 / 1.075 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004474/1.635, allocations: 2.607 MB / 1.077 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.911e-05/1.635, allocations: 37.69 kB / 1.077 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/1.635, allocations: 8.062 kB / 1.077 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.944e-05/1.635, allocations: 20 kB / 1.077 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001958/1.637, allocations: 467.3 kB / 1.078 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.93e-05/1.637, allocations: 16 kB / 1.078 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002171/1.639, allocations: 194.6 kB / 1.078 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001609/1.639, allocations: 79.98 kB / 1.078 GB, free: 8.656 MB / 0.7794 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.001307/1.64, allocations: 0.6884 MB / 1.079 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004452/1.641, allocations: 226.6 kB / 1.079 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004232/1.645, allocations: 2.526 MB / 1.082 GB, free: 5.195 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/1.645, allocations: 20 kB / 1.082 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/1.645, allocations: 0 / 1.082 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003405/1.648, allocations: 2.331 MB / 1.084 GB, free: 2.777 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009059/1.658, allocations: 5.628 MB / 1.089 GB, free: 13.09 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/1.658, allocations: 8.062 kB / 1.089 GB, free: 13.08 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00219/1.66, allocations: 479.6 kB / 1.09 GB, free: 12.61 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.514e-05/1.66, allocations: 8 kB / 1.09 GB, free: 12.61 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001339/1.66, allocations: 51.98 kB / 1.09 GB, free: 12.55 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.367e-05/1.66, allocations: 12 kB / 1.09 GB, free: 12.54 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/1.66, allocations: 4 kB / 1.09 GB, free: 12.54 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006235/1.666, allocations: 3.818 MB / 1.094 GB, free: 8.672 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00139/1.668, allocations: 0.546 MB / 1.094 GB, free: 8.105 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000322/1.668, allocations: 44 kB / 1.094 GB, free: 8.062 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001474/1.669, allocations: 63.95 kB / 1.094 GB, free: 8 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002962/1.67, allocations: 149.7 kB / 1.094 GB, free: 7.855 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000138/1.67, allocations: 71.97 kB / 1.094 GB, free: 7.785 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001354/1.671, allocations: 0.9906 MB / 1.095 GB, free: 6.801 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/1.671, allocations: 0 / 1.095 GB, free: 6.801 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00228/1.674, allocations: 0.9395 MB / 1.096 GB, free: 5.859 MB / 0.795 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.006602/1.68, allocations: 4.65 MB / 1.101 GB, free: 1.176 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.003969/1.684, allocations: 2.34 MB / 1.103 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/1.684, allocations: 0 / 1.103 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001898/1.686, allocations: 1.223 MB / 1.104 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005853/1.692, allocations: 1.298 MB / 1.106 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02858/1.721, allocations: 18.63 MB / 1.124 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001613/1.722, allocations: 1.968 MB / 1.126 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002635/1.725, allocations: 0.7287 MB / 1.126 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001562/1.726, allocations: 1.093 MB / 1.128 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of SimCode: time 2.645e-06/1.726, allocations: 0 / 1.128 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1269/1.853, allocations: 65.85 MB / 1.192 GB, free: 4.27 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/14.98, allocations: 3.938 kB / 1.192 GB, free: 4.266 MB / 0.8887 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)