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.005646/0.005646, allocations: 98.77 kB / 15.73 MB, free: 6.066 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.00132/0.00132, allocations: 196.1 kB / 16.68 MB, free: 5.973 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004499/0.004499, allocations: 291.3 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.648/1.648, allocations: 178.6 MB / 0.5074 GB, free: 12.64 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002677/0.002677, allocations: 100.3 kB / 0.6943 GB, free: 15.16 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4183, allocations: 89.13 MB / 0.7814 GB, free: 1.117 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.CO2TransportStep): time 0.7614/1.18, allocations: 294.2 MB / 1.069 GB, free: 1.375 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02853/1.208, allocations: 23.05 MB / 1.091 GB, free: 0.7227 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004512/1.213, allocations: 78.28 kB / 1.091 GB, free: 0.7227 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.005074/1.218, allocations: 1.81 MB / 1.093 GB, free: 0.6758 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01518/1.233, allocations: 6.122 MB / 1.099 GB, free: 372 kB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.008304/1.242, allocations: 2.894 MB / 1.102 GB, free: 164 kB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01237/1.254, allocations: 7.353 MB / 1.109 GB, free: 13.93 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00504/1.259, allocations: 2.984 MB / 1.112 GB, free: 12.24 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00892/1.268, allocations: 2.878 MB / 1.115 GB, free: 11.07 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005907/1.274, allocations: 2.706 MB / 1.117 GB, free: 9.82 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001137/1.275, allocations: 342.5 kB / 1.118 GB, free: 9.82 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01372/1.289, allocations: 5.988 MB / 1.124 GB, free: 6.66 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.002766/1.292, allocations: 1.469 MB / 1.125 GB, free: 5.215 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.004909/1.297, allocations: 1.902 MB / 1.127 GB, free: 3.336 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01702/1.314, allocations: 6.957 MB / 1.134 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/1.314, allocations: 0 / 1.134 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.194e-06/1.314, allocations: 0 / 1.134 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001658/1.314, allocations: 0 / 1.134 GB, free: 12.77 MB / 0.7794 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.01188/1.326, allocations: 4.199 MB / 1.138 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/1.326, allocations: 8.031 kB / 1.138 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006263/1.326, allocations: 390.2 kB / 1.138 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005687/1.332, allocations: 0.8628 MB / 1.139 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004698/1.337, allocations: 1.877 MB / 1.141 GB, free: 5.449 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002316/1.337, allocations: 216.1 kB / 1.141 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009566/1.338, allocations: 275.4 kB / 1.141 GB, free: 4.973 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009134/1.347, allocations: 3.598 MB / 1.145 GB, free: 1.27 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.84e-05/1.347, allocations: 7.234 kB / 1.145 GB, free: 1.266 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003309/1.348, allocations: 118.7 kB / 1.145 GB, free: 1.152 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001768/1.348, allocations: 141.3 kB / 1.145 GB, free: 1.012 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007256/1.355, allocations: 3.293 MB / 1.148 GB, free: 13.73 MB / 0.795 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.01993/1.375, allocations: 14.24 MB / 1.162 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004004/1.379, allocations: 2.484 MB / 1.165 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00219/1.381, allocations: 1.349 MB / 1.166 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001445/1.383, allocations: 1.376 MB / 1.167 GB, free: 8.98 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002143/1.385, allocations: 1.23 MB / 1.168 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=213): time 4.498e-06/1.385, allocations: 0 / 1.168 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of matching and sorting (n=213): time 0.006131/1.391, allocations: 3.18 MB / 1.172 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.869e-05/1.391, allocations: 77.41 kB / 1.172 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002425/1.394, allocations: 1.456 MB / 1.173 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002881/1.394, allocations: 61.7 kB / 1.173 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001345/1.395, allocations: 1.14 MB / 1.174 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.001014/1.396, allocations: 0.7694 MB / 1.175 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006389/1.397, allocations: 367.5 kB / 1.175 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001425/1.397, allocations: 305.1 kB / 1.176 GB, free: 380 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001727/1.399, allocations: 0.9175 MB / 1.177 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002246/1.401, allocations: 1.257 MB / 1.178 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004131/1.405, allocations: 2.319 MB / 1.18 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.248e-05/1.405, allocations: 4 kB / 1.18 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005652/1.411, allocations: 2.603 MB / 1.183 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.461e-05/1.411, allocations: 41.69 kB / 1.183 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-05/1.411, allocations: 8 kB / 1.183 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.832e-05/1.411, allocations: 22.75 kB / 1.183 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002203/1.413, allocations: 462.2 kB / 1.183 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.566e-05/1.414, allocations: 22.61 kB / 1.183 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002382/1.416, allocations: 190.6 kB / 1.183 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002921/1.416, allocations: 83.92 kB / 1.183 GB, free: 8.309 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.001935/1.418, allocations: 0.6839 MB / 1.184 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001003/1.419, allocations: 222.6 kB / 1.184 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005768/1.425, allocations: 2.525 MB / 1.187 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-05/1.425, allocations: 20 kB / 1.187 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/1.425, allocations: 0 / 1.187 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004109/1.429, allocations: 2.334 MB / 1.189 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01243/1.442, allocations: 5.615 MB / 1.194 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/1.442, allocations: 0 / 1.194 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002402/1.444, allocations: 480.6 kB / 1.195 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.459e-05/1.444, allocations: 10.62 kB / 1.195 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002508/1.444, allocations: 55.97 kB / 1.195 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-05/1.444, allocations: 8 kB / 1.195 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/1.444, allocations: 4 kB / 1.195 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007003/1.452, allocations: 3.812 MB / 1.199 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001459/1.453, allocations: 0.546 MB / 1.199 GB, free: 7.867 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005558/1.454, allocations: 51.98 kB / 1.199 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001757/1.455, allocations: 61.59 kB / 1.199 GB, free: 7.758 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003681/1.456, allocations: 152.6 kB / 1.2 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000201/1.456, allocations: 72.03 kB / 1.2 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001854/1.458, allocations: 0.9906 MB / 1.201 GB, free: 6.555 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/1.458, allocations: 0 / 1.201 GB, free: 6.555 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002907/1.461, allocations: 0.9434 MB / 1.201 GB, free: 5.609 MB / 0.8419 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.008224/1.469, allocations: 4.639 MB / 1.206 GB, free: 0.9648 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004669/1.474, allocations: 2.356 MB / 1.208 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/1.474, allocations: 0 / 1.208 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002238/1.476, allocations: 1.229 MB / 1.21 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006562/1.483, allocations: 1.291 MB / 1.211 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03415/1.517, allocations: 18.63 MB / 1.229 GB, free: 9.148 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002145/1.519, allocations: 1.971 MB / 1.231 GB, free: 7.141 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002673/1.522, allocations: 0.721 MB / 1.232 GB, free: 6.418 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001848/1.523, allocations: 1.097 MB / 1.233 GB, free: 5.32 MB / 0.8731 GB Notification: Performance of SimCode: time 1.022e-06/1.523, allocations: 0 / 1.233 GB, free: 5.32 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1254/1.649, allocations: 65.72 MB / 1.297 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/14.22, allocations: 7.75 kB / 1.297 GB, free: 4.473 MB / 0.9356 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)