Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_10_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.009945/0.009945, allocations: 100.5 kB / 15.73 MB, free: 6.059 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.002555/0.002555, allocations: 196.6 kB / 16.68 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.501/1.501, 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/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.591/2.591, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 67.91 kB / 1.018 GB, free: 9.852 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.893/0.8948, allocations: 151.6 MB / 1.166 GB, free: 3.727 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.3243/1.219, allocations: 294.3 MB / 1.454 GB, free: 12.38 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.03324/1.252, allocations: 23.04 MB / 1.476 GB, free: 5.273 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00326/1.256, allocations: 75.62 kB / 1.476 GB, free: 5.199 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.005304/1.261, allocations: 1.791 MB / 1.478 GB, free: 3.398 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01596/1.277, allocations: 6.139 MB / 1.484 GB, free: 13.24 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.00804/1.285, allocations: 2.889 MB / 1.487 GB, free: 10.35 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.01094/1.296, allocations: 7.309 MB / 1.494 GB, free: 3.016 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004547/1.301, allocations: 2.972 MB / 1.497 GB, free: 15.99 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006844/1.308, allocations: 2.869 MB / 1.5 GB, free: 13.13 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005055/1.313, allocations: 2.715 MB / 1.502 GB, free: 10.42 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.000779/1.313, allocations: 344 kB / 1.503 GB, free: 10.09 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01206/1.325, allocations: 5.982 MB / 1.508 GB, free: 4.09 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.002125/1.328, allocations: 1.461 MB / 1.51 GB, free: 2.625 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.002988/1.331, allocations: 1.906 MB / 1.512 GB, free: 0.7109 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01447/1.345, allocations: 6.962 MB / 1.518 GB, free: 9.727 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/1.345, allocations: 3.984 kB / 1.518 GB, free: 9.723 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.944e-06/1.345, allocations: 0 / 1.518 GB, free: 9.723 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0001259/1.345, allocations: 0 / 1.518 GB, free: 9.723 MB / 1.248 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.01091/1.356, allocations: 4.187 MB / 1.523 GB, free: 5.457 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/1.356, allocations: 12.92 kB / 1.523 GB, free: 5.445 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005485/1.357, allocations: 392.1 kB / 1.523 GB, free: 5.055 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005554/1.362, allocations: 0.8681 MB / 1.524 GB, free: 4.184 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00385/1.366, allocations: 1.87 MB / 1.526 GB, free: 2.258 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001668/1.366, allocations: 205.4 kB / 1.526 GB, free: 2.055 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004771/1.367, allocations: 279.9 kB / 1.526 GB, free: 1.781 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006358/1.373, allocations: 3.597 MB / 1.53 GB, free: 14.06 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-05/1.373, allocations: 11.94 kB / 1.53 GB, free: 14.05 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002647/1.374, allocations: 120 kB / 1.53 GB, free: 13.93 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001652/1.374, allocations: 145.2 kB / 1.53 GB, free: 13.79 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006081/1.38, allocations: 3.284 MB / 1.533 GB, free: 10.49 MB / 1.264 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.01842/1.398, allocations: 14.24 MB / 1.547 GB, free: 11.03 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003987/1.402, allocations: 2.489 MB / 1.549 GB, free: 8.469 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002105/1.405, allocations: 1.352 MB / 1.551 GB, free: 7.113 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001388/1.406, allocations: 1.378 MB / 1.552 GB, free: 5.441 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00222/1.408, allocations: 1.23 MB / 1.553 GB, free: 4.199 MB / 1.279 GB Notification: Performance of pre-optimization done (n=213): time 5.15e-06/1.408, allocations: 0 / 1.553 GB, free: 4.199 MB / 1.279 GB Notification: Performance of matching and sorting (n=213): time 0.006325/1.415, allocations: 3.177 MB / 1.556 GB, free: 1.02 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.293e-05/1.415, allocations: 77.34 kB / 1.556 GB, free: 0.9336 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6511/2.066, allocations: 1.452 MB / 1.558 GB, free: 385 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0004823/2.066, allocations: 69.17 kB / 1.558 GB, free: 385 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001282/2.068, allocations: 1.135 MB / 1.559 GB, free: 384.9 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.00117/2.069, allocations: 0.7756 MB / 1.56 GB, free: 384.4 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009299/2.07, allocations: 356.3 kB / 1.56 GB, free: 384.3 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 6.718e-05/2.07, allocations: 302.4 kB / 1.56 GB, free: 384 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002544/2.072, allocations: 0.9114 MB / 1.561 GB, free: 383.6 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002675/2.075, allocations: 1.256 MB / 1.563 GB, free: 383 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0042/2.079, allocations: 2.324 MB / 1.565 GB, free: 381.8 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/2.079, allocations: 2.938 kB / 1.565 GB, free: 381.8 MB / 1.279 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005359/2.085, allocations: 2.613 MB / 1.567 GB, free: 380.7 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.699e-05/2.085, allocations: 34.64 kB / 1.567 GB, free: 380.7 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/2.085, allocations: 7.938 kB / 1.567 GB, free: 380.7 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.409e-05/2.085, allocations: 20.41 kB / 1.567 GB, free: 380.7 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002494/2.087, allocations: 466.7 kB / 1.568 GB, free: 380.7 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.379e-05/2.087, allocations: 21.67 kB / 1.568 GB, free: 380.6 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002487/2.09, allocations: 204.9 kB / 1.568 GB, free: 380.6 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001868/2.09, allocations: 74.52 kB / 1.568 GB, free: 380.5 MB / 1.279 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.001356/2.091, allocations: 0.6814 MB / 1.569 GB, free: 380.2 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005328/2.092, allocations: 225.2 kB / 1.569 GB, free: 380.1 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005038/2.097, allocations: 2.52 MB / 1.571 GB, free: 379 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/2.097, allocations: 26.84 kB / 1.571 GB, free: 379 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/2.097, allocations: 7.891 kB / 1.572 GB, free: 379 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003759/2.101, allocations: 2.333 MB / 1.574 GB, free: 377.9 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009649/2.11, allocations: 5.6 MB / 1.579 GB, free: 375.5 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/2.111, allocations: 5.375 kB / 1.579 GB, free: 375.5 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002901/2.113, allocations: 477.5 kB / 1.58 GB, free: 375.3 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.782e-05/2.113, allocations: 8 kB / 1.58 GB, free: 375.3 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001862/2.114, allocations: 63.05 kB / 1.58 GB, free: 375.2 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.294e-05/2.114, allocations: 15.94 kB / 1.58 GB, free: 375.2 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/2.114, allocations: 0 / 1.58 GB, free: 375.2 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006313/2.12, allocations: 3.806 MB / 1.584 GB, free: 371.8 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00149/2.122, allocations: 0.5518 MB / 1.584 GB, free: 371.3 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004185/2.122, allocations: 41.97 kB / 1.584 GB, free: 371.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001813/2.124, allocations: 63.19 kB / 1.584 GB, free: 371.2 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003592/2.124, allocations: 159.8 kB / 1.584 GB, free: 371.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001605/2.124, allocations: 70.7 kB / 1.584 GB, free: 371 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001239/2.126, allocations: 0.9859 MB / 1.585 GB, free: 370.1 MB / 1.279 GB Notification: Performance of sort global known variables: time 2.4e-07/2.126, allocations: 0 / 1.585 GB, free: 370.1 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002478/2.128, allocations: 0.9405 MB / 1.586 GB, free: 369.2 MB / 1.279 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.007218/2.135, allocations: 4.63 MB / 1.591 GB, free: 364.6 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.004632/2.14, allocations: 2.342 MB / 1.593 GB, free: 362.3 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/2.14, allocations: 3.938 kB / 1.593 GB, free: 362.3 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002104/2.142, allocations: 1.225 MB / 1.594 GB, free: 361.1 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006906/2.149, allocations: 1.294 MB / 1.596 GB, free: 359.9 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02677/2.176, allocations: 18.64 MB / 1.614 GB, free: 341.1 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/2.177, allocations: 1.964 MB / 1.616 GB, free: 339.1 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002819/2.18, allocations: 0.7343 MB / 1.616 GB, free: 338.3 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001594/2.181, allocations: 1.097 MB / 1.617 GB, free: 337.2 MB / 1.279 GB Notification: Performance of SimCode: time 1.092e-06/2.181, allocations: 0 / 1.617 GB, free: 337.2 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09842/2.28, allocations: 65.69 MB / 1.682 GB, free: 272.2 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/15.16, allocations: 15 kB / 1.682 GB, free: 272.2 MB / 1.279 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)