Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="BuildingSystems_BuildingSystems_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.005102/0.005102, allocations: 101 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.001247/0.001247, allocations: 190.3 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00559/0.00559, allocations: 283.2 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.571/1.571, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002678/0.002678, allocations: 91.86 kB / 0.681 GB, free: 7.422 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4924/0.4951, allocations: 86.98 MB / 0.7659 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 0.7794/1.274, allocations: 294.2 MB / 1.053 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02747/1.302, allocations: 23.06 MB / 1.076 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004719/1.307, allocations: 78.56 kB / 1.076 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005641/1.312, allocations: 1.794 MB / 1.078 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01519/1.328, allocations: 6.13 MB / 1.084 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.007965/1.336, allocations: 2.89 MB / 1.086 GB, free: 8.289 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01017/1.346, allocations: 7.307 MB / 1.094 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00503/1.351, allocations: 2.974 MB / 1.096 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007359/1.358, allocations: 2.869 MB / 1.099 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005989/1.364, allocations: 2.714 MB / 1.102 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001453/1.366, allocations: 344 kB / 1.102 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01485/1.381, allocations: 5.989 MB / 1.108 GB, free: 6.137 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.003308/1.384, allocations: 1.463 MB / 1.11 GB, free: 4.688 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.004981/1.389, allocations: 1.906 MB / 1.111 GB, free: 2.789 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01626/1.405, allocations: 6.961 MB / 1.118 GB, free: 12.16 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.405, allocations: 0 / 1.118 GB, free: 12.16 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.044e-06/1.405, allocations: 0 / 1.118 GB, free: 12.16 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001273/1.405, allocations: 3.938 kB / 1.118 GB, free: 12.15 MB / 0.7637 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.01039/1.416, allocations: 4.201 MB / 1.122 GB, free: 7.902 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/1.416, allocations: 12.03 kB / 1.122 GB, free: 7.891 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005831/1.417, allocations: 395.3 kB / 1.123 GB, free: 7.5 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005517/1.422, allocations: 0.8549 MB / 1.124 GB, free: 6.648 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003733/1.426, allocations: 1.875 MB / 1.125 GB, free: 4.75 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001675/1.426, allocations: 212 kB / 1.126 GB, free: 4.543 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004727/1.426, allocations: 279.9 kB / 1.126 GB, free: 4.273 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006396/1.433, allocations: 3.596 MB / 1.129 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.06e-05/1.433, allocations: 3.938 kB / 1.129 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002683/1.433, allocations: 115.8 kB / 1.129 GB, free: 460 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001635/1.433, allocations: 141.3 kB / 1.13 GB, free: 316 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006238/1.44, allocations: 3.292 MB / 1.133 GB, free: 13 MB / 0.7794 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.01858/1.458, allocations: 14.23 MB / 1.147 GB, free: 13.69 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003957/1.462, allocations: 2.486 MB / 1.149 GB, free: 11.13 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002151/1.464, allocations: 1.352 MB / 1.15 GB, free: 9.785 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001378/1.466, allocations: 1.38 MB / 1.152 GB, free: 8.121 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002176/1.468, allocations: 1.226 MB / 1.153 GB, free: 6.879 MB / 0.795 GB Notification: Performance of pre-optimization done (n=213): time 4.048e-06/1.468, allocations: 0 / 1.153 GB, free: 6.879 MB / 0.795 GB Notification: Performance of matching and sorting (n=213): time 0.006216/1.474, allocations: 3.18 MB / 1.156 GB, free: 3.695 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.178e-05/1.474, allocations: 77.41 kB / 1.156 GB, free: 3.609 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002349/1.477, allocations: 1.456 MB / 1.158 GB, free: 2.148 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0003322/1.477, allocations: 69.64 kB / 1.158 GB, free: 2.074 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001267/1.478, allocations: 1.14 MB / 1.159 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009809/1.479, allocations: 0.7651 MB / 1.16 GB, free: 172 kB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006585/1.48, allocations: 363.5 kB / 1.16 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001376/1.48, allocations: 305.1 kB / 1.16 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00179/1.482, allocations: 0.9175 MB / 1.161 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001982/1.484, allocations: 1.258 MB / 1.162 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003896/1.488, allocations: 2.321 MB / 1.165 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/1.488, allocations: 4 kB / 1.165 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005154/1.493, allocations: 2.611 MB / 1.167 GB, free: 8.145 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 7.928e-05/1.493, allocations: 33.7 kB / 1.167 GB, free: 8.105 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/1.493, allocations: 12.09 kB / 1.167 GB, free: 8.094 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.335e-05/1.493, allocations: 16 kB / 1.167 GB, free: 8.078 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002/1.495, allocations: 463.3 kB / 1.168 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.67e-05/1.495, allocations: 27.92 kB / 1.168 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001924/1.497, allocations: 186.6 kB / 1.168 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001692/1.497, allocations: 79.98 kB / 1.168 GB, free: 7.336 MB / 0.8106 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.001345/1.499, allocations: 0.6922 MB / 1.169 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005061/1.499, allocations: 226.6 kB / 1.169 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004649/1.504, allocations: 2.519 MB / 1.171 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.847e-05/1.504, allocations: 20 kB / 1.171 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/1.504, allocations: 0 / 1.171 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003716/1.508, allocations: 2.331 MB / 1.174 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009745/1.517, allocations: 5.613 MB / 1.179 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/1.517, allocations: 0 / 1.179 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002204/1.52, allocations: 487.7 kB / 1.179 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.881e-05/1.52, allocations: 8 kB / 1.179 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001583/1.52, allocations: 51.98 kB / 1.18 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.537e-05/1.52, allocations: 11.98 kB / 1.18 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/1.52, allocations: 4 kB / 1.18 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006277/1.526, allocations: 3.811 MB / 1.183 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/1.527, allocations: 0.546 MB / 1.184 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003241/1.528, allocations: 51.98 kB / 1.184 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001373/1.529, allocations: 63.56 kB / 1.184 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003028/1.529, allocations: 149.7 kB / 1.184 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001576/1.53, allocations: 75.95 kB / 1.184 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001422/1.531, allocations: 0.9945 MB / 1.185 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.61e-07/1.531, allocations: 4 kB / 1.185 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002112/1.533, allocations: 0.9395 MB / 1.186 GB, free: 4.547 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.00706/1.54, allocations: 4.636 MB / 1.191 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003998/1.544, allocations: 2.352 MB / 1.193 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.544, allocations: 3.938 kB / 1.193 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001969/1.546, allocations: 1.225 MB / 1.194 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005364/1.552, allocations: 1.293 MB / 1.195 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03109/1.583, allocations: 18.62 MB / 1.213 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002076/1.585, allocations: 1.968 MB / 1.215 GB, free: 5.902 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.002618/1.587, allocations: 0.721 MB / 1.216 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001722/1.589, allocations: 1.093 MB / 1.217 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of SimCode: time 9.32e-07/1.589, allocations: 0 / 1.217 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1198/1.709, allocations: 65.72 MB / 1.281 GB, free: 3.156 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/14.73, allocations: 0 / 1.281 GB, free: 3.156 MB / 0.92 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_CO2TransportStep.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)