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.005674/0.005674, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001362/0.001362, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.271/1.271, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.462/2.462, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.89 kB / 1.018 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2751, allocations: 151.6 MB / 1.166 GB, free: 7.242 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.8547/1.13, allocations: 294.3 MB / 1.454 GB, free: 14.34 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0324/1.162, allocations: 23.04 MB / 1.476 GB, free: 7.242 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003606/1.166, allocations: 79.62 kB / 1.476 GB, free: 7.164 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0054/1.171, allocations: 1.869 MB / 1.478 GB, free: 5.285 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0159/1.187, allocations: 6.313 MB / 1.484 GB, free: 14.95 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.007875/1.195, allocations: 2.923 MB / 1.487 GB, free: 12.02 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.009707/1.205, allocations: 7.311 MB / 1.494 GB, free: 4.688 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004949/1.21, allocations: 2.984 MB / 1.497 GB, free: 1.656 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006685/1.217, allocations: 2.945 MB / 1.5 GB, free: 14.73 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004872/1.221, allocations: 2.715 MB / 1.503 GB, free: 12.02 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.001201/1.223, allocations: 344 kB / 1.503 GB, free: 11.68 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01205/1.235, allocations: 6.009 MB / 1.509 GB, free: 5.656 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.002385/1.237, allocations: 1.465 MB / 1.51 GB, free: 4.188 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.004109/1.241, allocations: 1.906 MB / 1.512 GB, free: 2.273 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01603/1.257, allocations: 6.955 MB / 1.519 GB, free: 11.3 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/1.257, allocations: 0 / 1.519 GB, free: 11.3 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.974e-06/1.257, allocations: 0 / 1.519 GB, free: 11.3 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0002043/1.258, allocations: 3.938 kB / 1.519 GB, free: 11.29 MB / 1.186 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.01249/1.27, allocations: 4.195 MB / 1.523 GB, free: 7.02 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/1.27, allocations: 8.031 kB / 1.523 GB, free: 7.012 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001135/1.271, allocations: 392 kB / 1.523 GB, free: 6.621 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006128/1.277, allocations: 0.8604 MB / 1.524 GB, free: 5.758 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004455/1.282, allocations: 1.886 MB / 1.526 GB, free: 3.816 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000197/1.282, allocations: 209.4 kB / 1.526 GB, free: 3.609 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008301/1.283, allocations: 275.9 kB / 1.526 GB, free: 3.34 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00829/1.291, allocations: 3.597 MB / 1.53 GB, free: 15.62 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-05/1.291, allocations: 4 kB / 1.53 GB, free: 15.61 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005341/1.292, allocations: 115.9 kB / 1.53 GB, free: 15.5 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001875/1.292, allocations: 145.3 kB / 1.53 GB, free: 15.36 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006536/1.299, allocations: 3.292 MB / 1.533 GB, free: 12.05 MB / 1.201 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.01868/1.317, allocations: 14.24 MB / 1.547 GB, free: 12.59 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003913/1.321, allocations: 2.489 MB / 1.55 GB, free: 10.04 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002088/1.324, allocations: 1.352 MB / 1.551 GB, free: 8.68 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001256/1.325, allocations: 1.382 MB / 1.552 GB, free: 7.004 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002073/1.327, allocations: 1.218 MB / 1.554 GB, free: 5.773 MB / 1.217 GB Notification: Performance of pre-optimization done (n=213): time 4.468e-06/1.327, allocations: 3.938 kB / 1.554 GB, free: 5.77 MB / 1.217 GB Notification: Performance of matching and sorting (n=213): time 0.005853/1.333, allocations: 3.173 MB / 1.557 GB, free: 2.594 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.938e-05/1.333, allocations: 77.41 kB / 1.557 GB, free: 2.508 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002374/1.335, allocations: 1.456 MB / 1.558 GB, free: 1.047 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001956/1.335, allocations: 69.7 kB / 1.558 GB, free: 0.9727 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009888/1.336, allocations: 1.137 MB / 1.559 GB, free: 15.82 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007432/1.337, allocations: 0.7668 MB / 1.56 GB, free: 15.05 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006327/1.338, allocations: 359.5 kB / 1.561 GB, free: 14.69 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001062/1.338, allocations: 309.1 kB / 1.561 GB, free: 14.38 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001574/1.34, allocations: 0.9097 MB / 1.562 GB, free: 13.47 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001877/1.341, allocations: 1.258 MB / 1.563 GB, free: 12.09 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003563/1.345, allocations: 2.321 MB / 1.565 GB, free: 9.656 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.345e-06/1.345, allocations: 0 / 1.565 GB, free: 9.656 MB / 1.232 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.00454/1.35, allocations: 2.607 MB / 1.568 GB, free: 7.035 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 4.712e-05/1.35, allocations: 43.72 kB / 1.568 GB, free: 6.988 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.889e-05/1.35, allocations: 8 kB / 1.568 GB, free: 6.98 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.374e-05/1.35, allocations: 16 kB / 1.568 GB, free: 6.965 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001906/1.352, allocations: 467.3 kB / 1.568 GB, free: 6.508 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.215e-05/1.352, allocations: 23.69 kB / 1.568 GB, free: 6.488 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001962/1.354, allocations: 194.6 kB / 1.568 GB, free: 6.297 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001934/1.354, allocations: 83.98 kB / 1.569 GB, free: 6.215 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.001312/1.355, allocations: 0.6806 MB / 1.569 GB, free: 5.523 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000592/1.356, allocations: 226.6 kB / 1.569 GB, free: 5.301 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004507/1.36, allocations: 2.526 MB / 1.572 GB, free: 2.762 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/1.36, allocations: 20 kB / 1.572 GB, free: 2.742 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/1.36, allocations: 3.938 kB / 1.572 GB, free: 2.738 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003546/1.364, allocations: 2.335 MB / 1.574 GB, free: 344 kB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01032/1.374, allocations: 5.616 MB / 1.58 GB, free: 10.61 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/1.374, allocations: 4 kB / 1.58 GB, free: 10.6 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002197/1.376, allocations: 475.7 kB / 1.58 GB, free: 10.14 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.869e-05/1.377, allocations: 8 kB / 1.58 GB, free: 10.13 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001788/1.377, allocations: 59.97 kB / 1.58 GB, free: 10.07 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.977e-05/1.377, allocations: 15.94 kB / 1.58 GB, free: 10.05 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.377, allocations: 0 / 1.58 GB, free: 10.05 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005979/1.383, allocations: 3.807 MB / 1.584 GB, free: 6.199 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00148/1.384, allocations: 0.5539 MB / 1.584 GB, free: 5.625 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004968/1.385, allocations: 40 kB / 1.585 GB, free: 5.586 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001662/1.386, allocations: 55.97 kB / 1.585 GB, free: 5.531 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003003/1.387, allocations: 153.7 kB / 1.585 GB, free: 5.383 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001767/1.387, allocations: 71.97 kB / 1.585 GB, free: 5.312 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001627/1.389, allocations: 0.9944 MB / 1.586 GB, free: 4.324 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.41e-07/1.389, allocations: 0 / 1.586 GB, free: 4.324 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002494/1.391, allocations: 0.9395 MB / 1.587 GB, free: 3.383 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.006854/1.398, allocations: 4.639 MB / 1.591 GB, free: 14.69 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003879/1.402, allocations: 2.349 MB / 1.593 GB, free: 12.33 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/1.402, allocations: 8.188 kB / 1.593 GB, free: 12.32 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001899/1.404, allocations: 1.221 MB / 1.595 GB, free: 11.1 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006024/1.41, allocations: 1.293 MB / 1.596 GB, free: 9.836 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03232/1.442, allocations: 18.62 MB / 1.614 GB, free: 6.711 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002177/1.444, allocations: 1.968 MB / 1.616 GB, free: 4.707 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002725/1.447, allocations: 0.7249 MB / 1.617 GB, free: 3.98 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001836/1.449, allocations: 1.105 MB / 1.618 GB, free: 2.875 MB / 1.279 GB Notification: Performance of SimCode: time 9.32e-07/1.449, allocations: 0 / 1.618 GB, free: 2.875 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1107/1.56, allocations: 65.69 MB / 1.682 GB, free: 1.941 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/14.46, allocations: 8.062 kB / 1.682 GB, free: 1.934 MB / 1.342 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)