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.001174/0.001174, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 195.4 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.396/1.396, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.742/1.742, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.00145/0.00145, allocations: 67.2 kB / 0.6716 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2553, allocations: 114.6 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.7692/1.025, allocations: 294.2 MB / 1.071 GB, free: 1.059 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02895/1.054, allocations: 22.93 MB / 1.093 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003837/1.057, allocations: 71.69 kB / 1.093 GB, free: 10 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.005429/1.063, allocations: 1.794 MB / 1.095 GB, free: 8.199 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01559/1.079, allocations: 6.056 MB / 1.101 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.008682/1.087, allocations: 2.917 MB / 1.104 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00976/1.097, allocations: 7.292 MB / 1.111 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004228/1.101, allocations: 2.975 MB / 1.114 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005954/1.107, allocations: 2.861 MB / 1.117 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004363/1.112, allocations: 2.714 MB / 1.119 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0007584/1.112, allocations: 340 kB / 1.12 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01192/1.124, allocations: 5.982 MB / 1.125 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002323/1.127, allocations: 1.473 MB / 1.127 GB, free: 7.516 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002893/1.13, allocations: 1.902 MB / 1.129 GB, free: 5.605 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01233/1.142, allocations: 6.884 MB / 1.135 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/1.142, allocations: 0 / 1.135 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.643e-06/1.142, allocations: 4 kB / 1.135 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.02e-05/1.142, allocations: 0 / 1.135 GB, free: 14.7 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.009905/1.152, allocations: 4.096 MB / 1.139 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/1.152, allocations: 8.031 kB / 1.139 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004739/1.153, allocations: 392 kB / 1.14 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005465/1.158, allocations: 0.8353 MB / 1.141 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003848/1.162, allocations: 1.778 MB / 1.142 GB, free: 7.453 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001397/1.162, allocations: 209.4 kB / 1.143 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00044/1.163, allocations: 272 kB / 1.143 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006025/1.169, allocations: 3.601 MB / 1.146 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.604e-05/1.169, allocations: 4 kB / 1.146 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002618/1.169, allocations: 116 kB / 1.146 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000145/1.169, allocations: 145.2 kB / 1.147 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005572/1.175, allocations: 3.284 MB / 1.15 GB, free: 15.69 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.01671/1.191, allocations: 14.29 MB / 1.164 GB, free: 184 kB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003624/1.195, allocations: 2.538 MB / 1.166 GB, free: 13.58 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001898/1.197, allocations: 1.356 MB / 1.168 GB, free: 12.22 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001216/1.198, allocations: 1.378 MB / 1.169 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001961/1.2, allocations: 1.214 MB / 1.17 GB, free: 9.32 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=213): time 4.068e-06/1.2, allocations: 0 / 1.17 GB, free: 9.32 MB / 0.8887 GB Notification: Performance of matching and sorting (n=213): time 0.005719/1.206, allocations: 3.164 MB / 1.173 GB, free: 6.152 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/1.206, allocations: 73.41 kB / 1.173 GB, free: 6.066 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002159/1.208, allocations: 1.444 MB / 1.175 GB, free: 4.617 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002913/1.209, allocations: 69.7 kB / 1.175 GB, free: 4.543 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001007/1.21, allocations: 1.103 MB / 1.176 GB, free: 3.426 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007619/1.21, allocations: 0.7316 MB / 1.176 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005392/1.211, allocations: 359.5 kB / 1.177 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 8.495e-05/1.211, allocations: 309.1 kB / 1.177 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001502/1.212, allocations: 0.9097 MB / 1.178 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001731/1.214, allocations: 1.265 MB / 1.179 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003326/1.218, allocations: 2.321 MB / 1.182 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/1.218, allocations: 4 kB / 1.182 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004289/1.222, allocations: 2.59 MB / 1.184 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.468e-05/1.222, allocations: 37.69 kB / 1.184 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/1.222, allocations: 8 kB / 1.184 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.882e-05/1.222, allocations: 16 kB / 1.184 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001859/1.224, allocations: 459.3 kB / 1.185 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-05/1.224, allocations: 24.23 kB / 1.185 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001985/1.226, allocations: 200.8 kB / 1.185 GB, free: 9.938 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/1.226, allocations: 75.98 kB / 1.185 GB, free: 9.863 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.00114/1.227, allocations: 0.6807 MB / 1.185 GB, free: 9.172 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004432/1.228, allocations: 213.5 kB / 1.186 GB, free: 8.961 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004132/1.232, allocations: 2.518 MB / 1.188 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.038e-05/1.232, allocations: 20 kB / 1.188 GB, free: 6.406 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/1.232, allocations: 0 / 1.188 GB, free: 6.406 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003352/1.235, allocations: 2.334 MB / 1.19 GB, free: 4.004 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008699/1.244, allocations: 5.579 MB / 1.196 GB, free: 14.31 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/1.244, allocations: 4.312 kB / 1.196 GB, free: 14.31 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002174/1.246, allocations: 487.4 kB / 1.196 GB, free: 13.83 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.518e-05/1.246, allocations: 8 kB / 1.196 GB, free: 13.82 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001299/1.246, allocations: 55.98 kB / 1.196 GB, free: 13.77 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.346e-05/1.246, allocations: 19.88 kB / 1.196 GB, free: 13.75 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/1.246, allocations: 0 / 1.196 GB, free: 13.75 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005794/1.252, allocations: 3.983 MB / 1.2 GB, free: 9.719 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/1.253, allocations: 0.541 MB / 1.201 GB, free: 9.156 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003063/1.254, allocations: 44 kB / 1.201 GB, free: 9.113 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/1.255, allocations: 70.39 kB / 1.201 GB, free: 9.047 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003052/1.255, allocations: 149.7 kB / 1.201 GB, free: 8.902 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001296/1.256, allocations: 67.97 kB / 1.201 GB, free: 8.836 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001285/1.257, allocations: 0.9821 MB / 1.202 GB, free: 7.859 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/1.257, allocations: 0 / 1.202 GB, free: 7.859 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002032/1.259, allocations: 0.9428 MB / 1.203 GB, free: 6.914 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.006293/1.265, allocations: 4.804 MB / 1.208 GB, free: 2.055 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.007711/1.273, allocations: 3.886 MB / 1.212 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/1.273, allocations: 0 / 1.212 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001778/1.275, allocations: 1.227 MB / 1.213 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00589/1.281, allocations: 1.293 MB / 1.214 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02639/1.307, allocations: 20.07 MB / 1.234 GB, free: 6.227 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001454/1.309, allocations: 1.975 MB / 1.236 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002652/1.311, allocations: 0.7092 MB / 1.236 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001432/1.313, allocations: 1.089 MB / 1.237 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of SimCode: time 2.275e-06/1.313, allocations: 0 / 1.237 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4964/1.809, allocations: 65.3 MB / 1.301 GB, free: 394.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.323/11.13, allocations: 8.641 kB / 1.301 GB, free: 394.5 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)