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.001487/0.001487, allocations: 108 kB / 15.61 MB, free: 152 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.001614/0.001615, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.389/1.389, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.442/2.442, allocations: 437 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 59.89 kB / 0.8693 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5625/0.5638, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.7966/1.36, allocations: 294.2 MB / 1.305 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02641/1.387, allocations: 23.05 MB / 1.327 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003985/1.391, allocations: 78.22 kB / 1.327 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005129/1.396, allocations: 1.79 MB / 1.329 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01426/1.41, allocations: 6.118 MB / 1.335 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007081/1.417, allocations: 2.889 MB / 1.338 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008247/1.426, allocations: 7.29 MB / 1.345 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003959/1.43, allocations: 2.982 MB / 1.348 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006232/1.436, allocations: 2.861 MB / 1.351 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004422/1.44, allocations: 2.714 MB / 1.353 GB, free: 232 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005891/1.441, allocations: 342 kB / 1.354 GB, free: 232 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01147/1.452, allocations: 5.987 MB / 1.36 GB, free: 164 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001789/1.454, allocations: 1.465 MB / 1.361 GB, free: 24 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003275/1.458, allocations: 1.903 MB / 1.363 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01376/1.471, allocations: 6.88 MB / 1.37 GB, free: 13.92 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/1.471, allocations: 2.625 kB / 1.37 GB, free: 13.92 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.823e-06/1.471, allocations: 3.188 kB / 1.37 GB, free: 13.92 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001222/1.472, allocations: 0 / 1.37 GB, free: 13.92 MB / 1.014 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.01087/1.482, allocations: 4.091 MB / 1.374 GB, free: 11.55 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/1.482, allocations: 11.06 kB / 1.374 GB, free: 11.55 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005318/1.483, allocations: 391.9 kB / 1.374 GB, free: 11.27 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005296/1.488, allocations: 0.8408 MB / 1.375 GB, free: 10.88 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003082/1.491, allocations: 1.786 MB / 1.376 GB, free: 9.707 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/1.492, allocations: 211.7 kB / 1.377 GB, free: 9.609 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003667/1.492, allocations: 279.5 kB / 1.377 GB, free: 9.52 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00533/1.497, allocations: 3.595 MB / 1.38 GB, free: 7.367 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.165e-05/1.497, allocations: 5.031 kB / 1.38 GB, free: 7.367 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002443/1.498, allocations: 113.7 kB / 1.381 GB, free: 7.285 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001287/1.498, allocations: 143.6 kB / 1.381 GB, free: 7.258 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005067/1.503, allocations: 3.293 MB / 1.384 GB, free: 5.641 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.0147/1.518, allocations: 14.31 MB / 1.398 GB, free: 9.238 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003335/1.521, allocations: 2.482 MB / 1.4 GB, free: 7.344 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00183/1.523, allocations: 1.356 MB / 1.402 GB, free: 5.984 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001182/1.524, allocations: 1.38 MB / 1.403 GB, free: 4.316 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001814/1.526, allocations: 1.228 MB / 1.404 GB, free: 3.082 MB / 1.029 GB Notification: Performance of pre-optimization done (n=213): time 4.639e-06/1.526, allocations: 4 kB / 1.404 GB, free: 3.078 MB / 1.029 GB Notification: Performance of matching and sorting (n=213): time 0.005509/1.531, allocations: 3.167 MB / 1.407 GB, free: 15.91 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/1.531, allocations: 73.41 kB / 1.407 GB, free: 15.82 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001842/1.533, allocations: 1.456 MB / 1.409 GB, free: 14.36 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001553/1.533, allocations: 65.7 kB / 1.409 GB, free: 14.29 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009015/1.534, allocations: 1.115 MB / 1.41 GB, free: 13.16 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006718/1.535, allocations: 0.7367 MB / 1.411 GB, free: 12.43 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005166/1.535, allocations: 359.5 kB / 1.411 GB, free: 12.07 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001025/1.536, allocations: 301.1 kB / 1.411 GB, free: 11.78 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001433/1.537, allocations: 0.9136 MB / 1.412 GB, free: 10.86 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001718/1.539, allocations: 1.26 MB / 1.413 GB, free: 9.484 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00326/1.542, allocations: 2.321 MB / 1.416 GB, free: 7.082 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/1.542, allocations: 7.938 kB / 1.416 GB, free: 7.074 MB / 1.045 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004181/1.546, allocations: 2.595 MB / 1.418 GB, free: 4.508 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.586e-05/1.546, allocations: 38.47 kB / 1.418 GB, free: 4.465 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/1.546, allocations: 12.12 kB / 1.418 GB, free: 4.453 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.249e-05/1.546, allocations: 16 kB / 1.418 GB, free: 4.438 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001855/1.548, allocations: 459.5 kB / 1.419 GB, free: 4.016 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.861e-05/1.548, allocations: 26.7 kB / 1.419 GB, free: 3.992 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001976/1.55, allocations: 189.9 kB / 1.419 GB, free: 3.805 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001588/1.55, allocations: 83.98 kB / 1.419 GB, free: 3.723 MB / 1.045 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.00124/1.552, allocations: 0.6859 MB / 1.42 GB, free: 3.055 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003626/1.552, allocations: 213.5 kB / 1.42 GB, free: 2.844 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004075/1.556, allocations: 2.526 MB / 1.422 GB, free: 308 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/1.556, allocations: 20 kB / 1.422 GB, free: 288 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/1.556, allocations: 0 / 1.422 GB, free: 288 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003313/1.559, allocations: 2.331 MB / 1.425 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008395/1.568, allocations: 5.609 MB / 1.43 GB, free: 8.238 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/1.568, allocations: 7.938 kB / 1.43 GB, free: 8.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002073/1.57, allocations: 478.1 kB / 1.431 GB, free: 7.785 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-05/1.57, allocations: 8 kB / 1.431 GB, free: 7.777 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001426/1.57, allocations: 59.97 kB / 1.431 GB, free: 7.719 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.131e-05/1.57, allocations: 8 kB / 1.431 GB, free: 7.711 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.57, allocations: 4 kB / 1.431 GB, free: 7.707 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005553/1.576, allocations: 3.794 MB / 1.434 GB, free: 3.871 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/1.577, allocations: 0.541 MB / 1.435 GB, free: 3.309 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002945/1.577, allocations: 52.05 kB / 1.435 GB, free: 3.258 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/1.579, allocations: 64.94 kB / 1.435 GB, free: 3.195 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002936/1.579, allocations: 153.8 kB / 1.435 GB, free: 3.047 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001302/1.579, allocations: 71.91 kB / 1.435 GB, free: 2.977 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001322/1.58, allocations: 0.9906 MB / 1.436 GB, free: 1.992 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.5e-07/1.58, allocations: 3.938 kB / 1.436 GB, free: 1.988 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002223/1.583, allocations: 0.9312 MB / 1.437 GB, free: 1.055 MB / 1.061 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.006288/1.589, allocations: 4.617 MB / 1.442 GB, free: 12.43 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.007534/1.596, allocations: 3.883 MB / 1.445 GB, free: 8.594 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/1.596, allocations: 4 kB / 1.445 GB, free: 8.59 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.00173/1.598, allocations: 1.222 MB / 1.447 GB, free: 7.418 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005794/1.604, allocations: 1.29 MB / 1.448 GB, free: 6.156 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02893/1.633, allocations: 20.25 MB / 1.468 GB, free: 0.5859 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001598/1.635, allocations: 1.983 MB / 1.47 GB, free: 14.57 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.002631/1.637, allocations: 0.721 MB / 1.47 GB, free: 13.84 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001448/1.639, allocations: 1.093 MB / 1.471 GB, free: 12.75 MB / 1.107 GB Notification: Performance of SimCode: time 9.62e-07/1.639, allocations: 0 / 1.471 GB, free: 12.75 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1096/1.748, allocations: 65.11 MB / 1.535 GB, free: 12.44 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.742/10.49, allocations: 8.047 kB / 1.535 GB, free: 12.43 MB / 1.17 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)