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.009382/0.009382, allocations: 101.4 kB / 15.73 MB, free: 6.469 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.002049/0.002049, allocations: 193.5 kB / 16.67 MB, free: 6.379 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.533/1.533, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.5929/0.5929, allocations: 95.47 MB / 365.4 MB, free: 9.785 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.001504/0.001504, allocations: 68.12 kB / 0.5036 GB, free: 13.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.159, allocations: 69.08 MB / 0.5711 GB, free: 8.328 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.6139/0.773, allocations: 210.9 MB / 0.7771 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02322/0.7963, allocations: 17.75 MB / 0.7944 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002983/0.7993, allocations: 55.69 kB / 0.7945 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003785/0.8032, allocations: 1.145 MB / 0.7956 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00887/0.812, allocations: 2.96 MB / 0.7985 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006694/0.8188, allocations: 2.301 MB / 0.8007 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.008841/0.8276, allocations: 6.536 MB / 0.8071 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004497/0.8321, allocations: 2.703 MB / 0.8097 GB, free: 9.836 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008128/0.8403, allocations: 2.676 MB / 0.8123 GB, free: 7.16 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00515/0.8455, allocations: 2.803 MB / 0.8151 GB, free: 4.348 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001278/0.8468, allocations: 316 kB / 0.8154 GB, free: 4.039 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005564/0.8523, allocations: 2.125 MB / 0.8175 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.00172/0.8541, allocations: 1.06 MB / 0.8185 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.003355/0.8574, allocations: 1.653 MB / 0.8201 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007638/0.8651, allocations: 4.654 MB / 0.8247 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.8651, allocations: 4 kB / 0.8247 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.126e-06/0.8651, allocations: 3.984 kB / 0.8247 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.000172/0.8653, allocations: 0 / 0.8247 GB, free: 10.52 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.008399/0.8737, allocations: 3.454 MB / 0.828 GB, free: 6.965 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.8738, allocations: 11.98 kB / 0.828 GB, free: 6.953 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.8748, allocations: 333.4 kB / 0.8284 GB, free: 6.625 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002991/0.8778, allocations: 1.619 MB / 0.8299 GB, free: 4.949 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.8779, allocations: 180.8 kB / 0.8301 GB, free: 4.77 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003225/0.8782, allocations: 240 kB / 0.8303 GB, free: 4.535 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004787/0.883, allocations: 3.014 MB / 0.8333 GB, free: 1.398 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.264e-05/0.8831, allocations: 3.906 kB / 0.8333 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002133/0.8833, allocations: 100 kB / 0.8334 GB, free: 1.297 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.076e-05/0.8834, allocations: 60 kB / 0.8334 GB, free: 1.238 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004753/0.8881, allocations: 2.903 MB / 0.8363 GB, free: 14.32 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.01535/0.9035, allocations: 12.28 MB / 0.8483 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003803/0.9073, allocations: 2.368 MB / 0.8506 GB, free: 14.75 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002246/0.9096, allocations: 1.336 MB / 0.8519 GB, free: 13.41 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00878/0.9184, allocations: 6.372 MB / 0.8581 GB, free: 6.305 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002154/0.9206, allocations: 1.332 MB / 0.8594 GB, free: 4.945 MB / 0.67 GB Notification: Performance of pre-optimization done (n=231): time 4.058e-06/0.9206, allocations: 4 kB / 0.8594 GB, free: 4.941 MB / 0.67 GB Notification: Performance of matching and sorting (n=249): time 0.01708/0.9377, allocations: 7.217 MB / 0.8665 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/0.9378, allocations: 209.9 kB / 0.8667 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002226/0.9401, allocations: 1.383 MB / 0.868 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001686/0.9403, allocations: 73.7 kB / 0.8681 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001006/0.9413, allocations: 0.9431 MB / 0.869 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.00109/0.9424, allocations: 0.8471 MB / 0.8698 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009127/0.9433, allocations: 441 kB / 0.8703 GB, free: 9.727 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002034/0.9435, allocations: 305.1 kB / 0.8706 GB, free: 9.426 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002067/0.9456, allocations: 1 MB / 0.8715 GB, free: 8.422 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002362/0.948, allocations: 1.469 MB / 0.873 GB, free: 6.777 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02152/0.9695, allocations: 6.356 MB / 0.8792 GB, free: 116 kB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.116e-05/0.9696, allocations: 3.938 kB / 0.8792 GB, free: 112 kB / 0.6856 GB Notification: Performance of matching and sorting (n=320) (initialization): time 0.006072/0.9756, allocations: 3.072 MB / 0.8822 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.9758, allocations: 152.7 kB / 0.8823 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.834e-05/0.9758, allocations: 16 kB / 0.8823 GB, free: 12.76 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.403e-05/0.9759, allocations: 24 kB / 0.8824 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003155/0.979, allocations: 0.6512 MB / 0.883 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-05/0.9791, allocations: 35.92 kB / 0.883 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/0.9811, allocations: 79.97 kB / 0.8831 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002576/0.9814, allocations: 108 kB / 0.8832 GB, free: 11.87 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.00134/0.9827, allocations: 0.621 MB / 0.8838 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006433/0.9834, allocations: 221.4 kB / 0.884 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005959/0.9893, allocations: 3.163 MB / 0.8871 GB, free: 7.789 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-05/0.9894, allocations: 24 kB / 0.8871 GB, free: 7.766 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.66e-05/0.9894, allocations: 3.984 kB / 0.8871 GB, free: 7.762 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.383e-05/0.9894, allocations: 11.95 kB / 0.8872 GB, free: 7.75 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01005/0.9995, allocations: 5.525 MB / 0.8925 GB, free: 2.078 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.797e-05/0.9995, allocations: 8 kB / 0.8926 GB, free: 2.07 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002636/1.002, allocations: 0.5465 MB / 0.8931 GB, free: 1.523 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.791e-05/1.002, allocations: 15.94 kB / 0.8931 GB, free: 1.508 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001911/1.002, allocations: 63.97 kB / 0.8932 GB, free: 1.445 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.952e-05/1.002, allocations: 15.94 kB / 0.8932 GB, free: 1.43 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/1.002, allocations: 7.938 kB / 0.8932 GB, free: 1.422 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3331/1.336, allocations: 4.246 MB / 0.8973 GB, free: 266.1 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001484/1.337, allocations: 0.5098 MB / 0.8978 GB, free: 266 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003287/1.337, allocations: 59.08 kB / 0.8979 GB, free: 266 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/1.339, allocations: 69.7 kB / 0.898 GB, free: 266 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004655/1.339, allocations: 187.7 kB / 0.8981 GB, free: 266 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002196/1.339, allocations: 82.23 kB / 0.8982 GB, free: 265.9 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00158/1.341, allocations: 0.9573 MB / 0.8991 GB, free: 265.6 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.9e-07/1.341, allocations: 0 / 0.8991 GB, free: 265.6 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002732/1.344, allocations: 0.9182 MB / 0.9 GB, free: 265.5 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.001389/1.345, allocations: 0.7032 MB / 0.9007 GB, free: 265.3 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.005168/1.35, allocations: 2.902 MB / 0.9036 GB, free: 264.1 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.35, allocations: 7.906 kB / 0.9036 GB, free: 264.1 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002482/1.353, allocations: 1.406 MB / 0.9049 GB, free: 263.7 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004655/1.358, allocations: 1.053 MB / 0.906 GB, free: 263.4 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008737/1.366, allocations: 5.408 MB / 0.9113 GB, free: 261 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001675/1.368, allocations: 1.754 MB / 0.913 GB, free: 260.1 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.003425/1.371, allocations: 0.7574 MB / 0.9137 GB, free: 260 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007474/1.372, allocations: 223.2 kB / 0.9139 GB, free: 259.9 MB / 0.7012 GB Notification: Performance of SimCode: time 1.483e-06/1.372, allocations: 0 / 0.9139 GB, free: 259.9 MB / 0.7012 GB Notification: Performance of Templates: time 0.06992/1.442, allocations: 50.72 MB / 0.9635 GB, free: 220.7 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)