Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_latest_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.001264/0.001264, 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.001303/0.001303, allocations: 192.7 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.336/1.336, 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 11.0.1-master/package.mo): time 2.644/2.644, allocations: 469.4 MB / 0.742 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 64.66 kB / 0.9083 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.276, allocations: 159.1 MB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.7673/1.043, allocations: 294.2 MB / 1.351 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02405/1.067, allocations: 23.05 MB / 1.374 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003843/1.071, allocations: 79.88 kB / 1.374 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004764/1.076, allocations: 1.796 MB / 1.375 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01419/1.09, allocations: 6.122 MB / 1.381 GB, free: 15.81 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.007339/1.098, allocations: 2.879 MB / 1.384 GB, free: 14.9 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00858/1.106, allocations: 7.308 MB / 1.391 GB, free: 12.31 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004484/1.111, allocations: 2.976 MB / 1.394 GB, free: 10.62 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006724/1.118, allocations: 2.859 MB / 1.397 GB, free: 9.258 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004505/1.122, allocations: 2.707 MB / 1.4 GB, free: 7.898 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001096/1.123, allocations: 341.7 kB / 1.4 GB, free: 7.898 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01348/1.137, allocations: 5.993 MB / 1.406 GB, free: 5.309 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002476/1.139, allocations: 1.466 MB / 1.407 GB, free: 4.316 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.004779/1.144, allocations: 1.907 MB / 1.409 GB, free: 3.117 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01529/1.159, allocations: 6.877 MB / 1.416 GB, free: 14.8 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/1.159, allocations: 2.469 kB / 1.416 GB, free: 14.8 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.043e-06/1.159, allocations: 0 / 1.416 GB, free: 14.8 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002046/1.16, allocations: 0 / 1.416 GB, free: 14.8 MB / 1.029 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.01205/1.172, allocations: 4.094 MB / 1.42 GB, free: 12 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/1.172, allocations: 9.594 kB / 1.42 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009821/1.173, allocations: 394.3 kB / 1.42 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005906/1.179, allocations: 0.8429 MB / 1.421 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003989/1.183, allocations: 1.79 MB / 1.423 GB, free: 8.918 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001896/1.183, allocations: 209.4 kB / 1.423 GB, free: 8.711 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007721/1.184, allocations: 275.9 kB / 1.423 GB, free: 8.441 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007147/1.191, allocations: 3.603 MB / 1.427 GB, free: 4.715 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.232e-05/1.191, allocations: 7.938 kB / 1.427 GB, free: 4.707 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004319/1.191, allocations: 116 kB / 1.427 GB, free: 4.594 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001503/1.192, allocations: 149.2 kB / 1.427 GB, free: 4.445 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005954/1.198, allocations: 3.288 MB / 1.43 GB, free: 1.145 MB / 1.029 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.01683/1.214, allocations: 14.3 MB / 1.444 GB, free: 1.613 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00364/1.218, allocations: 2.477 MB / 1.447 GB, free: 15.07 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001914/1.22, allocations: 1.356 MB / 1.448 GB, free: 13.71 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001131/1.221, allocations: 1.375 MB / 1.449 GB, free: 12.04 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001931/1.223, allocations: 1.226 MB / 1.45 GB, free: 10.81 MB / 1.061 GB Notification: Performance of pre-optimization done (n=213): time 4.549e-06/1.223, allocations: 0 / 1.45 GB, free: 10.81 MB / 1.061 GB Notification: Performance of matching and sorting (n=213): time 0.005601/1.229, allocations: 3.173 MB / 1.454 GB, free: 7.633 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.497e-05/1.229, allocations: 77.34 kB / 1.454 GB, free: 7.543 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00225/1.231, allocations: 1.452 MB / 1.455 GB, free: 6.086 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001767/1.231, allocations: 65.7 kB / 1.455 GB, free: 6.016 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009382/1.232, allocations: 1.123 MB / 1.456 GB, free: 4.879 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006631/1.233, allocations: 0.7315 MB / 1.457 GB, free: 4.137 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005429/1.233, allocations: 359.5 kB / 1.457 GB, free: 3.777 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.688e-05/1.234, allocations: 305.1 kB / 1.458 GB, free: 3.477 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001461/1.235, allocations: 0.9136 MB / 1.458 GB, free: 2.559 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001683/1.237, allocations: 1.251 MB / 1.46 GB, free: 1.188 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003264/1.24, allocations: 2.329 MB / 1.462 GB, free: 14.75 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/1.24, allocations: 4 kB / 1.462 GB, free: 14.75 MB / 1.076 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004253/1.244, allocations: 2.598 MB / 1.464 GB, free: 12.13 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.7e-05/1.244, allocations: 37.86 kB / 1.465 GB, free: 12.09 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/1.244, allocations: 15.94 kB / 1.465 GB, free: 12.07 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.449e-05/1.244, allocations: 16 kB / 1.465 GB, free: 12.06 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001902/1.246, allocations: 471.2 kB / 1.465 GB, free: 11.6 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.425e-05/1.246, allocations: 16 kB / 1.465 GB, free: 11.58 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002129/1.248, allocations: 190 kB / 1.465 GB, free: 11.39 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001645/1.249, allocations: 79.98 kB / 1.465 GB, free: 11.32 MB / 1.076 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.001222/1.25, allocations: 0.6807 MB / 1.466 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00061/1.25, allocations: 213.5 kB / 1.466 GB, free: 10.41 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004283/1.255, allocations: 2.515 MB / 1.469 GB, free: 7.883 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.805e-05/1.255, allocations: 27.94 kB / 1.469 GB, free: 7.855 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/1.255, allocations: 0 / 1.469 GB, free: 7.855 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003219/1.258, allocations: 2.327 MB / 1.471 GB, free: 5.461 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009377/1.267, allocations: 5.618 MB / 1.476 GB, free: 15.73 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/1.267, allocations: 0 / 1.476 GB, free: 15.73 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002117/1.27, allocations: 471.7 kB / 1.477 GB, free: 15.27 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.27e-05/1.27, allocations: 19.92 kB / 1.477 GB, free: 15.25 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001595/1.27, allocations: 51.98 kB / 1.477 GB, free: 15.2 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-05/1.27, allocations: 8 kB / 1.477 GB, free: 15.19 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.27, allocations: 4 kB / 1.477 GB, free: 15.19 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005643/1.276, allocations: 3.799 MB / 1.481 GB, free: 11.34 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001274/1.277, allocations: 0.5448 MB / 1.481 GB, free: 10.77 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000517/1.277, allocations: 48 kB / 1.481 GB, free: 10.73 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001748/1.279, allocations: 61.16 kB / 1.481 GB, free: 10.67 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003343/1.279, allocations: 157.7 kB / 1.481 GB, free: 10.52 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001523/1.28, allocations: 67.98 kB / 1.481 GB, free: 10.45 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001564/1.281, allocations: 0.9866 MB / 1.482 GB, free: 9.469 MB / 1.092 GB Notification: Performance of sort global known variables: time 3.4e-07/1.281, allocations: 0 / 1.482 GB, free: 9.469 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002509/1.284, allocations: 0.9351 MB / 1.483 GB, free: 8.531 MB / 1.092 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.006495/1.29, allocations: 4.634 MB / 1.488 GB, free: 3.844 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.007486/1.298, allocations: 3.883 MB / 1.492 GB, free: 15.95 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/1.298, allocations: 0 / 1.492 GB, free: 15.95 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001791/1.3, allocations: 1.225 MB / 1.493 GB, free: 14.73 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00612/1.306, allocations: 1.29 MB / 1.494 GB, free: 13.46 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02886/1.335, allocations: 20.24 MB / 1.514 GB, free: 7.82 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001882/1.336, allocations: 1.975 MB / 1.516 GB, free: 5.809 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.002758/1.339, allocations: 0.721 MB / 1.517 GB, free: 5.086 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001508/1.341, allocations: 1.097 MB / 1.518 GB, free: 3.988 MB / 1.123 GB Notification: Performance of SimCode: time 6.41e-07/1.341, allocations: 4 kB / 1.518 GB, free: 3.984 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1035/1.444, allocations: 65.1 MB / 1.581 GB, free: 3.512 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.764/10.21, allocations: 8.375 kB / 1.581 GB, free: 3.508 MB / 1.186 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)