Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_11_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.006576/0.006576, allocations: 98.91 kB / 15.73 MB, free: 6.008 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.001684/0.001684, allocations: 191.5 kB / 16.67 MB, free: 5.926 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.614/2.614, allocations: 469.8 MB / 0.7425 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 63.89 kB / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6688/0.6707, allocations: 159.1 MB / 1.22 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.3103/0.9811, allocations: 294.3 MB / 1.508 GB, free: 10.65 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.03129/1.012, allocations: 23.04 MB / 1.53 GB, free: 3.551 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002762/1.015, allocations: 83.62 kB / 1.53 GB, free: 3.469 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.004715/1.02, allocations: 1.791 MB / 1.532 GB, free: 1.668 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.01458/1.035, allocations: 6.129 MB / 1.538 GB, free: 11.51 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.00757/1.042, allocations: 2.896 MB / 1.541 GB, free: 8.617 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.009529/1.052, allocations: 7.31 MB / 1.548 GB, free: 1.281 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004514/1.056, allocations: 2.972 MB / 1.551 GB, free: 14.25 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00628/1.063, allocations: 2.869 MB / 1.554 GB, free: 11.39 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004881/1.067, allocations: 2.718 MB / 1.556 GB, free: 8.676 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.001005/1.068, allocations: 340 kB / 1.557 GB, free: 8.344 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01183/1.08, allocations: 5.982 MB / 1.562 GB, free: 2.348 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.002212/1.083, allocations: 1.469 MB / 1.564 GB, free: 0.875 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.618/1.701, allocations: 1.901 MB / 1.566 GB, free: 16.43 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01413/1.715, allocations: 6.949 MB / 1.572 GB, free: 16.05 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/1.715, allocations: 1.297 kB / 1.572 GB, free: 16.05 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.653e-06/1.715, allocations: 1.812 kB / 1.572 GB, free: 16.05 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0001156/1.715, allocations: 0 / 1.572 GB, free: 16.05 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.01164/1.727, allocations: 4.202 MB / 1.577 GB, free: 14.29 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/1.727, allocations: 9.812 kB / 1.577 GB, free: 14.29 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005672/1.727, allocations: 393.2 kB / 1.577 GB, free: 14.24 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005768/1.733, allocations: 0.8586 MB / 1.578 GB, free: 14.05 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003467/1.736, allocations: 1.876 MB / 1.58 GB, free: 13.53 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/1.737, allocations: 209.9 kB / 1.58 GB, free: 13.52 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003984/1.737, allocations: 280.1 kB / 1.58 GB, free: 13.52 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005624/1.743, allocations: 3.59 MB / 1.584 GB, free: 13.16 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-05/1.743, allocations: 13.56 kB / 1.584 GB, free: 13.16 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002763/1.743, allocations: 115 kB / 1.584 GB, free: 13.16 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001453/1.743, allocations: 142.3 kB / 1.584 GB, free: 13.15 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005098/1.748, allocations: 3.288 MB / 1.587 GB, free: 13.12 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.01503/1.763, allocations: 14.24 MB / 1.601 GB, free: 20.89 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003199/1.766, allocations: 2.482 MB / 1.603 GB, free: 20.46 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001655/1.768, allocations: 1.353 MB / 1.605 GB, free: 20.45 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001345/1.77, allocations: 1.374 MB / 1.606 GB, free: 18.94 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001741/1.771, allocations: 1.226 MB / 1.607 GB, free: 18.86 MB / 1.295 GB Notification: Performance of pre-optimization done (n=213): time 4.839e-06/1.771, allocations: 0.875 kB / 1.607 GB, free: 18.86 MB / 1.295 GB Notification: Performance of matching and sorting (n=213): time 0.005153/1.776, allocations: 3.177 MB / 1.61 GB, free: 18.66 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/1.777, allocations: 75.25 kB / 1.61 GB, free: 18.6 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/1.778, allocations: 1.454 MB / 1.612 GB, free: 18.43 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001602/1.778, allocations: 69.12 kB / 1.612 GB, free: 18.4 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.000691/1.779, allocations: 1.148 MB / 1.613 GB, free: 17.91 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.000511/1.78, allocations: 0.7659 MB / 1.614 GB, free: 17.4 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005206/1.78, allocations: 363.2 kB / 1.614 GB, free: 17.37 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001204/1.78, allocations: 305.1 kB / 1.614 GB, free: 17.07 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001488/1.782, allocations: 0.9122 MB / 1.615 GB, free: 17.06 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001536/1.783, allocations: 1.255 MB / 1.617 GB, free: 16.75 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002989/1.786, allocations: 2.318 MB / 1.619 GB, free: 16.43 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/1.786, allocations: 6.281 kB / 1.619 GB, free: 16.43 MB / 1.295 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003914/1.79, allocations: 2.612 MB / 1.621 GB, free: 16.2 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/1.79, allocations: 36.8 kB / 1.621 GB, free: 16.17 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/1.79, allocations: 6.078 kB / 1.621 GB, free: 16.17 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-05/1.79, allocations: 19.88 kB / 1.621 GB, free: 16.17 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00183/1.792, allocations: 464 kB / 1.622 GB, free: 16.17 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.239e-05/1.792, allocations: 22.86 kB / 1.622 GB, free: 16.17 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002053/1.794, allocations: 197.4 kB / 1.622 GB, free: 16.07 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/1.794, allocations: 75.38 kB / 1.622 GB, free: 16.07 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.001152/1.796, allocations: 0.6878 MB / 1.623 GB, free: 15.95 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003392/1.796, allocations: 226.9 kB / 1.623 GB, free: 15.83 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003861/1.8, allocations: 2.52 MB / 1.625 GB, free: 15.71 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/1.8, allocations: 20.06 kB / 1.625 GB, free: 15.71 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.8, allocations: 0 / 1.625 GB, free: 15.71 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003266/1.803, allocations: 2.338 MB / 1.628 GB, free: 15.32 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00856/1.812, allocations: 5.612 MB / 1.633 GB, free: 14.68 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/1.812, allocations: 4.266 kB / 1.633 GB, free: 14.68 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002102/1.814, allocations: 476.8 kB / 1.634 GB, free: 14.68 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.189e-05/1.814, allocations: 8.406 kB / 1.634 GB, free: 14.68 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001341/1.814, allocations: 54.59 kB / 1.634 GB, free: 14.68 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.255e-05/1.814, allocations: 15.22 kB / 1.634 GB, free: 14.68 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.814, allocations: 2.531 kB / 1.634 GB, free: 14.68 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005144/1.819, allocations: 3.817 MB / 1.638 GB, free: 14.26 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0011/1.82, allocations: 0.5508 MB / 1.638 GB, free: 14.02 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003063/1.821, allocations: 46.98 kB / 1.638 GB, free: 14.02 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/1.822, allocations: 63 kB / 1.638 GB, free: 14.02 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002937/1.822, allocations: 154.2 kB / 1.638 GB, free: 14.01 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001362/1.822, allocations: 72.78 kB / 1.638 GB, free: 14.01 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001194/1.824, allocations: 0.9877 MB / 1.639 GB, free: 13.9 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.5e-07/1.824, allocations: 0 / 1.639 GB, free: 13.9 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002048/1.826, allocations: 0.9419 MB / 1.64 GB, free: 13.77 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.005716/1.831, allocations: 4.639 MB / 1.645 GB, free: 12.8 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003274/1.835, allocations: 2.341 MB / 1.647 GB, free: 12.7 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/1.835, allocations: 2.906 kB / 1.647 GB, free: 12.7 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001553/1.836, allocations: 1.232 MB / 1.648 GB, free: 12.69 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005182/1.841, allocations: 1.282 MB / 1.65 GB, free: 12.52 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02363/1.865, allocations: 18.63 MB / 1.668 GB, free: 7.805 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0014/1.867, allocations: 1.965 MB / 1.67 GB, free: 7.023 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002413/1.869, allocations: 0.7304 MB / 1.67 GB, free: 6.883 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001255/1.87, allocations: 1.096 MB / 1.671 GB, free: 6.875 MB / 1.295 GB Notification: Performance of SimCode: time 7.42e-07/1.87, allocations: 2.875 kB / 1.671 GB, free: 6.875 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.012/5.883, allocations: 65.69 MB / 1.736 GB, free: 9.988 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.18/20.07, allocations: 16.88 kB / 1.736 GB, free: 9.973 MB / 1.342 GB (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_11_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)