Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_latest_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.007316/0.007316, allocations: 100.2 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.001662/0.001662, allocations: 192.5 kB / 16.67 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.248/1.248, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.818/2.818, allocations: 469.4 MB / 0.7422 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 59.91 kB / 1.064 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7269/0.7283, allocations: 159.1 MB / 1.22 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.2607/0.989, allocations: 294.3 MB / 1.507 GB, free: 10.92 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.0274/1.016, allocations: 23.05 MB / 1.53 GB, free: 3.809 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002965/1.019, allocations: 79.62 kB / 1.53 GB, free: 3.73 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.004408/1.024, allocations: 1.865 MB / 1.532 GB, free: 1.855 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.01434/1.038, allocations: 6.32 MB / 1.538 GB, free: 11.51 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.007419/1.046, allocations: 2.928 MB / 1.541 GB, free: 8.586 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.008737/1.054, allocations: 7.311 MB / 1.548 GB, free: 1.246 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003755/1.058, allocations: 2.988 MB / 1.551 GB, free: 14.2 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005953/1.064, allocations: 2.932 MB / 1.553 GB, free: 11.28 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004262/1.069, allocations: 2.714 MB / 1.556 GB, free: 8.57 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.000672/1.069, allocations: 344 kB / 1.556 GB, free: 8.234 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01098/1.08, allocations: 6.021 MB / 1.562 GB, free: 2.199 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.00181/1.082, allocations: 1.465 MB / 1.564 GB, free: 0.7305 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.6703/1.752, allocations: 1.898 MB / 1.566 GB, free: 16.67 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01621/1.769, allocations: 6.955 MB / 1.572 GB, free: 16.29 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/1.769, allocations: 1.125 kB / 1.572 GB, free: 16.29 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.784e-06/1.769, allocations: 0 / 1.572 GB, free: 16.29 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0001488/1.769, allocations: 0 / 1.572 GB, free: 16.29 MB / 1.279 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.01301/1.782, allocations: 4.199 MB / 1.577 GB, free: 14.53 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/1.782, allocations: 11.41 kB / 1.577 GB, free: 14.53 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007046/1.783, allocations: 391.9 kB / 1.577 GB, free: 14.48 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005973/1.789, allocations: 0.8604 MB / 1.578 GB, free: 14.29 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004539/1.793, allocations: 1.874 MB / 1.58 GB, free: 13.77 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001838/1.793, allocations: 204.7 kB / 1.58 GB, free: 13.76 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007374/1.794, allocations: 280.2 kB / 1.58 GB, free: 13.76 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00763/1.802, allocations: 3.6 MB / 1.584 GB, free: 13.4 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.72e-05/1.802, allocations: 3.25 kB / 1.584 GB, free: 13.4 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003002/1.802, allocations: 114.6 kB / 1.584 GB, free: 13.4 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001576/1.802, allocations: 151.7 kB / 1.584 GB, free: 13.39 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005379/1.808, allocations: 3.286 MB / 1.587 GB, free: 13.36 MB / 1.279 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.01606/1.824, allocations: 14.23 MB / 1.601 GB, free: 21.12 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003237/1.827, allocations: 2.483 MB / 1.603 GB, free: 20.71 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001664/1.829, allocations: 1.352 MB / 1.605 GB, free: 20.68 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/1.83, allocations: 1.38 MB / 1.606 GB, free: 19.18 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001763/1.832, allocations: 1.228 MB / 1.607 GB, free: 19.11 MB / 1.295 GB Notification: Performance of pre-optimization done (n=213): time 4.698e-06/1.832, allocations: 0 / 1.607 GB, free: 19.11 MB / 1.295 GB Notification: Performance of matching and sorting (n=213): time 0.005163/1.837, allocations: 3.177 MB / 1.61 GB, free: 18.91 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/1.837, allocations: 73.84 kB / 1.61 GB, free: 18.84 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/1.839, allocations: 1.457 MB / 1.612 GB, free: 18.67 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001951/1.839, allocations: 64.52 kB / 1.612 GB, free: 18.64 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007441/1.84, allocations: 1.147 MB / 1.613 GB, free: 18.15 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005829/1.84, allocations: 0.7664 MB / 1.614 GB, free: 17.64 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005382/1.841, allocations: 362.2 kB / 1.614 GB, free: 17.61 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 8.549e-05/1.841, allocations: 305.7 kB / 1.614 GB, free: 17.31 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0015/1.842, allocations: 0.9121 MB / 1.615 GB, free: 17.3 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001539/1.844, allocations: 1.256 MB / 1.616 GB, free: 16.99 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003051/1.847, allocations: 2.324 MB / 1.619 GB, free: 16.66 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/1.847, allocations: 2.562 kB / 1.619 GB, free: 16.66 MB / 1.295 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004015/1.851, allocations: 2.609 MB / 1.621 GB, free: 16.44 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 4.687e-05/1.851, allocations: 37.95 kB / 1.621 GB, free: 16.41 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/1.851, allocations: 8.312 kB / 1.621 GB, free: 16.41 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.854e-05/1.851, allocations: 15.97 kB / 1.621 GB, free: 16.41 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001882/1.853, allocations: 466.9 kB / 1.622 GB, free: 16.41 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.378e-05/1.853, allocations: 19.67 kB / 1.622 GB, free: 16.41 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002509/1.856, allocations: 191.2 kB / 1.622 GB, free: 16.31 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002082/1.856, allocations: 87 kB / 1.622 GB, free: 16.3 MB / 1.295 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.001407/1.857, allocations: 0.6911 MB / 1.623 GB, free: 16.18 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005461/1.858, allocations: 230.3 kB / 1.623 GB, free: 16.06 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003813/1.862, allocations: 2.516 MB / 1.625 GB, free: 15.95 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/1.862, allocations: 18.53 kB / 1.625 GB, free: 15.95 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/1.862, allocations: 2.281 kB / 1.625 GB, free: 15.95 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002988/1.865, allocations: 2.334 MB / 1.628 GB, free: 15.55 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009579/1.874, allocations: 5.612 MB / 1.633 GB, free: 14.92 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.788e-06/1.874, allocations: 4.469 kB / 1.633 GB, free: 14.92 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002118/1.876, allocations: 475.4 kB / 1.634 GB, free: 14.92 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.011e-05/1.876, allocations: 10.19 kB / 1.634 GB, free: 14.92 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001903/1.877, allocations: 56.8 kB / 1.634 GB, free: 14.92 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-05/1.877, allocations: 12.73 kB / 1.634 GB, free: 14.92 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.877, allocations: 6.562 kB / 1.634 GB, free: 14.92 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005559/1.882, allocations: 3.811 MB / 1.637 GB, free: 14.5 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001517/1.884, allocations: 0.5555 MB / 1.638 GB, free: 14.26 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006592/1.884, allocations: 44.67 kB / 1.638 GB, free: 14.26 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002033/1.887, allocations: 64.53 kB / 1.638 GB, free: 14.26 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003298/1.887, allocations: 152 kB / 1.638 GB, free: 14.25 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002001/1.887, allocations: 71.28 kB / 1.638 GB, free: 14.25 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001642/1.889, allocations: 0.9912 MB / 1.639 GB, free: 14.14 MB / 1.295 GB Notification: Performance of sort global known variables: time 3.21e-07/1.889, allocations: 0 / 1.639 GB, free: 14.14 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002897/1.892, allocations: 0.9419 MB / 1.64 GB, free: 14 MB / 1.295 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.006397/1.898, allocations: 4.636 MB / 1.645 GB, free: 13.04 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003534/1.902, allocations: 2.348 MB / 1.647 GB, free: 12.93 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.004e-06/1.902, allocations: 0 / 1.647 GB, free: 12.93 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001666/1.903, allocations: 1.226 MB / 1.648 GB, free: 12.93 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00633/1.91, allocations: 1.285 MB / 1.65 GB, free: 12.76 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03025/1.94, allocations: 18.63 MB / 1.668 GB, free: 8.055 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001946/1.942, allocations: 1.977 MB / 1.67 GB, free: 7.27 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002732/1.945, allocations: 0.7284 MB / 1.67 GB, free: 7.129 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001604/1.946, allocations: 1.096 MB / 1.671 GB, free: 7.121 MB / 1.295 GB Notification: Performance of SimCode: time 9.72e-07/1.946, allocations: 0 / 1.671 GB, free: 7.121 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1018/2.048, allocations: 65.69 MB / 1.736 GB, free: 10.29 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/14.02, allocations: 10.03 kB / 1.736 GB, free: 10.28 MB / 1.342 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)