Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_9_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.008221/0.008221, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.002205/0.002205, allocations: 191.5 kB / 16.67 MB, free: 5.523 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.186/2.186, allocations: 390.3 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 63.89 kB / 0.9504 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8894/0.8908, allocations: 140.4 MB / 1.087 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.334/1.225, allocations: 294.2 MB / 1.375 GB, free: 7.227 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0325/1.257, allocations: 23.06 MB / 1.397 GB, free: 116 kB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003468/1.261, allocations: 79.62 kB / 1.397 GB, free: 36 kB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.005229/1.266, allocations: 1.798 MB / 1.399 GB, free: 14.22 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.01592/1.282, allocations: 6.126 MB / 1.405 GB, free: 8.07 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.008086/1.29, allocations: 2.9 MB / 1.408 GB, free: 5.176 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.009496/1.3, allocations: 7.292 MB / 1.415 GB, free: 13.86 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005023/1.305, allocations: 2.976 MB / 1.418 GB, free: 10.83 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006833/1.312, allocations: 2.872 MB / 1.421 GB, free: 7.973 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005267/1.317, allocations: 2.711 MB / 1.423 GB, free: 5.262 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.001425/1.318, allocations: 344 kB / 1.424 GB, free: 4.926 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01274/1.331, allocations: 5.986 MB / 1.43 GB, free: 14.93 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.002333/1.334, allocations: 1.461 MB / 1.431 GB, free: 13.46 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.004185/1.338, allocations: 1.91 MB / 1.433 GB, free: 11.54 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01399/1.352, allocations: 6.931 MB / 1.44 GB, free: 4.594 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/1.352, allocations: 0 / 1.44 GB, free: 4.594 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.893e-06/1.352, allocations: 0 / 1.44 GB, free: 4.594 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0001923/1.352, allocations: 0 / 1.44 GB, free: 4.594 MB / 1.17 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.01254/1.365, allocations: 4.096 MB / 1.444 GB, free: 436 kB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/1.365, allocations: 12.03 kB / 1.444 GB, free: 424 kB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001005/1.366, allocations: 396 kB / 1.444 GB, free: 20 kB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006012/1.372, allocations: 0.8429 MB / 1.445 GB, free: 15.17 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004419/1.376, allocations: 1.853 MB / 1.447 GB, free: 13.26 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001959/1.376, allocations: 213.4 kB / 1.447 GB, free: 13.05 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007579/1.377, allocations: 275.9 kB / 1.447 GB, free: 12.78 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007788/1.385, allocations: 3.597 MB / 1.451 GB, free: 9.059 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.202e-05/1.385, allocations: 15.94 kB / 1.451 GB, free: 9.043 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004653/1.385, allocations: 112 kB / 1.451 GB, free: 8.934 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001761/1.386, allocations: 149.2 kB / 1.451 GB, free: 8.785 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006675/1.392, allocations: 3.284 MB / 1.454 GB, free: 5.488 MB / 1.186 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.02064/1.413, allocations: 14.2 MB / 1.468 GB, free: 6.059 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004457/1.418, allocations: 2.486 MB / 1.47 GB, free: 3.504 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002327/1.42, allocations: 1.356 MB / 1.472 GB, free: 2.145 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001378/1.421, allocations: 1.375 MB / 1.473 GB, free: 484 kB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002427/1.424, allocations: 1.229 MB / 1.474 GB, free: 15.23 MB / 1.217 GB Notification: Performance of pre-optimization done (n=213): time 5.821e-06/1.424, allocations: 0 / 1.474 GB, free: 15.23 MB / 1.217 GB Notification: Performance of matching and sorting (n=213): time 0.006548/1.43, allocations: 3.171 MB / 1.477 GB, free: 12.06 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.518e-05/1.43, allocations: 77.34 kB / 1.478 GB, free: 11.97 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002607/1.433, allocations: 1.452 MB / 1.479 GB, free: 10.51 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002547/1.433, allocations: 65.7 kB / 1.479 GB, free: 10.44 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.00109/1.434, allocations: 1.127 MB / 1.48 GB, free: 9.301 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008832/1.435, allocations: 0.7315 MB / 1.481 GB, free: 8.559 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000749/1.436, allocations: 355.5 kB / 1.481 GB, free: 8.203 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001188/1.436, allocations: 305.1 kB / 1.481 GB, free: 7.902 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001737/1.438, allocations: 0.9175 MB / 1.482 GB, free: 6.98 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002001/1.44, allocations: 1.251 MB / 1.484 GB, free: 5.609 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003871/1.444, allocations: 2.321 MB / 1.486 GB, free: 3.184 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/1.444, allocations: 0 / 1.486 GB, free: 3.184 MB / 1.217 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005066/1.449, allocations: 2.605 MB / 1.488 GB, free: 0.5586 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 6.742e-05/1.449, allocations: 37.7 kB / 1.488 GB, free: 0.5156 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-05/1.449, allocations: 8 kB / 1.488 GB, free: 0.5078 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.258e-05/1.449, allocations: 16 kB / 1.488 GB, free: 0.4922 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002072/1.451, allocations: 471.8 kB / 1.489 GB, free: 32 kB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.418e-05/1.451, allocations: 19.98 kB / 1.489 GB, free: 12 kB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002272/1.454, allocations: 190.1 kB / 1.489 GB, free: 15.82 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002328/1.454, allocations: 79.92 kB / 1.489 GB, free: 15.74 MB / 1.232 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.001493/1.455, allocations: 0.6797 MB / 1.49 GB, free: 15.05 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006964/1.456, allocations: 213.5 kB / 1.49 GB, free: 14.84 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004945/1.461, allocations: 2.522 MB / 1.492 GB, free: 12.3 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-05/1.461, allocations: 27.94 kB / 1.493 GB, free: 12.27 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/1.461, allocations: 0 / 1.493 GB, free: 12.27 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00368/1.465, allocations: 2.331 MB / 1.495 GB, free: 9.879 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01091/1.476, allocations: 5.604 MB / 1.5 GB, free: 4.16 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/1.476, allocations: 4 kB / 1.5 GB, free: 4.156 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002291/1.478, allocations: 479.7 kB / 1.501 GB, free: 3.688 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.264e-05/1.478, allocations: 12 kB / 1.501 GB, free: 3.676 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001991/1.478, allocations: 51.98 kB / 1.501 GB, free: 3.625 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.075e-05/1.478, allocations: 11.98 kB / 1.501 GB, free: 3.613 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/1.478, allocations: 8 kB / 1.501 GB, free: 3.605 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006388/1.485, allocations: 3.809 MB / 1.505 GB, free: 15.75 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001486/1.486, allocations: 0.5332 MB / 1.505 GB, free: 15.19 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005234/1.487, allocations: 47.98 kB / 1.505 GB, free: 15.14 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001796/1.489, allocations: 65.84 kB / 1.505 GB, free: 15.08 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003407/1.489, allocations: 149.7 kB / 1.505 GB, free: 14.93 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000182/1.489, allocations: 79.97 kB / 1.505 GB, free: 14.86 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001709/1.491, allocations: 0.9866 MB / 1.506 GB, free: 13.88 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.2e-07/1.491, allocations: 0 / 1.506 GB, free: 13.88 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002693/1.494, allocations: 0.939 MB / 1.507 GB, free: 12.93 MB / 1.248 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.007318/1.501, allocations: 4.628 MB / 1.512 GB, free: 8.266 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.004163/1.505, allocations: 2.336 MB / 1.514 GB, free: 5.914 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.505, allocations: 4 kB / 1.514 GB, free: 5.91 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.002103/1.507, allocations: 1.223 MB / 1.515 GB, free: 4.691 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006539/1.514, allocations: 1.284 MB / 1.517 GB, free: 3.426 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0341/1.548, allocations: 18.53 MB / 1.535 GB, free: 404 kB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002249/1.55, allocations: 1.968 MB / 1.537 GB, free: 14.39 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002818/1.553, allocations: 0.7288 MB / 1.537 GB, free: 13.66 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001852/1.555, allocations: 1.093 MB / 1.538 GB, free: 12.57 MB / 1.279 GB Notification: Performance of SimCode: time 1.012e-06/1.555, allocations: 0 / 1.538 GB, free: 12.57 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6336/2.189, allocations: 65.68 MB / 1.602 GB, free: 440.5 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/14.78, allocations: 7.984 kB / 1.602 GB, free: 440.5 MB / 1.311 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.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 Buildings_9_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)