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.006665/0.006665, allocations: 101.9 kB / 15.73 MB, free: 6.043 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.001321/0.001322, allocations: 188.1 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.311/1.311, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4665/0.4665, allocations: 95.48 MB / 365.4 MB, free: 12.16 MB / 318.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.001454/0.001454, allocations: 71.91 kB / 0.5036 GB, free: 11.83 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3357, allocations: 69.08 MB / 0.5711 GB, free: 4.176 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.5417/0.8774, allocations: 210.9 MB / 0.7771 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01946/0.8969, allocations: 17.74 MB / 0.7944 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003555/0.9005, allocations: 56.75 kB / 0.7945 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004059/0.9046, allocations: 1.149 MB / 0.7956 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00845/0.9131, allocations: 2.956 MB / 0.7985 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006383/0.9195, allocations: 2.288 MB / 0.8007 GB, free: 0.8047 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008117/0.9277, allocations: 6.546 MB / 0.8071 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003752/0.9314, allocations: 2.713 MB / 0.8097 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005403/0.9369, allocations: 2.655 MB / 0.8123 GB, free: 460 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004931/0.9418, allocations: 2.806 MB / 0.8151 GB, free: 124 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0008119/0.9426, allocations: 323.2 kB / 0.8154 GB, free: 120 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005559/0.9482, allocations: 2.124 MB / 0.8175 GB, free: 76 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001222/0.9494, allocations: 1.05 MB / 0.8185 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002588/0.952, allocations: 1.659 MB / 0.8201 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006495/0.9585, allocations: 4.658 MB / 0.8246 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.9586, allocations: 2.438 kB / 0.8246 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9586, allocations: 0 / 0.8246 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.08e-05/0.9587, allocations: 0 / 0.8246 GB, free: 14.64 MB / 0.6075 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.007491/0.9662, allocations: 3.468 MB / 0.828 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.9662, allocations: 12.23 kB / 0.828 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009197/0.9671, allocations: 326.9 kB / 0.8284 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003008/0.9702, allocations: 1.613 MB / 0.8299 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.9703, allocations: 187.7 kB / 0.8301 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004068/0.9707, allocations: 237.9 kB / 0.8303 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004922/0.9756, allocations: 3.008 MB / 0.8333 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.833e-05/0.9757, allocations: 10.53 kB / 0.8333 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002563/0.976, allocations: 108 kB / 0.8334 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.983e-05/0.976, allocations: 56 kB / 0.8334 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004973/0.981, allocations: 2.905 MB / 0.8363 GB, free: 5.723 MB / 0.6075 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.01508/0.9961, allocations: 12.29 MB / 0.8483 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003476/0.9996, allocations: 2.352 MB / 0.8506 GB, free: 6.406 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001953/1.002, allocations: 1.336 MB / 0.8519 GB, free: 5.062 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007773/1.009, allocations: 6.37 MB / 0.8581 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002057/1.011, allocations: 1.33 MB / 0.8594 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=231): time 5.25e-06/1.011, allocations: 3.984 kB / 0.8594 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of matching and sorting (n=249): time 0.01637/1.028, allocations: 7.214 MB / 0.8664 GB, free: 5.434 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/1.028, allocations: 209.9 kB / 0.8666 GB, free: 5.188 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001843/1.03, allocations: 1.376 MB / 0.868 GB, free: 3.801 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000189/1.03, allocations: 81.69 kB / 0.8681 GB, free: 3.715 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007717/1.031, allocations: 0.9384 MB / 0.869 GB, free: 2.766 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006967/1.032, allocations: 0.8477 MB / 0.8698 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006617/1.032, allocations: 441 kB / 0.8702 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001013/1.032, allocations: 309.1 kB / 0.8705 GB, free: 1.184 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001798/1.034, allocations: 0.9989 MB / 0.8715 GB, free: 188 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002121/1.036, allocations: 1.476 MB / 0.8729 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0205/1.057, allocations: 6.342 MB / 0.8791 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.676e-05/1.057, allocations: 4 kB / 0.8791 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=320) (initialization): time 0.005697/1.062, allocations: 3.079 MB / 0.8822 GB, free: 4.836 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/1.063, allocations: 156.5 kB / 0.8823 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/1.063, allocations: 12 kB / 0.8823 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.351e-05/1.063, allocations: 20 kB / 0.8823 GB, free: 4.621 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002912/1.066, allocations: 0.6595 MB / 0.883 GB, free: 3.996 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.228e-05/1.066, allocations: 22.62 kB / 0.883 GB, free: 3.977 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/1.067, allocations: 90.39 kB / 0.8831 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002201/1.068, allocations: 104 kB / 0.8832 GB, free: 3.789 MB / 0.6544 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.001294/1.069, allocations: 0.6255 MB / 0.8838 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004369/1.069, allocations: 213.4 kB / 0.884 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005431/1.075, allocations: 3.162 MB / 0.8871 GB, free: 15.76 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.404e-05/1.075, allocations: 32 kB / 0.8871 GB, free: 15.73 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/1.075, allocations: 0 / 0.8871 GB, free: 15.73 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.357e-05/1.075, allocations: 15.94 kB / 0.8871 GB, free: 15.71 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009159/1.084, allocations: 5.526 MB / 0.8925 GB, free: 10.13 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/1.084, allocations: 4 kB / 0.8925 GB, free: 10.12 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002734/1.087, allocations: 0.5445 MB / 0.8931 GB, free: 9.605 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.198e-05/1.087, allocations: 19.92 kB / 0.8931 GB, free: 9.586 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001698/1.087, allocations: 63.98 kB / 0.8931 GB, free: 9.523 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-05/1.087, allocations: 15.98 kB / 0.8932 GB, free: 9.508 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.087, allocations: 10.47 kB / 0.8932 GB, free: 9.5 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007072/1.094, allocations: 4.246 MB / 0.8973 GB, free: 5.117 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001464/1.096, allocations: 0.5217 MB / 0.8978 GB, free: 4.574 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00047/1.096, allocations: 55.94 kB / 0.8979 GB, free: 4.52 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/1.098, allocations: 71.95 kB / 0.8979 GB, free: 4.449 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003959/1.098, allocations: 180.3 kB / 0.8981 GB, free: 4.273 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001938/1.098, allocations: 87.91 kB / 0.8982 GB, free: 4.188 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001372/1.1, allocations: 0.9566 MB / 0.8991 GB, free: 3.234 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/1.1, allocations: 0 / 0.8991 GB, free: 3.234 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002718/1.102, allocations: 0.9138 MB / 0.9 GB, free: 2.32 MB / 0.67 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.001515/1.104, allocations: 0.7169 MB / 0.9007 GB, free: 1.672 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004962/1.109, allocations: 2.895 MB / 0.9036 GB, free: 14.74 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/1.109, allocations: 4 kB / 0.9036 GB, free: 14.74 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00233/1.111, allocations: 1.404 MB / 0.9049 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005689/1.117, allocations: 1.052 MB / 0.906 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009436/1.126, allocations: 5.404 MB / 0.9112 GB, free: 6.891 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001444/1.128, allocations: 1.766 MB / 0.913 GB, free: 5.09 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002835/1.131, allocations: 0.7588 MB / 0.9137 GB, free: 4.328 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007323/1.132, allocations: 219.4 kB / 0.9139 GB, free: 4.113 MB / 0.6856 GB Notification: Performance of SimCode: time 1.162e-06/1.132, allocations: 0 / 0.9139 GB, free: 4.113 MB / 0.6856 GB Notification: Performance of Templates: time 0.07813/1.21, allocations: 50.04 MB / 0.9628 GB, free: 2.652 MB / 0.7325 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)