Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_8_Buildings_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.0009971/0.0009971, allocations: 101.4 kB / 15.7 MB, free: 0 / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 189.6 kB / 16.64 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.1/2.1, allocations: 205.1 MB / 222.5 MB, free: 4.398 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.827/1.827, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 72.52 kB / 0.6718 GB, free: 25.94 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.337, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.032/1.369, allocations: 294.2 MB / 1.071 GB, free: 0.8984 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.03934/1.408, allocations: 22.92 MB / 1.093 GB, free: 9.918 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006441/1.415, allocations: 71.69 kB / 1.093 GB, free: 9.848 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.007003/1.422, allocations: 1.791 MB / 1.095 GB, free: 8.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.02077/1.443, allocations: 6.059 MB / 1.101 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01079/1.453, allocations: 2.932 MB / 1.104 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01766/1.471, allocations: 7.287 MB / 1.111 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006342/1.477, allocations: 2.969 MB / 1.114 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01127/1.489, allocations: 2.89 MB / 1.117 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007497/1.496, allocations: 2.696 MB / 1.119 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001738/1.498, allocations: 344 kB / 1.12 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01861/1.517, allocations: 5.997 MB / 1.126 GB, free: 8.801 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.003714/1.521, allocations: 1.465 MB / 1.127 GB, free: 7.332 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.006481/1.527, allocations: 1.902 MB / 1.129 GB, free: 5.422 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.02319/1.55, allocations: 6.935 MB / 1.136 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.09e-05/1.55, allocations: 0 / 1.136 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.835e-06/1.55, allocations: 0 / 1.136 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002872/1.551, allocations: 0 / 1.136 GB, free: 14.47 MB / 0.8575 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.01817/1.569, allocations: 4.092 MB / 1.14 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.868e-05/1.569, allocations: 8.031 kB / 1.14 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001734/1.571, allocations: 396 kB / 1.14 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01022/1.581, allocations: 0.8353 MB / 1.141 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005278/1.586, allocations: 1.849 MB / 1.143 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001914/1.586, allocations: 209.4 kB / 1.143 GB, free: 6.945 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005786/1.587, allocations: 276 kB / 1.143 GB, free: 6.676 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007133/1.594, allocations: 3.593 MB / 1.147 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.649e-05/1.594, allocations: 4 kB / 1.147 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002767/1.595, allocations: 112 kB / 1.147 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001935/1.595, allocations: 161.1 kB / 1.147 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006038/1.601, allocations: 3.276 MB / 1.15 GB, free: 15.39 MB / 0.8731 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.02026/1.621, allocations: 14.18 MB / 1.164 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003887/1.625, allocations: 2.55 MB / 1.166 GB, free: 13.37 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001953/1.627, allocations: 1.349 MB / 1.168 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001417/1.628, allocations: 1.378 MB / 1.169 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002092/1.631, allocations: 1.221 MB / 1.17 GB, free: 9.117 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=213): time 5.07e-06/1.631, allocations: 3.938 kB / 1.17 GB, free: 9.113 MB / 0.8887 GB Notification: Performance of matching and sorting (n=213): time 0.006088/1.637, allocations: 3.156 MB / 1.173 GB, free: 5.953 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.021e-05/1.637, allocations: 81.34 kB / 1.173 GB, free: 5.859 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002442/1.639, allocations: 1.44 MB / 1.175 GB, free: 4.414 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002339/1.64, allocations: 65.69 kB / 1.175 GB, free: 4.344 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001237/1.641, allocations: 1.111 MB / 1.176 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000947/1.642, allocations: 0.7316 MB / 1.177 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006426/1.642, allocations: 359.5 kB / 1.177 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001578/1.643, allocations: 305.1 kB / 1.177 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001641/1.644, allocations: 0.9097 MB / 1.178 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002008/1.646, allocations: 1.269 MB / 1.179 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003574/1.65, allocations: 2.321 MB / 1.182 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/1.65, allocations: 0 / 1.182 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004847/1.655, allocations: 2.586 MB / 1.184 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.283e-05/1.655, allocations: 37.7 kB / 1.184 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/1.655, allocations: 11.94 kB / 1.184 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.125e-05/1.655, allocations: 16.72 kB / 1.184 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001912/1.657, allocations: 463.4 kB / 1.185 GB, free: 9.949 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.233e-05/1.657, allocations: 19.94 kB / 1.185 GB, free: 9.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002579/1.659, allocations: 200.7 kB / 1.185 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001787/1.66, allocations: 76 kB / 1.185 GB, free: 9.66 MB / 0.9044 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.001778/1.661, allocations: 0.6846 MB / 1.186 GB, free: 8.965 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007374/1.662, allocations: 213.5 kB / 1.186 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004586/1.667, allocations: 2.514 MB / 1.188 GB, free: 6.223 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.257e-05/1.667, allocations: 24 kB / 1.188 GB, free: 6.199 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/1.667, allocations: 3.984 kB / 1.188 GB, free: 6.195 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003559/1.67, allocations: 2.319 MB / 1.191 GB, free: 3.809 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01277/1.683, allocations: 5.58 MB / 1.196 GB, free: 14.11 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/1.683, allocations: 4.312 kB / 1.196 GB, free: 14.11 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002189/1.685, allocations: 483.4 kB / 1.197 GB, free: 13.63 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.99e-05/1.685, allocations: 8 kB / 1.197 GB, free: 13.62 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001526/1.686, allocations: 59.97 kB / 1.197 GB, free: 13.57 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.524e-05/1.686, allocations: 15.88 kB / 1.197 GB, free: 13.55 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/1.686, allocations: 8 kB / 1.197 GB, free: 13.54 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006642/1.692, allocations: 3.981 MB / 1.201 GB, free: 9.516 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001729/1.694, allocations: 0.5371 MB / 1.201 GB, free: 8.957 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003625/1.694, allocations: 51.98 kB / 1.201 GB, free: 8.906 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/1.696, allocations: 58.41 kB / 1.201 GB, free: 8.852 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003267/1.696, allocations: 153.7 kB / 1.201 GB, free: 8.699 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001447/1.696, allocations: 71.97 kB / 1.201 GB, free: 8.629 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001578/1.698, allocations: 0.9822 MB / 1.202 GB, free: 7.652 MB / 0.92 GB Notification: Performance of sort global known variables: time 4.81e-07/1.698, allocations: 0 / 1.202 GB, free: 7.652 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002967/1.701, allocations: 0.9389 MB / 1.203 GB, free: 6.711 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1],volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],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.007068/1.708, allocations: 4.811 MB / 1.208 GB, free: 1.855 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.004281/1.712, allocations: 2.344 MB / 1.21 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/1.712, allocations: 1.812 kB / 1.21 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001854/1.714, allocations: 1.23 MB / 1.211 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006165/1.72, allocations: 1.286 MB / 1.213 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03298/1.753, allocations: 18.41 MB / 1.231 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001825/1.755, allocations: 1.967 MB / 1.233 GB, free: 8.09 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.003103/1.758, allocations: 0.7092 MB / 1.233 GB, free: 7.379 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001746/1.76, allocations: 1.085 MB / 1.234 GB, free: 6.297 MB / 0.9512 GB Notification: Performance of SimCode: time 1.212e-06/1.76, allocations: 0 / 1.234 GB, free: 6.297 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6855/2.446, allocations: 65.28 MB / 1.298 GB, free: 395.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/14.94, allocations: 16.36 kB / 1.298 GB, free: 395.6 MB / 0.9981 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)