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.007711/0.007711, allocations: 99.75 kB / 15.73 MB, free: 6.043 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.00216/0.002159, allocations: 192.2 kB / 16.67 MB, free: 5.953 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.659/1.659, 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 9.1.3-maint.9.1.x/package.mo): time 3.055/3.055, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 67.89 kB / 0.9504 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.324/1.326, allocations: 140.4 MB / 1.088 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.5584/1.884, allocations: 294.2 MB / 1.375 GB, free: 7.074 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.08249/1.967, allocations: 23.06 MB / 1.397 GB, free: 15.96 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00928/1.976, allocations: 75.62 kB / 1.397 GB, free: 15.89 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.01087/1.987, allocations: 1.873 MB / 1.399 GB, free: 14 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.03511/2.022, allocations: 6.321 MB / 1.405 GB, free: 7.656 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.01943/2.042, allocations: 2.921 MB / 1.408 GB, free: 4.738 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.01978/2.061, allocations: 7.312 MB / 1.415 GB, free: 13.4 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00994/2.071, allocations: 2.968 MB / 1.418 GB, free: 10.38 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1106/2.182, allocations: 2.945 MB / 1.421 GB, free: 7.445 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01649/2.199, allocations: 2.713 MB / 1.424 GB, free: 4.734 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.002639/2.201, allocations: 347.9 kB / 1.424 GB, free: 4.395 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03519/2.236, allocations: 6.017 MB / 1.43 GB, free: 14.36 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.004865/2.241, allocations: 1.461 MB / 1.431 GB, free: 12.9 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.007944/2.249, allocations: 1.902 MB / 1.433 GB, free: 10.99 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.03169/2.281, allocations: 6.955 MB / 1.44 GB, free: 4.012 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 1.102e-05/2.281, allocations: 8 kB / 1.44 GB, free: 4.004 MB / 1.17 GB Notification: Performance of FrontEnd: time 5.41e-06/2.281, allocations: 0 / 1.44 GB, free: 4.004 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0003624/2.282, allocations: 0 / 1.44 GB, free: 4.004 MB / 1.17 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.01916/2.301, allocations: 4.199 MB / 1.444 GB, free: 15.72 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 6.047e-05/2.301, allocations: 12.03 kB / 1.444 GB, free: 15.71 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001474/2.302, allocations: 392 kB / 1.445 GB, free: 15.32 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007192/2.31, allocations: 0.8679 MB / 1.445 GB, free: 14.45 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007259/2.317, allocations: 1.855 MB / 1.447 GB, free: 12.54 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003417/2.317, allocations: 217.3 kB / 1.448 GB, free: 12.33 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001634/2.319, allocations: 279.9 kB / 1.448 GB, free: 12.05 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01286/2.332, allocations: 3.593 MB / 1.451 GB, free: 8.336 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-05/2.332, allocations: 7.938 kB / 1.451 GB, free: 8.328 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000383/2.332, allocations: 123.9 kB / 1.451 GB, free: 8.207 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002028/2.332, allocations: 145.3 kB / 1.452 GB, free: 8.062 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008101/2.341, allocations: 3.284 MB / 1.455 GB, free: 4.766 MB / 1.186 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.04274/2.383, allocations: 14.24 MB / 1.469 GB, free: 5.305 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0112/2.395, allocations: 2.478 MB / 1.471 GB, free: 2.758 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002431/2.397, allocations: 1.356 MB / 1.472 GB, free: 1.398 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001504/2.399, allocations: 1.382 MB / 1.474 GB, free: 15.72 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002391/2.401, allocations: 1.223 MB / 1.475 GB, free: 14.48 MB / 1.217 GB Notification: Performance of pre-optimization done (n=213): time 5.871e-06/2.401, allocations: 3.938 kB / 1.475 GB, free: 14.48 MB / 1.217 GB Notification: Performance of matching and sorting (n=213): time 0.01211/2.413, allocations: 3.188 MB / 1.478 GB, free: 11.29 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.595e-05/2.413, allocations: 73.41 kB / 1.478 GB, free: 11.2 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008342/2.422, allocations: 1.452 MB / 1.48 GB, free: 9.746 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.000293/2.422, allocations: 69.64 kB / 1.48 GB, free: 9.672 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001267/2.423, allocations: 1.137 MB / 1.481 GB, free: 8.523 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009445/2.424, allocations: 0.7746 MB / 1.481 GB, free: 7.742 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006901/2.425, allocations: 355.6 kB / 1.482 GB, free: 7.387 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000118/2.425, allocations: 305.1 kB / 1.482 GB, free: 7.086 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008232/2.433, allocations: 0.9136 MB / 1.483 GB, free: 6.168 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002422/2.436, allocations: 1.251 MB / 1.484 GB, free: 4.797 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004481/2.44, allocations: 2.325 MB / 1.486 GB, free: 2.363 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.811e-05/2.44, allocations: 0 / 1.486 GB, free: 2.363 MB / 1.217 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01081/2.451, allocations: 2.614 MB / 1.489 GB, free: 15.73 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 7.095e-05/2.451, allocations: 37.7 kB / 1.489 GB, free: 15.69 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/2.451, allocations: 4 kB / 1.489 GB, free: 15.69 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.959e-05/2.451, allocations: 23.94 kB / 1.489 GB, free: 15.66 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002137/2.453, allocations: 467.8 kB / 1.49 GB, free: 15.21 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.854e-05/2.453, allocations: 19.94 kB / 1.49 GB, free: 15.19 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006866/2.46, allocations: 198.5 kB / 1.49 GB, free: 14.99 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002633/2.461, allocations: 75.98 kB / 1.49 GB, free: 14.92 MB / 1.232 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.001783/2.462, allocations: 0.6851 MB / 1.491 GB, free: 14.22 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008857/2.463, allocations: 222.6 kB / 1.491 GB, free: 14 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005026/2.468, allocations: 2.519 MB / 1.493 GB, free: 11.46 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.333e-05/2.468, allocations: 23.94 kB / 1.493 GB, free: 11.44 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/2.468, allocations: 4 kB / 1.493 GB, free: 11.44 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003851/2.472, allocations: 2.339 MB / 1.495 GB, free: 9.035 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04903/2.521, allocations: 5.604 MB / 1.501 GB, free: 3.312 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.259e-05/2.521, allocations: 4 kB / 1.501 GB, free: 3.309 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002442/2.524, allocations: 479.7 kB / 1.501 GB, free: 2.84 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.962e-05/2.524, allocations: 12 kB / 1.501 GB, free: 2.828 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002395/2.524, allocations: 51.98 kB / 1.501 GB, free: 2.777 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-05/2.524, allocations: 8 kB / 1.501 GB, free: 2.77 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/2.524, allocations: 7.938 kB / 1.502 GB, free: 2.762 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006875/2.531, allocations: 3.815 MB / 1.505 GB, free: 14.9 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001534/2.533, allocations: 0.546 MB / 1.506 GB, free: 14.33 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000556/2.533, allocations: 44 kB / 1.506 GB, free: 14.29 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001876/2.535, allocations: 66.58 kB / 1.506 GB, free: 14.23 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003101/2.535, allocations: 153.7 kB / 1.506 GB, free: 14.07 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002002/2.536, allocations: 71.97 kB / 1.506 GB, free: 14 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0023/2.538, allocations: 0.9943 MB / 1.507 GB, free: 13.02 MB / 1.248 GB Notification: Performance of sort global known variables: time 3.51e-07/2.538, allocations: 0 / 1.507 GB, free: 13.02 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003658/2.542, allocations: 0.9434 MB / 1.508 GB, free: 12.07 MB / 1.248 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.01152/2.553, allocations: 4.633 MB / 1.512 GB, free: 7.395 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.004351/2.557, allocations: 2.345 MB / 1.515 GB, free: 5.035 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/2.558, allocations: 4 kB / 1.515 GB, free: 5.031 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.002025/2.56, allocations: 1.223 MB / 1.516 GB, free: 3.812 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007407/2.567, allocations: 1.285 MB / 1.517 GB, free: 2.551 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0409/2.608, allocations: 18.64 MB / 1.535 GB, free: 15.41 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002114/2.61, allocations: 1.971 MB / 1.537 GB, free: 13.4 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002716/2.613, allocations: 0.721 MB / 1.538 GB, free: 12.68 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001804/2.615, allocations: 1.101 MB / 1.539 GB, free: 11.57 MB / 1.279 GB Notification: Performance of SimCode: time 1.182e-06/2.615, allocations: 0 / 1.539 GB, free: 11.57 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.197/3.812, allocations: 65.68 MB / 1.603 GB, free: 441 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.53/17.34, allocations: 8.094 kB / 1.603 GB, free: 441 MB / 1.311 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)