Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Airflow_Multizone_Examples_CO2TransportStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.CO2TransportStep,fileNamePrefix="Buildings_11_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.008279/0.008279, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.002281/0.002281, allocations: 194.6 kB / 16.68 MB, free: 5.969 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.58/1.58, 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 11.1.0-maint.11.x/package.mo): time 2.898/2.898, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 63.91 kB / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.284/1.286, allocations: 159.1 MB / 1.22 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.5817/1.867, allocations: 294.3 MB / 1.508 GB, free: 10.67 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.07532/1.943, allocations: 23.05 MB / 1.53 GB, free: 3.562 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005453/1.948, allocations: 79.62 kB / 1.53 GB, free: 3.484 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.008084/1.956, allocations: 1.791 MB / 1.532 GB, free: 1.684 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.04648/2.003, allocations: 6.131 MB / 1.538 GB, free: 11.53 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.03249/2.035, allocations: 2.896 MB / 1.541 GB, free: 8.633 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.03495/2.07, allocations: 7.312 MB / 1.548 GB, free: 1.297 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009024/2.079, allocations: 2.961 MB / 1.551 GB, free: 14.28 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02772/2.107, allocations: 2.876 MB / 1.554 GB, free: 11.41 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01191/2.119, allocations: 2.719 MB / 1.556 GB, free: 8.695 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.02159/2.141, allocations: 344 kB / 1.557 GB, free: 8.359 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02449/2.165, allocations: 5.986 MB / 1.562 GB, free: 2.359 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.005927/2.171, allocations: 1.461 MB / 1.564 GB, free: 0.8945 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 1.203/3.375, allocations: 1.902 MB / 1.566 GB, free: 16.46 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.0266/3.401, allocations: 6.957 MB / 1.572 GB, free: 16.08 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/3.401, allocations: 0 / 1.572 GB, free: 16.08 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.603e-06/3.402, allocations: 1.25 kB / 1.572 GB, free: 16.08 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0002582/3.402, allocations: 0 / 1.572 GB, free: 16.08 MB / 1.279 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.02205/3.424, allocations: 4.199 MB / 1.577 GB, free: 14.32 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 7.368e-05/3.424, allocations: 9.375 kB / 1.577 GB, free: 14.32 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002767/3.427, allocations: 390.8 kB / 1.577 GB, free: 14.27 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009496/3.436, allocations: 0.859 MB / 1.578 GB, free: 14.09 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007388/3.444, allocations: 1.877 MB / 1.58 GB, free: 13.56 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003419/3.444, allocations: 204.5 kB / 1.58 GB, free: 13.55 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001737/3.446, allocations: 281.4 kB / 1.58 GB, free: 13.55 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01147/3.457, allocations: 3.6 MB / 1.584 GB, free: 13.19 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001034/3.458, allocations: 6.781 kB / 1.584 GB, free: 13.19 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004675/3.458, allocations: 114.4 kB / 1.584 GB, free: 13.19 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002409/3.458, allocations: 141 kB / 1.584 GB, free: 13.18 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007938/3.466, allocations: 3.293 MB / 1.587 GB, free: 13.15 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.02791/3.494, allocations: 14.23 MB / 1.601 GB, free: 20.92 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004554/3.499, allocations: 2.482 MB / 1.603 GB, free: 20.5 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00218/3.501, allocations: 1.359 MB / 1.605 GB, free: 20.47 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001678/3.503, allocations: 1.374 MB / 1.606 GB, free: 18.97 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002399/3.505, allocations: 1.224 MB / 1.607 GB, free: 18.89 MB / 1.295 GB Notification: Performance of pre-optimization done (n=213): time 5.219e-06/3.505, allocations: 1.094 kB / 1.607 GB, free: 18.89 MB / 1.295 GB Notification: Performance of matching and sorting (n=213): time 0.006987/3.512, allocations: 3.178 MB / 1.61 GB, free: 18.69 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.644e-05/3.512, allocations: 78.94 kB / 1.61 GB, free: 18.62 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003308/3.516, allocations: 1.451 MB / 1.612 GB, free: 18.46 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0007193/3.516, allocations: 68.66 kB / 1.612 GB, free: 18.43 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001828/3.518, allocations: 1.146 MB / 1.613 GB, free: 17.94 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001811/3.52, allocations: 0.77 MB / 1.614 GB, free: 17.43 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008943/3.521, allocations: 361 kB / 1.614 GB, free: 17.4 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0002159/3.521, allocations: 305.9 kB / 1.614 GB, free: 17.1 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002013/3.523, allocations: 0.9102 MB / 1.615 GB, free: 17.09 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002279/3.525, allocations: 1.254 MB / 1.617 GB, free: 16.78 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004287/3.53, allocations: 2.323 MB / 1.619 GB, free: 16.46 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.315e-05/3.53, allocations: 1.781 kB / 1.619 GB, free: 16.46 MB / 1.295 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.005684/3.535, allocations: 2.617 MB / 1.621 GB, free: 16.23 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 8.569e-05/3.536, allocations: 34.52 kB / 1.621 GB, free: 16.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.307e-05/3.536, allocations: 8.797 kB / 1.621 GB, free: 16.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.95e-05/3.536, allocations: 17 kB / 1.621 GB, free: 16.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002036/3.538, allocations: 465 kB / 1.622 GB, free: 16.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.728e-05/3.538, allocations: 22.97 kB / 1.622 GB, free: 16.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002867/3.541, allocations: 194.9 kB / 1.622 GB, free: 16.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002035/3.541, allocations: 78.89 kB / 1.622 GB, free: 16.1 MB / 1.295 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.002076/3.543, allocations: 0.6842 MB / 1.623 GB, free: 15.98 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009092/3.544, allocations: 226.1 kB / 1.623 GB, free: 15.86 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004766/3.549, allocations: 2.519 MB / 1.625 GB, free: 15.75 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.301e-05/3.549, allocations: 21.5 kB / 1.625 GB, free: 15.75 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/3.549, allocations: 0.9375 kB / 1.625 GB, free: 15.75 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003543/3.552, allocations: 2.332 MB / 1.628 GB, free: 15.36 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01304/3.565, allocations: 5.617 MB / 1.633 GB, free: 14.72 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/3.565, allocations: 4.031 kB / 1.633 GB, free: 14.72 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00235/3.568, allocations: 474 kB / 1.634 GB, free: 14.72 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.465e-05/3.568, allocations: 9.969 kB / 1.634 GB, free: 14.72 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002034/3.568, allocations: 52.7 kB / 1.634 GB, free: 14.72 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.112e-05/3.568, allocations: 12.39 kB / 1.634 GB, free: 14.72 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.134e-05/3.568, allocations: 10.38 kB / 1.634 GB, free: 14.72 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007407/3.576, allocations: 3.814 MB / 1.638 GB, free: 14.3 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002346/3.578, allocations: 0.5545 MB / 1.638 GB, free: 14.05 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009455/3.579, allocations: 45.69 kB / 1.638 GB, free: 14.05 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002423/3.581, allocations: 62.77 kB / 1.638 GB, free: 14.05 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004702/3.582, allocations: 155 kB / 1.638 GB, free: 14.05 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001824/3.582, allocations: 67.8 kB / 1.638 GB, free: 14.05 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001918/3.584, allocations: 0.9916 MB / 1.639 GB, free: 13.94 MB / 1.295 GB Notification: Performance of sort global known variables: time 3.51e-07/3.584, allocations: 0 / 1.639 GB, free: 13.94 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004733/3.589, allocations: 0.941 MB / 1.64 GB, free: 13.8 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.009918/3.599, allocations: 4.642 MB / 1.645 GB, free: 12.84 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.004828/3.604, allocations: 2.346 MB / 1.647 GB, free: 12.73 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.428e-05/3.604, allocations: 0 / 1.647 GB, free: 12.73 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002567/3.606, allocations: 1.224 MB / 1.648 GB, free: 12.72 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00946/3.616, allocations: 1.284 MB / 1.65 GB, free: 12.55 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04023/3.656, allocations: 18.63 MB / 1.668 GB, free: 7.84 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002906/3.659, allocations: 1.975 MB / 1.67 GB, free: 7.055 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.004965/3.664, allocations: 0.719 MB / 1.67 GB, free: 6.922 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003246/3.667, allocations: 1.097 MB / 1.671 GB, free: 6.914 MB / 1.295 GB Notification: Performance of SimCode: time 2.024e-06/3.667, allocations: 0 / 1.671 GB, free: 6.914 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1719/3.839, allocations: 65.69 MB / 1.736 GB, free: 10.02 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.19/18.03, allocations: 22.66 kB / 1.736 GB, free: 10 MB / 1.342 GB (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)