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.00119/0.00119, allocations: 108 kB / 15.6 MB, free: 132 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.001842/0.001842, allocations: 192 kB / 16.53 MB, free: 6.391 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.557/1.557, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.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.719/2.719, allocations: 390.3 MB / 0.6647 GB, free: 272 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00162/0.001621, allocations: 63.89 kB / 0.8126 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.095/1.096, allocations: 140.4 MB / 0.9497 GB, free: 9.297 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.5524/1.649, allocations: 294.2 MB / 1.237 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.8939/2.543, allocations: 23.03 MB / 1.26 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003435/2.546, allocations: 75.41 kB / 1.26 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004334/2.551, allocations: 1.803 MB / 1.261 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01403/2.565, allocations: 6.116 MB / 1.267 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 1.216/3.781, allocations: 2.889 MB / 1.27 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01162/3.792, allocations: 7.296 MB / 1.277 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005484/3.798, allocations: 2.981 MB / 1.28 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00911/3.807, allocations: 2.858 MB / 1.283 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007684/3.815, allocations: 2.7 MB / 1.286 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001349/3.816, allocations: 342.5 kB / 1.286 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01431/3.83, allocations: 5.982 MB / 1.292 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002872/3.833, allocations: 1.467 MB / 1.293 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.007282/3.84, allocations: 1.905 MB / 1.295 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02113/3.862, allocations: 6.881 MB / 1.302 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/3.862, allocations: 0.9062 kB / 1.302 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.413e-06/3.862, allocations: 0 / 1.302 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001772/3.862, allocations: 0 / 1.302 GB, free: 0.8867 MB / 0.9981 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.05865/3.92, allocations: 4.099 MB / 1.306 GB, free: 15.2 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/3.921, allocations: 10.16 kB / 1.306 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005107/3.921, allocations: 397.4 kB / 1.306 GB, free: 15.15 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007435/3.929, allocations: 0.8412 MB / 1.307 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003094/3.932, allocations: 1.783 MB / 1.309 GB, free: 14.47 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/3.932, allocations: 210.5 kB / 1.309 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003833/3.932, allocations: 281.6 kB / 1.309 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007317/3.939, allocations: 3.594 MB / 1.313 GB, free: 14.1 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.326e-05/3.94, allocations: 6.219 kB / 1.313 GB, free: 14.1 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002454/3.94, allocations: 119.5 kB / 1.313 GB, free: 14.1 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001302/3.94, allocations: 147.7 kB / 1.313 GB, free: 14.09 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005137/3.945, allocations: 3.285 MB / 1.316 GB, free: 14.06 MB / 1.014 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.03082/3.976, allocations: 14.29 MB / 1.33 GB, free: 5.762 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003524/3.979, allocations: 2.496 MB / 1.333 GB, free: 5.316 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001789/3.981, allocations: 1.354 MB / 1.334 GB, free: 5.293 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006284/3.988, allocations: 1.375 MB / 1.335 GB, free: 3.785 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001892/3.989, allocations: 1.228 MB / 1.336 GB, free: 3.707 MB / 1.014 GB Notification: Performance of pre-optimization done (n=213): time 5.119e-06/3.99, allocations: 4 kB / 1.336 GB, free: 3.703 MB / 1.014 GB Notification: Performance of matching and sorting (n=213): time 0.005468/3.995, allocations: 3.167 MB / 1.34 GB, free: 3.504 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/3.995, allocations: 79.47 kB / 1.34 GB, free: 3.438 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/3.997, allocations: 1.452 MB / 1.341 GB, free: 3.27 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001481/3.997, allocations: 70.52 kB / 1.341 GB, free: 3.234 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007529/3.998, allocations: 1.117 MB / 1.342 GB, free: 2.77 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005921/3.998, allocations: 0.7338 MB / 1.343 GB, free: 2.297 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004641/3.999, allocations: 355.8 kB / 1.343 GB, free: 2.27 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.739e-05/3.999, allocations: 306.2 kB / 1.344 GB, free: 1.973 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/4, allocations: 0.9126 MB / 1.344 GB, free: 1.965 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001472/4.002, allocations: 1.253 MB / 1.346 GB, free: 1.645 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003115/4.005, allocations: 2.326 MB / 1.348 GB, free: 1.301 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/4.005, allocations: 2.781 kB / 1.348 GB, free: 1.301 MB / 1.014 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004518/4.009, allocations: 2.6 MB / 1.351 GB, free: 1.078 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.579e-05/4.009, allocations: 42.2 kB / 1.351 GB, free: 1.047 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/4.009, allocations: 8.156 kB / 1.351 GB, free: 1.047 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.489e-05/4.009, allocations: 20.25 kB / 1.351 GB, free: 1.043 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006768/4.016, allocations: 466.8 kB / 1.351 GB, free: 1.035 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-05/4.016, allocations: 23.95 kB / 1.351 GB, free: 1.031 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002353/4.019, allocations: 199.2 kB / 1.351 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001524/4.019, allocations: 77.12 kB / 1.351 GB, free: 0.9297 MB / 1.014 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.002134/4.021, allocations: 0.6762 MB / 1.352 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007268/4.022, allocations: 220 kB / 1.352 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01184/4.034, allocations: 2.521 MB / 1.355 GB, free: 332 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.252e-05/4.034, allocations: 26.33 kB / 1.355 GB, free: 324 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/4.034, allocations: 0.7188 kB / 1.355 GB, free: 324 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003432/4.037, allocations: 2.328 MB / 1.357 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0151/4.052, allocations: 5.612 MB / 1.362 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/4.052, allocations: 0 / 1.362 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002034/4.054, allocations: 479.2 kB / 1.363 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.817e-05/4.054, allocations: 11.41 kB / 1.363 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000138/4.054, allocations: 51.36 kB / 1.363 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.485e-05/4.054, allocations: 11.75 kB / 1.363 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.301e-06/4.054, allocations: 6.844 kB / 1.363 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005885/4.06, allocations: 3.796 MB / 1.367 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/4.062, allocations: 0.5409 MB / 1.367 GB, free: 9.336 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003205/4.062, allocations: 48 kB / 1.367 GB, free: 9.289 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/4.063, allocations: 65.7 kB / 1.367 GB, free: 9.227 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003017/4.064, allocations: 148.8 kB / 1.367 GB, free: 9.086 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001353/4.064, allocations: 67.98 kB / 1.368 GB, free: 9.02 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001369/4.065, allocations: 0.9906 MB / 1.368 GB, free: 8.035 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.61e-07/4.065, allocations: 4 kB / 1.368 GB, free: 8.031 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.006364/4.071, allocations: 0.9389 MB / 1.369 GB, free: 7.09 MB / 1.029 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.01125/4.083, allocations: 4.622 MB / 1.374 GB, free: 2.457 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00839/4.091, allocations: 3.883 MB / 1.378 GB, free: 14.62 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/4.091, allocations: 0.625 kB / 1.378 GB, free: 14.62 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001901/4.093, allocations: 1.229 MB / 1.379 GB, free: 13.44 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007591/4.101, allocations: 1.277 MB / 1.38 GB, free: 12.19 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05604/4.157, allocations: 20.26 MB / 1.4 GB, free: 6.684 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007687/4.165, allocations: 1.973 MB / 1.402 GB, free: 4.676 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.003243/4.168, allocations: 0.721 MB / 1.403 GB, free: 3.953 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001611/4.169, allocations: 1.101 MB / 1.404 GB, free: 2.852 MB / 1.061 GB Notification: Performance of SimCode: time 3.616e-06/4.169, allocations: 3.188 kB / 1.404 GB, free: 2.852 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6191/4.789, allocations: 65.11 MB / 1.467 GB, free: 2.559 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/15.69, allocations: 4.062 kB / 1.467 GB, free: 2.555 MB / 1.123 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)