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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep") translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.015/2.015, allocations: 391.2 MB / 407 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 187.5 kB / 499.1 MB, free: 4.699 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 0.7948 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009956/0.0009957, allocations: 115.5 kB / 0.9329 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 52.12 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2363, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.7711/1.007, allocations: 292.1 MB / 1.503 GB, free: 1.082 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.02687/1.034, allocations: 23.25 MB / 1.526 GB, free: 328 kB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004362/1.039, allocations: 68.97 kB / 1.526 GB, free: 328 kB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.005035/1.044, allocations: 1.559 MB / 1.528 GB, free: 292 kB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.01545/1.059, allocations: 5.769 MB / 1.533 GB, free: 15.98 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.007868/1.067, allocations: 2.631 MB / 1.536 GB, free: 15.36 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.01352/1.081, allocations: 10.76 MB / 1.546 GB, free: 13.18 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004317/1.085, allocations: 2.52 MB / 1.549 GB, free: 12.05 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008608/1.094, allocations: 2.553 MB / 1.551 GB, free: 11.17 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006224/1.1, allocations: 2.824 MB / 1.554 GB, free: 9.949 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.001268/1.101, allocations: 202.8 kB / 1.554 GB, free: 9.949 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01514/1.116, allocations: 6.905 MB / 1.561 GB, free: 7.312 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.002897/1.119, allocations: 1.339 MB / 1.562 GB, free: 6.48 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.005441/1.125, allocations: 1.76 MB / 1.564 GB, free: 5.457 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.01707/1.142, allocations: 7.172 MB / 1.571 GB, free: 24 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/1.142, allocations: 0 / 1.571 GB, free: 24 kB / 0.9323 GB Notification: Performance of FrontEnd: time 2.284e-06/1.142, allocations: 0 / 1.571 GB, free: 24 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002198/1.142, allocations: 4 kB / 1.571 GB, free: 20 kB / 0.9323 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.01287/1.155, allocations: 4.099 MB / 1.575 GB, free: 11.89 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/1.155, allocations: 11.98 kB / 1.575 GB, free: 11.88 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005798/1.161, allocations: 0.8439 MB / 1.576 GB, free: 11.03 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004413/1.166, allocations: 1.794 MB / 1.578 GB, free: 9.285 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001803/1.166, allocations: 204.5 kB / 1.578 GB, free: 9.086 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007686/1.166, allocations: 274.6 kB / 1.578 GB, free: 8.82 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007779/1.174, allocations: 3.6 MB / 1.582 GB, free: 5.117 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.292e-05/1.174, allocations: 7.906 kB / 1.582 GB, free: 5.109 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000505/1.175, allocations: 110.3 kB / 1.582 GB, free: 5.004 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001699/1.175, allocations: 160.9 kB / 1.582 GB, free: 4.848 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006517/1.182, allocations: 3.279 MB / 1.585 GB, free: 1.578 MB / 0.948 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.01921/1.201, allocations: 14.15 MB / 1.599 GB, free: 2.453 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003976/1.205, allocations: 2.494 MB / 1.601 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002053/1.207, allocations: 1.345 MB / 1.603 GB, free: 14.55 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001194/1.208, allocations: 1.375 MB / 1.604 GB, free: 12.88 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002113/1.21, allocations: 1.226 MB / 1.605 GB, free: 11.64 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=213): time 4.959e-06/1.21, allocations: 0 / 1.605 GB, free: 11.64 MB / 0.9792 GB Notification: Performance of matching and sorting (n=213): time 0.005846/1.216, allocations: 3.171 MB / 1.608 GB, free: 8.469 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/1.216, allocations: 77.41 kB / 1.608 GB, free: 8.379 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002536/1.219, allocations: 1.46 MB / 1.61 GB, free: 6.914 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001868/1.219, allocations: 61.7 kB / 1.61 GB, free: 6.848 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009996/1.22, allocations: 1.115 MB / 1.611 GB, free: 5.723 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007457/1.221, allocations: 0.7377 MB / 1.612 GB, free: 4.992 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006105/1.221, allocations: 359.5 kB / 1.612 GB, free: 4.633 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.131e-05/1.222, allocations: 305.1 kB / 1.612 GB, free: 4.332 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00154/1.223, allocations: 0.9175 MB / 1.613 GB, free: 3.41 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001784/1.225, allocations: 1.247 MB / 1.614 GB, free: 2.043 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003376/1.228, allocations: 2.325 MB / 1.617 GB, free: 15.62 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.839e-06/1.228, allocations: 8.062 kB / 1.617 GB, free: 15.61 MB / 0.9948 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.004444/1.233, allocations: 2.602 MB / 1.619 GB, free: 12.99 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 5.45e-05/1.233, allocations: 33.7 kB / 1.619 GB, free: 12.95 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/1.233, allocations: 8 kB / 1.619 GB, free: 12.95 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.507e-05/1.233, allocations: 20.03 kB / 1.619 GB, free: 12.93 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001817/1.235, allocations: 467.3 kB / 1.62 GB, free: 12.47 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.758e-05/1.235, allocations: 23.92 kB / 1.62 GB, free: 12.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002765/1.238, allocations: 393.7 kB / 1.62 GB, free: 12.06 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001822/1.238, allocations: 79.98 kB / 1.62 GB, free: 11.98 MB / 0.9948 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.001261/1.239, allocations: 0.6891 MB / 1.621 GB, free: 11.28 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005974/1.24, allocations: 213.5 kB / 1.621 GB, free: 11.07 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004389/1.244, allocations: 2.519 MB / 1.624 GB, free: 8.531 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/1.244, allocations: 23.98 kB / 1.624 GB, free: 8.508 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/1.244, allocations: 0 / 1.624 GB, free: 8.508 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00324/1.247, allocations: 2.335 MB / 1.626 GB, free: 6.109 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01022/1.258, allocations: 5.613 MB / 1.631 GB, free: 444 kB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-05/1.258, allocations: 4 kB / 1.631 GB, free: 440 kB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002101/1.26, allocations: 471.4 kB / 1.632 GB, free: 15.97 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.639e-05/1.26, allocations: 12.12 kB / 1.632 GB, free: 15.96 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001741/1.26, allocations: 51.98 kB / 1.632 GB, free: 15.91 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-05/1.26, allocations: 15.98 kB / 1.632 GB, free: 15.89 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.26, allocations: 3.938 kB / 1.632 GB, free: 15.89 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04124/1.301, allocations: 19.92 MB / 1.651 GB, free: 11.75 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0016/1.303, allocations: 0.541 MB / 1.652 GB, free: 11.19 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005994/1.303, allocations: 43.98 kB / 1.652 GB, free: 11.15 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002288/1.306, allocations: 240.5 kB / 1.652 GB, free: 10.91 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004469/1.306, allocations: 149.7 kB / 1.652 GB, free: 10.77 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00024/1.307, allocations: 71.97 kB / 1.652 GB, free: 10.7 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.001755/1.308, allocations: 0.9906 MB / 1.653 GB, free: 9.715 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.81e-07/1.308, allocations: 0 / 1.653 GB, free: 9.715 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.007713/1.316, allocations: 1.435 MB / 1.655 GB, free: 8.277 MB / 1.026 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.001259/1.317, allocations: 415.7 kB / 1.655 GB, free: 7.887 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.004309/1.322, allocations: 2.329 MB / 1.657 GB, free: 5.543 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/1.322, allocations: 4 kB / 1.657 GB, free: 5.539 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.002062/1.324, allocations: 1.221 MB / 1.659 GB, free: 4.324 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006851/1.331, allocations: 1.244 MB / 1.66 GB, free: 3.094 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01302/1.344, allocations: 8.178 MB / 1.668 GB, free: 10.85 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002173/1.346, allocations: 2.023 MB / 1.67 GB, free: 8.793 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.003628/1.349, allocations: 0.7836 MB / 1.67 GB, free: 8.004 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/1.351, allocations: 207.4 kB / 1.671 GB, free: 7.801 MB / 1.042 GB Notification: Performance of SimCode: time 6.81e-07/1.351, allocations: 0 / 1.671 GB, free: 7.801 MB / 1.042 GB Notification: Performance of Templates: time 0.08138/1.432, allocations: 53.75 MB / 1.723 GB, free: 2.547 MB / 1.089 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (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 & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)