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.001418/0.001418, allocations: 108 kB / 15.61 MB, free: 152 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.001326/0.001326, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.255/1.255, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.503/2.503, allocations: 469.8 MB / 0.7424 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001729/0.001729, allocations: 66.5 kB / 0.9086 GB, free: 34.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2459, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.6819/0.9278, allocations: 294.2 MB / 1.351 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0206/0.9484, allocations: 23.05 MB / 1.374 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002191/0.9507, allocations: 81.47 kB / 1.374 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003169/0.9539, allocations: 1.793 MB / 1.376 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0106/0.9645, allocations: 6.116 MB / 1.382 GB, free: 15.69 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005677/0.9702, allocations: 2.883 MB / 1.385 GB, free: 14.79 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006322/0.9765, allocations: 7.3 MB / 1.392 GB, free: 12.13 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003003/0.9795, allocations: 2.981 MB / 1.395 GB, free: 10.43 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00421/0.9837, allocations: 2.867 MB / 1.397 GB, free: 9.062 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002825/0.9866, allocations: 2.713 MB / 1.4 GB, free: 7.699 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000378/0.987, allocations: 342.7 kB / 1.4 GB, free: 7.699 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009856/0.9968, allocations: 5.975 MB / 1.406 GB, free: 4.84 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001241/0.9981, allocations: 1.473 MB / 1.408 GB, free: 3.84 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001859/0.9999, allocations: 1.898 MB / 1.409 GB, free: 2.648 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.008145/1.008, allocations: 6.887 MB / 1.416 GB, free: 14.32 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.008, allocations: 4 kB / 1.416 GB, free: 14.32 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.212e-06/1.008, allocations: 0 / 1.416 GB, free: 14.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.197e-05/1.008, allocations: 0 / 1.416 GB, free: 14.32 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.008119/1.016, allocations: 4.09 MB / 1.42 GB, free: 11.52 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/1.016, allocations: 10.25 kB / 1.42 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004857/1.017, allocations: 392 kB / 1.421 GB, free: 11.12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0048/1.022, allocations: 0.8507 MB / 1.421 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002644/1.024, allocations: 1.779 MB / 1.423 GB, free: 8.434 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/1.024, allocations: 213.4 kB / 1.423 GB, free: 8.223 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003836/1.025, allocations: 283.9 kB / 1.424 GB, free: 7.945 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005282/1.03, allocations: 3.593 MB / 1.427 GB, free: 4.227 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.824e-05/1.03, allocations: 4 kB / 1.427 GB, free: 4.223 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002466/1.03, allocations: 112 kB / 1.427 GB, free: 4.113 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001484/1.031, allocations: 153.2 kB / 1.427 GB, free: 3.961 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00526/1.036, allocations: 3.292 MB / 1.431 GB, free: 0.6562 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.01457/1.05, allocations: 14.3 MB / 1.445 GB, free: 1.125 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00359/1.054, allocations: 2.485 MB / 1.447 GB, free: 14.57 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001913/1.056, allocations: 1.356 MB / 1.448 GB, free: 13.22 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001259/1.057, allocations: 1.371 MB / 1.45 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001882/1.059, allocations: 1.226 MB / 1.451 GB, free: 10.31 MB / 1.061 GB Notification: Performance of pre-optimization done (n=213): time 3.356e-06/1.059, allocations: 3.938 kB / 1.451 GB, free: 10.31 MB / 1.061 GB Notification: Performance of matching and sorting (n=213): time 0.005377/1.065, allocations: 3.165 MB / 1.454 GB, free: 7.141 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/1.065, allocations: 85.33 kB / 1.454 GB, free: 7.043 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/1.066, allocations: 1.452 MB / 1.455 GB, free: 5.586 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001306/1.066, allocations: 73.69 kB / 1.456 GB, free: 5.508 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008428/1.067, allocations: 1.115 MB / 1.457 GB, free: 4.379 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006193/1.068, allocations: 0.7354 MB / 1.457 GB, free: 3.633 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005332/1.068, allocations: 355.5 kB / 1.458 GB, free: 3.277 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001132/1.069, allocations: 301.1 kB / 1.458 GB, free: 2.98 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001519/1.07, allocations: 0.9136 MB / 1.459 GB, free: 2.062 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001804/1.072, allocations: 1.255 MB / 1.46 GB, free: 0.6875 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003467/1.075, allocations: 2.325 MB / 1.462 GB, free: 14.26 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/1.075, allocations: 0 / 1.462 GB, free: 14.26 MB / 1.076 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004081/1.08, allocations: 2.601 MB / 1.465 GB, free: 11.64 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.72e-05/1.08, allocations: 34.58 kB / 1.465 GB, free: 11.6 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/1.08, allocations: 8 kB / 1.465 GB, free: 11.59 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.786e-05/1.08, allocations: 20 kB / 1.465 GB, free: 11.57 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00182/1.081, allocations: 471.2 kB / 1.465 GB, free: 11.11 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-05/1.081, allocations: 19.94 kB / 1.465 GB, free: 11.09 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/1.083, allocations: 186 kB / 1.466 GB, free: 10.91 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/1.083, allocations: 79.98 kB / 1.466 GB, free: 10.83 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.000931/1.084, allocations: 0.689 MB / 1.466 GB, free: 10.13 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003285/1.085, allocations: 213.5 kB / 1.467 GB, free: 9.922 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004214/1.089, allocations: 2.515 MB / 1.469 GB, free: 7.387 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/1.089, allocations: 23.94 kB / 1.469 GB, free: 7.363 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/1.089, allocations: 0 / 1.469 GB, free: 7.363 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003426/1.092, allocations: 2.331 MB / 1.471 GB, free: 4.969 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007982/1.1, allocations: 5.611 MB / 1.477 GB, free: 15.24 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/1.1, allocations: 4 kB / 1.477 GB, free: 15.24 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002055/1.102, allocations: 475.7 kB / 1.477 GB, free: 14.77 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/1.102, allocations: 8 kB / 1.477 GB, free: 14.77 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001231/1.102, allocations: 51.98 kB / 1.477 GB, free: 14.71 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-05/1.102, allocations: 15.94 kB / 1.477 GB, free: 14.7 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/1.102, allocations: 3.938 kB / 1.477 GB, free: 14.7 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005524/1.108, allocations: 3.803 MB / 1.481 GB, free: 10.84 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008198/1.109, allocations: 0.5448 MB / 1.482 GB, free: 10.28 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002781/1.109, allocations: 44 kB / 1.482 GB, free: 10.23 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/1.11, allocations: 68.02 kB / 1.482 GB, free: 10.17 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000286/1.111, allocations: 149.7 kB / 1.482 GB, free: 10.02 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/1.111, allocations: 71.97 kB / 1.482 GB, free: 9.953 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001221/1.112, allocations: 0.9906 MB / 1.483 GB, free: 8.969 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.134e-06/1.112, allocations: 0 / 1.483 GB, free: 8.969 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001764/1.114, allocations: 0.9311 MB / 1.484 GB, free: 8.035 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.006349/1.12, allocations: 4.635 MB / 1.488 GB, free: 3.355 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.007308/1.127, allocations: 3.88 MB / 1.492 GB, free: 15.46 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.128, allocations: 0 / 1.492 GB, free: 15.46 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001802/1.129, allocations: 1.225 MB / 1.493 GB, free: 14.24 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004802/1.134, allocations: 1.286 MB / 1.495 GB, free: 12.98 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02623/1.16, allocations: 20.24 MB / 1.514 GB, free: 7.328 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0016/1.162, allocations: 1.968 MB / 1.516 GB, free: 5.324 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.002278/1.164, allocations: 0.7249 MB / 1.517 GB, free: 4.598 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001442/1.166, allocations: 1.097 MB / 1.518 GB, free: 3.5 MB / 1.123 GB Notification: Performance of SimCode: time 2.5e-07/1.166, allocations: 0 / 1.518 GB, free: 3.5 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6124/1.778, allocations: 65.13 MB / 1.582 GB, free: 3.066 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.414/11.19, allocations: 0 / 1.582 GB, free: 3.066 MB / 1.186 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)