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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.005691/0.005691, allocations: 98.66 kB / 15.73 MB, free: 6.066 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.00127/0.00127, allocations: 196.1 kB / 16.68 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.568/1.568, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.983/2.983, allocations: 482.4 MB / 0.7548 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 64.06 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5982/0.6003, allocations: 162.2 MB / 1.241 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.5695/1.17, allocations: 294.3 MB / 1.529 GB, free: 1.785 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 1.313/2.483, allocations: 23.06 MB / 1.551 GB, free: 3.496 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00533/2.489, allocations: 75.66 kB / 1.552 GB, free: 3.496 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.006968/2.496, allocations: 1.796 MB / 1.553 GB, free: 3.496 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.02249/2.518, allocations: 6.124 MB / 1.559 GB, free: 3.406 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.01041/2.529, allocations: 2.89 MB / 1.562 GB, free: 3.336 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.01606/2.545, allocations: 7.29 MB / 1.569 GB, free: 3.328 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008788/2.554, allocations: 2.98 MB / 1.572 GB, free: 3.047 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01454/2.568, allocations: 3.121 MB / 1.575 GB, free: 3.039 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009663/2.578, allocations: 2.669 MB / 1.578 GB, free: 3.031 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.002058/2.58, allocations: 344.2 kB / 1.578 GB, free: 3.031 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01444/2.595, allocations: 5.975 MB / 1.584 GB, free: 2.973 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.002132/2.597, allocations: 1.462 MB / 1.585 GB, free: 2.973 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.005048/2.602, allocations: 1.901 MB / 1.587 GB, free: 2.973 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.01778/2.62, allocations: 6.962 MB / 1.594 GB, free: 2.23 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/2.62, allocations: 0 / 1.594 GB, free: 2.23 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.633e-06/2.62, allocations: 1 kB / 1.594 GB, free: 2.23 MB / 1.264 GB Notification: Performance of Transformations before backend: time 7.676e-05/2.62, allocations: 2.594 kB / 1.594 GB, free: 2.23 MB / 1.264 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.007809/2.628, allocations: 4.201 MB / 1.598 GB, free: 456 kB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/2.628, allocations: 8.656 kB / 1.598 GB, free: 456 kB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003813/2.628, allocations: 396.2 kB / 1.598 GB, free: 404 kB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005219/2.633, allocations: 0.8562 MB / 1.599 GB, free: 216 kB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004526/2.638, allocations: 1.872 MB / 1.601 GB, free: 15.69 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002155/2.638, allocations: 207 kB / 1.601 GB, free: 15.68 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008396/2.639, allocations: 280.6 kB / 1.602 GB, free: 15.68 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006764/2.646, allocations: 3.596 MB / 1.605 GB, free: 15.32 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-05/2.646, allocations: 6.5 kB / 1.605 GB, free: 15.32 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003372/2.646, allocations: 119.6 kB / 1.605 GB, free: 15.32 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001605/2.646, allocations: 142.9 kB / 1.605 GB, free: 15.31 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008222/2.654, allocations: 3.289 MB / 1.609 GB, free: 15.28 MB / 1.279 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.03732/2.692, allocations: 14.24 MB / 1.623 GB, free: 7.012 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01236/2.704, allocations: 2.484 MB / 1.625 GB, free: 6.574 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002532/2.707, allocations: 1.354 MB / 1.626 GB, free: 6.559 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001678/2.709, allocations: 1.376 MB / 1.628 GB, free: 5.059 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002194/2.711, allocations: 1.224 MB / 1.629 GB, free: 4.977 MB / 1.279 GB Notification: Performance of pre-optimization done (n=213): time 8.256e-06/2.711, allocations: 6.328 kB / 1.629 GB, free: 4.973 MB / 1.279 GB Notification: Performance of matching and sorting (n=213): time 0.005998/2.717, allocations: 3.174 MB / 1.632 GB, free: 4.773 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/2.717, allocations: 80.77 kB / 1.632 GB, free: 4.711 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002103/2.719, allocations: 1.458 MB / 1.633 GB, free: 4.539 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0002137/2.719, allocations: 65.55 kB / 1.633 GB, free: 4.508 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009097/2.72, allocations: 1.141 MB / 1.635 GB, free: 4.027 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008108/2.721, allocations: 0.768 MB / 1.635 GB, free: 3.52 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005162/2.722, allocations: 356.8 kB / 1.636 GB, free: 3.492 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001318/2.722, allocations: 306.2 kB / 1.636 GB, free: 3.191 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/2.723, allocations: 0.9173 MB / 1.637 GB, free: 3.184 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001666/2.725, allocations: 1.255 MB / 1.638 GB, free: 2.867 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003335/2.728, allocations: 2.32 MB / 1.64 GB, free: 2.539 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/2.728, allocations: 6.594 kB / 1.64 GB, free: 2.535 MB / 1.279 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01386/2.742, allocations: 2.61 MB / 1.643 GB, free: 2.305 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 6.499e-05/2.742, allocations: 36.39 kB / 1.643 GB, free: 2.273 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/2.742, allocations: 11.25 kB / 1.643 GB, free: 2.273 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.05e-05/2.742, allocations: 15.72 kB / 1.643 GB, free: 2.273 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001832/2.744, allocations: 461.5 kB / 1.643 GB, free: 2.273 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.873e-05/2.744, allocations: 22.66 kB / 1.643 GB, free: 2.27 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002339/2.746, allocations: 200.8 kB / 1.644 GB, free: 2.164 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001756/2.746, allocations: 83.28 kB / 1.644 GB, free: 2.16 MB / 1.279 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.001503/2.748, allocations: 0.6868 MB / 1.644 GB, free: 2.039 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006514/2.749, allocations: 222.1 kB / 1.645 GB, free: 1.926 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004431/2.753, allocations: 2.519 MB / 1.647 GB, free: 1.793 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-05/2.753, allocations: 21.09 kB / 1.647 GB, free: 1.793 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/2.753, allocations: 3 kB / 1.647 GB, free: 1.793 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003421/2.757, allocations: 2.334 MB / 1.649 GB, free: 1.402 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007502/2.764, allocations: 5.607 MB / 1.655 GB, free: 0.7617 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/2.764, allocations: 4.875 kB / 1.655 GB, free: 0.7617 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001984/2.766, allocations: 477.9 kB / 1.655 GB, free: 0.7578 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.479e-05/2.766, allocations: 8.688 kB / 1.655 GB, free: 0.7578 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001333/2.766, allocations: 55.09 kB / 1.655 GB, free: 0.7578 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.526e-05/2.766, allocations: 15.77 kB / 1.655 GB, free: 0.7539 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/2.766, allocations: 5.344 kB / 1.655 GB, free: 0.7539 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006265/2.773, allocations: 3.813 MB / 1.659 GB, free: 324 kB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001675/2.774, allocations: 0.5478 MB / 1.66 GB, free: 80 kB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003823/2.775, allocations: 47.72 kB / 1.66 GB, free: 80 kB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001497/2.776, allocations: 58.89 kB / 1.66 GB, free: 80 kB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003436/2.777, allocations: 159.4 kB / 1.66 GB, free: 72 kB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/2.777, allocations: 71.31 kB / 1.66 GB, free: 72 kB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001648/2.778, allocations: 0.9879 MB / 1.661 GB, free: 15.96 MB / 1.295 GB Notification: Performance of sort global known variables: time 2.9e-07/2.778, allocations: 3.938 kB / 1.661 GB, free: 15.96 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.00242/2.781, allocations: 0.9391 MB / 1.662 GB, free: 15.82 MB / 1.295 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.005561/2.786, allocations: 4.639 MB / 1.666 GB, free: 14.79 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003281/2.79, allocations: 2.35 MB / 1.669 GB, free: 13.98 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/2.79, allocations: 0 / 1.669 GB, free: 13.98 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.00182/2.792, allocations: 1.226 MB / 1.67 GB, free: 13.6 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005998/2.798, allocations: 1.288 MB / 1.671 GB, free: 13.19 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03546/2.833, allocations: 18.64 MB / 1.689 GB, free: 13.93 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01259/2.846, allocations: 1.971 MB / 1.691 GB, free: 11.92 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.00327/2.849, allocations: 0.721 MB / 1.692 GB, free: 11.2 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002217/2.851, allocations: 1.097 MB / 1.693 GB, free: 10.1 MB / 1.311 GB Notification: Performance of SimCode: time 1.092e-06/2.851, allocations: 0 / 1.693 GB, free: 10.1 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2195/3.071, allocations: 65.68 MB / 1.757 GB, free: 9.238 MB / 1.373 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.01/18.08, allocations: 8 kB / 1.757 GB, free: 9.23 MB / 1.373 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 400 --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)