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.005654/0.005654, allocations: 104.5 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.001287/0.001287, allocations: 192.1 kB / 16.67 MB, free: 5.973 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.419/1.419, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.513/1.513, allocations: 251.7 MB / 0.5094 GB, free: 3.055 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.001456/0.001456, allocations: 71.89 kB / 0.7258 GB, free: 8.992 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2422, allocations: 104.7 MB / 0.8281 GB, free: 176 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07974/0.3219, allocations: 77.14 MB / 0.9034 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.5061/0.8281, allocations: 18.66 MB / 0.9216 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004641/0.8328, allocations: 107.7 kB / 0.9217 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003931/0.8368, allocations: 1.285 MB / 0.923 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01443/0.8512, allocations: 3.785 MB / 0.9267 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006693/0.8579, allocations: 2.044 MB / 0.9287 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01339/0.8714, allocations: 6.646 MB / 0.9351 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007091/0.8785, allocations: 2.074 MB / 0.9372 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01026/0.8888, allocations: 2.361 MB / 0.9395 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00542/0.8942, allocations: 1.769 MB / 0.9412 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001242/0.8955, allocations: 196.5 kB / 0.9414 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007621/0.9031, allocations: 1.62 MB / 0.943 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001318/0.9044, allocations: 0.5279 MB / 0.9435 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004067/0.9085, allocations: 1.231 MB / 0.9447 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01149/0.92, allocations: 3.709 MB / 0.9483 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.92, allocations: 0 / 0.9483 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.844e-06/0.9201, allocations: 0 / 0.9483 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.000152/0.9202, allocations: 0 / 0.9483 GB, free: 15.7 MB / 0.7325 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.009185/0.9294, allocations: 2.705 MB / 0.951 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.96e-05/0.9295, allocations: 9.875 kB / 0.951 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001489/0.931, allocations: 261.7 kB / 0.9512 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005069/0.9361, allocations: 1.978 MB / 0.9531 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.9362, allocations: 105.6 kB / 0.9532 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004455/0.9367, allocations: 147.3 kB / 0.9534 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003859/0.9406, allocations: 1.51 MB / 0.9549 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.753e-05/0.9406, allocations: 7.75 kB / 0.9549 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001546/0.9408, allocations: 58.38 kB / 0.9549 GB, free: 12 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.187e-05/0.9409, allocations: 40.38 kB / 0.955 GB, free: 12 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00284/0.9437, allocations: 1.117 MB / 0.9561 GB, free: 11.61 MB / 0.7325 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.01234/0.9561, allocations: 7.577 MB / 0.9635 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.9574, allocations: 487.3 kB / 0.9639 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007039/0.9581, allocations: 330.8 kB / 0.9642 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00161/0.9597, allocations: 1.152 MB / 0.9654 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.549e-05/0.9598, allocations: 41.38 kB / 0.9654 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=59): time 3.376e-06/0.9598, allocations: 0 / 0.9654 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=59): time 0.003118/0.9629, allocations: 0.9613 MB / 0.9663 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.963, allocations: 57.81 kB / 0.9664 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003602/0.9666, allocations: 1.763 MB / 0.9681 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001307/0.9667, allocations: 43.08 kB / 0.9682 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001018/0.9678, allocations: 0.9271 MB / 0.9691 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002743/0.9681, allocations: 221.2 kB / 0.9693 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004398/0.9685, allocations: 226 kB / 0.9695 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.9687, allocations: 347.9 kB / 0.9698 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007273/0.9694, allocations: 329.5 kB / 0.9701 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.9704, allocations: 0.6894 MB / 0.9708 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001705/0.9722, allocations: 1.011 MB / 0.9718 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.379e-05/0.9722, allocations: 2.781 kB / 0.9718 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002785/0.975, allocations: 1.218 MB / 0.973 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.975, allocations: 11.81 kB / 0.973 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/0.975, allocations: 8.438 kB / 0.973 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.298e-05/0.9751, allocations: 16.97 kB / 0.973 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.9761, allocations: 292.1 kB / 0.9733 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.383e-05/0.9761, allocations: 24.11 kB / 0.9733 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/0.9778, allocations: 157.5 kB / 0.9735 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.9779, allocations: 51.83 kB / 0.9735 GB, free: 15.08 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007597/0.9787, allocations: 442.1 kB / 0.9739 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005199/0.9792, allocations: 190.5 kB / 0.9741 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001856/0.9811, allocations: 0.862 MB / 0.975 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.058e-05/0.9811, allocations: 13.39 kB / 0.975 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.9811, allocations: 4 kB / 0.975 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001314/0.9824, allocations: 0.7986 MB / 0.9758 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004761/0.9872, allocations: 2.423 MB / 0.9781 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.9872, allocations: 3.375 kB / 0.9781 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007808/0.988, allocations: 193.1 kB / 0.9783 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.255e-05/0.988, allocations: 5.375 kB / 0.9783 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.483e-05/0.9881, allocations: 21.67 kB / 0.9783 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.9881, allocations: 2.281 kB / 0.9783 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.9881, allocations: 2.5 kB / 0.9783 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002448/0.9906, allocations: 1.333 MB / 0.9796 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008979/0.9915, allocations: 361.3 kB / 0.98 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005767/0.9921, allocations: 21.42 kB / 0.98 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/0.9933, allocations: 57.25 kB / 0.9801 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/0.9935, allocations: 52.12 kB / 0.9801 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.102e-05/0.9936, allocations: 37.19 kB / 0.9802 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002214/0.9958, allocations: 1.227 MB / 0.9814 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.11e-07/0.9958, allocations: 2.656 kB / 0.9814 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002398/0.9982, allocations: 0.6539 MB / 0.982 GB, free: 9.852 MB / 0.7481 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 (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.001604/0.9998, allocations: 0.6046 MB / 0.9826 GB, free: 9.57 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001808/1.002, allocations: 0.8089 MB / 0.9834 GB, free: 9.227 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.812e-06/1.002, allocations: 3.344 kB / 0.9834 GB, free: 9.227 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007309/1.002, allocations: 357.3 kB / 0.9837 GB, free: 9.066 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005931/1.008, allocations: 1.201 MB / 0.9849 GB, free: 8.438 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006163/1.015, allocations: 3.054 MB / 0.9879 GB, free: 6.234 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001422/1.016, allocations: 1.402 MB / 0.9892 GB, free: 4.801 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001837/1.018, allocations: 368.1 kB / 0.9896 GB, free: 4.445 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004484/1.018, allocations: 155.3 kB / 0.9897 GB, free: 4.293 MB / 0.7481 GB Notification: Performance of SimCode: time 7.01e-07/1.018, allocations: 0 / 0.9897 GB, free: 4.293 MB / 0.7481 GB Notification: Performance of Templates: time 0.07249/1.091, allocations: 41.79 MB / 1.031 GB, free: 11.14 MB / 0.795 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (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)