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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0008731/0.0008732, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.005235/0.005235, allocations: 173 kB / 16.26 MB, free: 6.613 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.201/1.201, allocations: 223.3 MB / 240.3 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.397/2.397, allocations: 462.6 MB / 0.7364 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003009/0.000301, allocations: 12.92 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2501, allocations: 159.6 MB / 1.059 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.7238/0.9739, allocations: 288.1 MB / 1.34 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02129/0.9953, allocations: 22.99 MB / 1.363 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002936/0.9982, allocations: 63.53 kB / 1.363 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003366/1.002, allocations: 1.549 MB / 1.364 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01214/1.014, allocations: 5.779 MB / 1.37 GB, free: 388 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00594/1.02, allocations: 2.634 MB / 1.372 GB, free: 292 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008994/1.029, allocations: 10.73 MB / 1.383 GB, free: 15.86 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003111/1.032, allocations: 2.435 MB / 1.385 GB, free: 14.86 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005705/1.038, allocations: 2.436 MB / 1.388 GB, free: 14.02 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004174/1.042, allocations: 2.704 MB / 1.39 GB, free: 12.77 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003701/1.042, allocations: 165.9 kB / 1.39 GB, free: 12.77 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0114/1.054, allocations: 6.874 MB / 1.397 GB, free: 9.547 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001565/1.055, allocations: 1.274 MB / 1.398 GB, free: 8.762 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002508/1.058, allocations: 1.704 MB / 1.4 GB, free: 7.754 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01059/1.068, allocations: 7.078 MB / 1.407 GB, free: 3.762 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/1.068, allocations: 3.938 kB / 1.407 GB, free: 3.758 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.503e-06/1.068, allocations: 7 kB / 1.407 GB, free: 3.754 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.385e-05/1.068, allocations: 0 / 1.407 GB, free: 3.754 MB / 1.014 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.008187/1.077, allocations: 3.483 MB / 1.41 GB, free: 1.363 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/1.077, allocations: 13.34 kB / 1.41 GB, free: 1.359 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005108/1.077, allocations: 394 kB / 1.411 GB, free: 1.074 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004946/1.082, allocations: 0.8451 MB / 1.412 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002786/1.085, allocations: 1.785 MB / 1.413 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/1.085, allocations: 207 kB / 1.413 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003688/1.085, allocations: 280.7 kB / 1.414 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005345/1.091, allocations: 3.602 MB / 1.417 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.397e-05/1.091, allocations: 7.938 kB / 1.417 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002455/1.091, allocations: 111.7 kB / 1.417 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001402/1.091, allocations: 149.3 kB / 1.418 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005281/1.097, allocations: 3.3 MB / 1.421 GB, free: 8.961 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.01472/1.111, allocations: 14.17 MB / 1.435 GB, free: 9.707 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003473/1.115, allocations: 2.494 MB / 1.437 GB, free: 7.137 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00187/1.117, allocations: 1.371 MB / 1.438 GB, free: 5.773 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001133/1.118, allocations: 1.378 MB / 1.44 GB, free: 4.109 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001887/1.12, allocations: 1.233 MB / 1.441 GB, free: 2.859 MB / 1.045 GB Notification: Performance of pre-optimization done (n=213): time 4.088e-06/1.12, allocations: 0 / 1.441 GB, free: 2.859 MB / 1.045 GB Notification: Performance of matching and sorting (n=213): time 0.005387/1.125, allocations: 3.189 MB / 1.444 GB, free: 15.67 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/1.125, allocations: 77.41 kB / 1.444 GB, free: 15.58 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00181/1.127, allocations: 1.452 MB / 1.446 GB, free: 14.12 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.000161/1.127, allocations: 69.7 kB / 1.446 GB, free: 14.05 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008586/1.128, allocations: 1.118 MB / 1.447 GB, free: 12.92 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006323/1.129, allocations: 0.7235 MB / 1.447 GB, free: 12.2 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002239/1.129, allocations: 169.7 kB / 1.448 GB, free: 12.03 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.812e-05/1.129, allocations: 305.1 kB / 1.448 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001463/1.13, allocations: 0.9175 MB / 1.449 GB, free: 10.81 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001695/1.132, allocations: 1.262 MB / 1.45 GB, free: 9.422 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003275/1.135, allocations: 2.333 MB / 1.452 GB, free: 6.984 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/1.135, allocations: 7.938 kB / 1.452 GB, free: 6.977 MB / 1.061 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004158/1.14, allocations: 2.61 MB / 1.455 GB, free: 4.352 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.805e-05/1.14, allocations: 33.7 kB / 1.455 GB, free: 4.312 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/1.14, allocations: 11.98 kB / 1.455 GB, free: 4.301 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/1.14, allocations: 16 kB / 1.455 GB, free: 4.285 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00184/1.142, allocations: 475.4 kB / 1.455 GB, free: 3.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.415e-05/1.142, allocations: 27.92 kB / 1.455 GB, free: 3.793 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002563/1.144, allocations: 401.7 kB / 1.456 GB, free: 3.398 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001606/1.144, allocations: 80 kB / 1.456 GB, free: 3.32 MB / 1.061 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.001207/1.146, allocations: 0.6845 MB / 1.456 GB, free: 2.625 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004276/1.146, allocations: 213.5 kB / 1.457 GB, free: 2.414 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004323/1.15, allocations: 2.532 MB / 1.459 GB, free: 15.87 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/1.15, allocations: 24 kB / 1.459 GB, free: 15.84 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.15, allocations: 3.938 kB / 1.459 GB, free: 15.84 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003339/1.154, allocations: 2.347 MB / 1.461 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009111/1.163, allocations: 5.612 MB / 1.467 GB, free: 7.754 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/1.163, allocations: 7.938 kB / 1.467 GB, free: 7.746 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002076/1.165, allocations: 487.7 kB / 1.467 GB, free: 7.27 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.589e-05/1.165, allocations: 12 kB / 1.467 GB, free: 7.258 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001478/1.165, allocations: 55.98 kB / 1.467 GB, free: 7.203 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.266e-05/1.165, allocations: 8 kB / 1.467 GB, free: 7.195 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.595e-06/1.165, allocations: 11.92 kB / 1.467 GB, free: 7.184 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005627/1.171, allocations: 3.811 MB / 1.471 GB, free: 3.328 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/1.172, allocations: 0.5409 MB / 1.472 GB, free: 2.766 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003957/1.172, allocations: 47.98 kB / 1.472 GB, free: 2.719 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002107/1.175, allocations: 248.1 kB / 1.472 GB, free: 2.477 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002965/1.175, allocations: 149.8 kB / 1.472 GB, free: 2.328 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001395/1.175, allocations: 71.91 kB / 1.472 GB, free: 2.258 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001436/1.176, allocations: 0.9906 MB / 1.473 GB, free: 1.273 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/1.176, allocations: 0 / 1.473 GB, free: 1.273 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002225/1.179, allocations: 0.935 MB / 1.474 GB, free: 344 kB / 1.076 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.006448/1.185, allocations: 4.643 MB / 1.479 GB, free: 11.66 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003697/1.189, allocations: 2.337 MB / 1.481 GB, free: 9.312 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/1.189, allocations: 3.938 kB / 1.481 GB, free: 9.309 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001808/1.191, allocations: 1.227 MB / 1.482 GB, free: 8.086 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006471/1.197, allocations: 1.241 MB / 1.483 GB, free: 6.855 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03227/1.229, allocations: 21.65 MB / 1.504 GB, free: 15.8 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001822/1.231, allocations: 1.983 MB / 1.506 GB, free: 13.79 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.002722/1.234, allocations: 0.7212 MB / 1.507 GB, free: 13.06 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001557/1.236, allocations: 1.093 MB / 1.508 GB, free: 11.96 MB / 1.123 GB Notification: Performance of SimCode: time 8.31e-07/1.236, allocations: 0 / 1.508 GB, free: 11.96 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09771/1.333, allocations: 62.46 MB / 1.569 GB, free: 14.17 MB / 1.186 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002144/1.334, allocations: 256.8 kB / 1.569 GB, free: 13.91 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.298/4.632, allocations: 3.938 kB / 1.569 GB, free: 13.91 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_CO2TransportStep_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_CO2TransportStep.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)