Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.CO2TransportStep") translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.CO2TransportStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008742/0.008742, allocations: 100 kB / 15.73 MB, free: 6.047 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.001586/0.001586, allocations: 185.3 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.524/1.524, allocations: 205.1 MB / 222.5 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6047/0.6047, allocations: 95.48 MB / 365.4 MB, free: 9.781 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 72.11 kB / 0.5036 GB, free: 13.56 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1851, allocations: 69.1 MB / 0.5711 GB, free: 8.406 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.7472/0.9324, allocations: 210.9 MB / 0.7771 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02941/0.9618, allocations: 17.75 MB / 0.7944 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004422/0.9663, allocations: 59.69 kB / 0.7945 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004734/0.9711, allocations: 1.149 MB / 0.7956 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01302/0.9841, allocations: 2.953 MB / 0.7985 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.007832/0.992, allocations: 2.294 MB / 0.8007 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01096/1.003, allocations: 6.539 MB / 0.8071 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004951/1.008, allocations: 2.711 MB / 0.8097 GB, free: 9.887 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008822/1.017, allocations: 2.669 MB / 0.8123 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006622/1.023, allocations: 2.811 MB / 0.8151 GB, free: 4.398 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001319/1.025, allocations: 312 kB / 0.8154 GB, free: 4.094 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006816/1.032, allocations: 2.121 MB / 0.8175 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001891/1.034, allocations: 1.06 MB / 0.8185 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.005041/1.039, allocations: 1.661 MB / 0.8201 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.009391/1.048, allocations: 4.658 MB / 0.8247 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/1.048, allocations: 0 / 0.8247 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.374e-06/1.048, allocations: 0 / 0.8247 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001127/1.048, allocations: 0 / 0.8247 GB, free: 10.57 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.008796/1.057, allocations: 3.458 MB / 0.828 GB, free: 7.016 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/1.057, allocations: 15.98 kB / 0.8281 GB, free: 7 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/1.058, allocations: 321.5 kB / 0.8284 GB, free: 6.684 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003151/1.061, allocations: 1.627 MB / 0.83 GB, free: 5 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001383/1.061, allocations: 180.8 kB / 0.8301 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003847/1.062, allocations: 240 kB / 0.8304 GB, free: 4.586 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005531/1.067, allocations: 3.006 MB / 0.8333 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.275e-05/1.067, allocations: 7.906 kB / 0.8333 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000237/1.068, allocations: 100 kB / 0.8334 GB, free: 1.352 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.753e-05/1.068, allocations: 60 kB / 0.8334 GB, free: 1.293 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005131/1.073, allocations: 2.906 MB / 0.8363 GB, free: 14.37 MB / 0.6544 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.01944/1.092, allocations: 12.28 MB / 0.8483 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004033/1.096, allocations: 2.365 MB / 0.8506 GB, free: 14.81 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002138/1.099, allocations: 1.336 MB / 0.8519 GB, free: 13.46 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009516/1.108, allocations: 6.368 MB / 0.8581 GB, free: 6.367 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002345/1.11, allocations: 1.328 MB / 0.8594 GB, free: 5.012 MB / 0.67 GB Notification: Performance of pre-optimization done (n=231): time 4.048e-06/1.111, allocations: 7.938 kB / 0.8594 GB, free: 5.004 MB / 0.67 GB Notification: Performance of matching and sorting (n=249): time 0.01773/1.128, allocations: 7.215 MB / 0.8665 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/1.128, allocations: 217.9 kB / 0.8667 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002011/1.13, allocations: 1.376 MB / 0.868 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000226/1.131, allocations: 73.7 kB / 0.8681 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001144/1.132, allocations: 0.947 MB / 0.869 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009049/1.133, allocations: 0.8432 MB / 0.8698 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006916/1.133, allocations: 441 kB / 0.8702 GB, free: 9.789 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.00014/1.134, allocations: 305.1 kB / 0.8705 GB, free: 9.488 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001803/1.135, allocations: 1 MB / 0.8715 GB, free: 8.484 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002282/1.138, allocations: 1.469 MB / 0.873 GB, free: 6.84 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02073/1.158, allocations: 6.363 MB / 0.8792 GB, free: 172 kB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.6e-05/1.159, allocations: 4 kB / 0.8792 GB, free: 168 kB / 0.6856 GB Notification: Performance of matching and sorting (n=320) (initialization): time 0.005408/1.164, allocations: 3.068 MB / 0.8822 GB, free: 13.01 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/1.164, allocations: 159.9 kB / 0.8823 GB, free: 12.83 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/1.164, allocations: 8 kB / 0.8823 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.938e-05/1.164, allocations: 24.72 kB / 0.8823 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002863/1.167, allocations: 0.6514 MB / 0.883 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.634e-05/1.167, allocations: 31.92 kB / 0.883 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/1.169, allocations: 91.95 kB / 0.8831 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001985/1.169, allocations: 104 kB / 0.8832 GB, free: 11.92 MB / 0.7012 GB Warning: Assuming fixed start value for the following 6 variables: volEas.dynBal.medium.p:VARIABLE(flow=false min = 0.0 max = 1e8 start = volEas.dynBal.p_start unit = "Pa" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real volWes.dynBal.medium.p:VARIABLE(flow=false min = 0.0 max = 1e8 start = volWes.dynBal.p_start unit = "Pa" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real volTop.dynBal.medium.p:VARIABLE(flow=false min = 0.0 max = 1e8 start = volTop.dynBal.p_start unit = "Pa" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real volTop.dynBal.mC[1]:VARIABLE(min = 0.0 unit = "kg" fixed = true protected = true ) "Masses of trace substances in the fluid" type: Real [1] volWes.dynBal.mC[1]:VARIABLE(min = 0.0 unit = "kg" fixed = true protected = true ) "Masses of trace substances in the fluid" type: Real [1] volEas.dynBal.mC[1]:VARIABLE(min = 0.0 unit = "kg" fixed = true protected = true ) "Masses of trace substances in the fluid" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.pulse.count,$PRE.pulse.T_start,pulse.count,pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (319): * Single equations (assignments): 314 * Array equations: 0 * Algorithm blocks: 5 * 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.00125/1.17, allocations: 0.6249 MB / 0.8838 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003941/1.171, allocations: 221.2 kB / 0.884 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005192/1.176, allocations: 3.167 MB / 0.8871 GB, free: 7.84 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.548e-05/1.176, allocations: 28 kB / 0.8871 GB, free: 7.812 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/1.176, allocations: 3.938 kB / 0.8871 GB, free: 7.809 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-05/1.176, allocations: 11.95 kB / 0.8872 GB, free: 7.797 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008748/1.185, allocations: 5.526 MB / 0.8926 GB, free: 2.125 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/1.185, allocations: 4 kB / 0.8926 GB, free: 2.121 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002619/1.187, allocations: 0.5423 MB / 0.8931 GB, free: 1.578 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.032e-05/1.187, allocations: 15.94 kB / 0.8931 GB, free: 1.562 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001597/1.187, allocations: 63.97 kB / 0.8932 GB, free: 1.5 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.908e-05/1.188, allocations: 19.97 kB / 0.8932 GB, free: 1.48 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.188, allocations: 4 kB / 0.8932 GB, free: 1.477 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3981/1.586, allocations: 4.246 MB / 0.8973 GB, free: 266.7 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001494/1.587, allocations: 0.5127 MB / 0.8978 GB, free: 266.6 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004869/1.588, allocations: 57.73 kB / 0.8979 GB, free: 266.6 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/1.589, allocations: 63.84 kB / 0.898 GB, free: 266.5 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004133/1.589, allocations: 184.2 kB / 0.8981 GB, free: 266.5 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002089/1.59, allocations: 90.75 kB / 0.8982 GB, free: 266.5 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001695/1.591, allocations: 0.9555 MB / 0.8991 GB, free: 266.1 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.51e-07/1.591, allocations: 0 / 0.8991 GB, free: 266.1 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003281/1.595, allocations: 0.9218 MB / 0.9 GB, free: 266 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 12 (volEas.dynBal.medium.p,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volWes.dynBal.medium.p,volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.medium.p,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 (271): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001615/1.596, allocations: 0.7047 MB / 0.9007 GB, free: 265.9 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.005577/1.602, allocations: 2.908 MB / 0.9036 GB, free: 264.6 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/1.602, allocations: 1.125 kB / 0.9036 GB, free: 264.6 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002967/1.605, allocations: 1.407 MB / 0.9049 GB, free: 264.2 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005261/1.61, allocations: 1.051 MB / 0.906 GB, free: 263.9 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/1.621, allocations: 5.403 MB / 0.9113 GB, free: 261.5 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002155/1.623, allocations: 1.759 MB / 0.913 GB, free: 260.6 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0041/1.627, allocations: 0.7577 MB / 0.9137 GB, free: 260.5 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009092/1.628, allocations: 227.4 kB / 0.9139 GB, free: 260.4 MB / 0.7012 GB Notification: Performance of SimCode: time 1.392e-06/1.628, allocations: 0 / 0.9139 GB, free: 260.4 MB / 0.7012 GB Notification: Performance of Templates: time 0.07889/1.707, allocations: 50.72 MB / 0.9635 GB, free: 221.3 MB / 0.7012 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)