Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001352/0.001352, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.539/1.539, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.585/1.585, allocations: 251.9 MB / 0.51 GB, free: 4.859 MB / 414.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: Performance of FrontEnd - loaded program: time 0.0005672/0.0005675, allocations: 19.59 kB / 0.6241 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5771/0.5776, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06626/0.644, allocations: 64.43 MB / 0.7909 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02881/0.6728, allocations: 16.03 MB / 0.8065 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004514/0.6774, allocations: 87.38 kB / 0.8066 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004921/0.6824, allocations: 1.178 MB / 0.8078 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01463/0.697, allocations: 3.45 MB / 0.8112 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.007925/0.705, allocations: 2.172 MB / 0.8133 GB, free: 3.922 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.009943/0.7149, allocations: 3.832 MB / 0.817 GB, free: 84 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003065/0.718, allocations: 1.455 MB / 0.8184 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005037/0.7231, allocations: 1.631 MB / 0.82 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0029/0.726, allocations: 1.077 MB / 0.8211 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003632/0.7264, allocations: 72 kB / 0.8211 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004729/0.7311, allocations: 1.018 MB / 0.8221 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005286/0.7317, allocations: 366.5 kB / 0.8225 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00106/0.7327, allocations: 492.5 kB / 0.823 GB, free: 9.949 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004819/0.7376, allocations: 2.618 MB / 0.8255 GB, free: 7.324 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.7376, allocations: 0 / 0.8255 GB, free: 7.324 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.655e-06/0.7376, allocations: 0 / 0.8255 GB, free: 7.324 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001046/0.7377, allocations: 4 kB / 0.8255 GB, free: 7.32 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.005871/0.7436, allocations: 2.306 MB / 0.8278 GB, free: 4.949 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.7437, allocations: 8.031 kB / 0.8278 GB, free: 4.941 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007681/0.7445, allocations: 261.1 kB / 0.828 GB, free: 4.684 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003579/0.748, allocations: 1.747 MB / 0.8297 GB, free: 2.887 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002017/0.7483, allocations: 102.7 kB / 0.8298 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001973/0.7485, allocations: 151.9 kB / 0.83 GB, free: 2.637 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00299/0.7515, allocations: 1.505 MB / 0.8315 GB, free: 1.055 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.596e-05/0.7515, allocations: 4 kB / 0.8315 GB, free: 1.051 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001291/0.7516, allocations: 52 kB / 0.8315 GB, free: 1 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-05/0.7517, allocations: 55.88 kB / 0.8316 GB, free: 0.9453 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002665/0.7544, allocations: 1.154 MB / 0.8327 GB, free: 15.79 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.01097/0.7654, allocations: 7.614 MB / 0.8401 GB, free: 7.594 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.7665, allocations: 0.4894 MB / 0.8406 GB, free: 7.098 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009585/0.7674, allocations: 1.152 MB / 0.8417 GB, free: 5.688 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.7675, allocations: 39.12 kB / 0.8418 GB, free: 5.641 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=59): time 2.976e-06/0.7675, allocations: 0 / 0.8418 GB, free: 5.641 MB / 0.6544 GB Notification: Performance of matching and sorting (n=59): time 0.002379/0.7699, allocations: 1.024 MB / 0.8428 GB, free: 4.613 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.7699, allocations: 55.97 kB / 0.8428 GB, free: 4.547 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002395/0.7723, allocations: 1.805 MB / 0.8446 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.7725, allocations: 45.7 kB / 0.8446 GB, free: 2.652 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008381/0.7733, allocations: 0.9276 MB / 0.8455 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000245/0.7736, allocations: 224.9 kB / 0.8457 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.7736, allocations: 20 kB / 0.8458 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002216/0.7738, allocations: 349.9 kB / 0.8461 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007045/0.7745, allocations: 354.4 kB / 0.8464 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009919/0.7755, allocations: 0.6978 MB / 0.8471 GB, free: 15.92 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008377/0.7764, allocations: 466.8 kB / 0.8476 GB, free: 15.46 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/0.7764, allocations: 7.953 kB / 0.8476 GB, free: 15.46 MB / 0.67 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002378/0.7788, allocations: 1.245 MB / 0.8488 GB, free: 14.21 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.7788, allocations: 8 kB / 0.8488 GB, free: 14.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.7789, allocations: 16.06 kB / 0.8488 GB, free: 14.18 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.534e-05/0.7789, allocations: 16 kB / 0.8488 GB, free: 14.17 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.78, allocations: 327.5 kB / 0.8491 GB, free: 13.85 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.121e-05/0.78, allocations: 15.94 kB / 0.8491 GB, free: 13.83 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/0.7817, allocations: 254.3 kB / 0.8494 GB, free: 13.58 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.514e-05/0.7818, allocations: 55.98 kB / 0.8494 GB, free: 13.53 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008344/0.7827, allocations: 429.4 kB / 0.8499 GB, free: 13.1 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002676/0.7829, allocations: 193.7 kB / 0.85 GB, free: 12.91 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001789/0.7847, allocations: 0.9077 MB / 0.8509 GB, free: 11.99 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/0.7848, allocations: 8 kB / 0.8509 GB, free: 11.98 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.7848, allocations: 0 / 0.8509 GB, free: 11.98 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001368/0.7862, allocations: 0.8308 MB / 0.8517 GB, free: 11.1 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004433/0.7906, allocations: 2.501 MB / 0.8542 GB, free: 8.504 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.7906, allocations: 4 kB / 0.8542 GB, free: 8.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007788/0.7914, allocations: 212 kB / 0.8544 GB, free: 8.293 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/0.7914, allocations: 4 kB / 0.8544 GB, free: 8.289 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.057e-05/0.7915, allocations: 16 kB / 0.8544 GB, free: 8.273 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.258e-06/0.7915, allocations: 11.88 kB / 0.8544 GB, free: 8.262 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.7915, allocations: 3.953 kB / 0.8544 GB, free: 8.258 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00249/0.794, allocations: 1.543 MB / 0.8559 GB, free: 6.613 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000935/0.7949, allocations: 422.2 kB / 0.8563 GB, free: 6.18 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002111/0.7952, allocations: 16 kB / 0.8563 GB, free: 6.164 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/0.7963, allocations: 123.6 kB / 0.8565 GB, free: 6.047 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.7964, allocations: 48.5 kB / 0.8565 GB, free: 6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.789e-05/0.7965, allocations: 35.97 kB / 0.8565 GB, free: 5.965 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001835/0.7983, allocations: 1.258 MB / 0.8578 GB, free: 4.688 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7983, allocations: 0 / 0.8578 GB, free: 4.688 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0019/0.8003, allocations: 0.659 MB / 0.8584 GB, free: 4.027 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001155/0.8014, allocations: 0.6089 MB / 0.859 GB, free: 3.422 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001895/0.8033, allocations: 0.8469 MB / 0.8598 GB, free: 2.578 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.8033, allocations: 4 kB / 0.8598 GB, free: 2.574 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007258/0.8041, allocations: 372.4 kB / 0.8602 GB, free: 2.211 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006367/0.8105, allocations: 1.196 MB / 0.8614 GB, free: 1.031 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006825/0.8173, allocations: 3.672 MB / 0.865 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001364/0.8187, allocations: 1.444 MB / 0.8664 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002026/0.8208, allocations: 378.1 kB / 0.8667 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004825/0.8213, allocations: 143.4 kB / 0.8669 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of SimCode: time 1.313e-06/0.8213, allocations: 0 / 0.8669 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of Templates: time 0.07163/0.8929, allocations: 39.82 MB / 0.9058 GB, free: 4.047 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) Environment - environmentSimulation: