Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.704/1.704, allocations: 292.3 MB / 308.1 MB, free: 4.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001669/0.001668, allocations: 184.5 kB / 376.9 MB, free: 1.832 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205.1 MB / 0.6354 GB, free: 9.82 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009869/0.0009871, allocations: 101.9 kB / 0.748 GB, free: 61.26 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00103/0.00103, allocations: 56.14 kB / 0.8704 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2555, allocations: 114.5 MB / 0.9822 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.6227/0.8782, allocations: 76.64 MB / 1.057 GB, free: 59.31 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.02974/0.908, allocations: 18.81 MB / 1.075 GB, free: 48.88 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006158/0.9142, allocations: 95.56 kB / 1.076 GB, free: 48.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.004548/0.9188, allocations: 1.034 MB / 1.077 GB, free: 48.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0119/0.9308, allocations: 3.345 MB / 1.08 GB, free: 46.26 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.006267/0.9371, allocations: 1.913 MB / 1.082 GB, free: 45.14 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01269/0.9498, allocations: 8.91 MB / 1.09 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004081/0.9539, allocations: 1.728 MB / 1.092 GB, free: 41.13 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005405/0.9593, allocations: 1.967 MB / 1.094 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004108/0.9635, allocations: 1.77 MB / 1.096 GB, free: 39.54 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0008635/0.9644, allocations: 100.4 kB / 1.096 GB, free: 39.54 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005727/0.9701, allocations: 1.465 MB / 1.097 GB, free: 38.96 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001018/0.9711, allocations: 456.8 kB / 1.098 GB, free: 38.73 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.003224/0.9744, allocations: 1.145 MB / 1.099 GB, free: 38.08 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.008373/0.9828, allocations: 3.636 MB / 1.102 GB, free: 36.73 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.9828, allocations: 0 / 1.102 GB, free: 36.73 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9828, allocations: 0 / 1.102 GB, free: 36.73 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.000173/0.983, allocations: 0 / 1.102 GB, free: 36.73 MB / 0.7448 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.006395/0.9894, allocations: 2.708 MB / 1.105 GB, free: 35.02 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.9895, allocations: 13.22 kB / 1.105 GB, free: 35.02 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007083/0.9902, allocations: 269.5 kB / 1.105 GB, free: 34.89 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002888/0.9931, allocations: 1.938 MB / 1.107 GB, free: 33.79 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.703e-05/0.9932, allocations: 112.6 kB / 1.107 GB, free: 33.74 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.9934, allocations: 146.5 kB / 1.107 GB, free: 33.69 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002371/0.9957, allocations: 1.516 MB / 1.109 GB, free: 32.98 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.195e-05/0.9958, allocations: 0 / 1.109 GB, free: 32.98 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.9959, allocations: 59.62 kB / 1.109 GB, free: 32.94 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.402e-05/0.9959, allocations: 38.72 kB / 1.109 GB, free: 32.93 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/0.998, allocations: 1.129 MB / 1.11 GB, free: 32.54 MB / 0.7448 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.006845/1.005, allocations: 7.573 MB / 1.117 GB, free: 26.75 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008591/1.006, allocations: 486.1 kB / 1.118 GB, free: 26.57 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005508/1.006, allocations: 329.8 kB / 1.118 GB, free: 26.47 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005964/1.007, allocations: 1.156 MB / 1.119 GB, free: 25.14 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/1.007, allocations: 38.31 kB / 1.119 GB, free: 25.09 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=59): time 3.486e-06/1.007, allocations: 0 / 1.119 GB, free: 25.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=59): time 0.002088/1.009, allocations: 0.9623 MB / 1.12 GB, free: 24.74 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/1.009, allocations: 66.19 kB / 1.12 GB, free: 24.67 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001931/1.011, allocations: 1.737 MB / 1.122 GB, free: 23.97 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.052e-05/1.011, allocations: 44.3 kB / 1.122 GB, free: 23.93 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005617/1.012, allocations: 0.9214 MB / 1.123 GB, free: 23.2 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/1.012, allocations: 224.6 kB / 1.123 GB, free: 23.03 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002862/1.012, allocations: 231.2 kB / 1.123 GB, free: 22.91 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001038/1.012, allocations: 346.2 kB / 1.124 GB, free: 22.59 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006623/1.013, allocations: 331.7 kB / 1.124 GB, free: 22.49 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008479/1.014, allocations: 0.6951 MB / 1.125 GB, free: 21.93 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/1.015, allocations: 1.006 MB / 1.126 GB, free: 21.25 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/1.015, allocations: 3.031 kB / 1.126 GB, free: 21.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002179/1.017, allocations: 1.215 MB / 1.127 GB, free: 20.75 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/1.017, allocations: 9.312 kB / 1.127 GB, free: 20.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/1.017, allocations: 12.59 kB / 1.127 GB, free: 20.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.205e-05/1.017, allocations: 16.09 kB / 1.127 GB, free: 20.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009492/1.018, allocations: 295.1 kB / 1.127 GB, free: 20.72 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.707e-05/1.018, allocations: 23.67 kB / 1.127 GB, free: 20.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/1.02, allocations: 233.3 kB / 1.128 GB, free: 20.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.322e-05/1.02, allocations: 51.98 kB / 1.128 GB, free: 20.61 MB / 0.7448 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.0007534/1.021, allocations: 439.4 kB / 1.128 GB, free: 20.31 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002798/1.021, allocations: 192.2 kB / 1.128 GB, free: 20.21 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001584/1.023, allocations: 0.87 MB / 1.129 GB, free: 19.87 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/1.023, allocations: 9.625 kB / 1.129 GB, free: 19.87 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.023, allocations: 3.938 kB / 1.129 GB, free: 19.87 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001167/1.024, allocations: 0.7914 MB / 1.13 GB, free: 19.43 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003715/1.028, allocations: 2.427 MB / 1.132 GB, free: 18.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/1.028, allocations: 3.812 kB / 1.132 GB, free: 18.26 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000723/1.029, allocations: 180.2 kB / 1.132 GB, free: 18.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.605e-06/1.029, allocations: 7.656 kB / 1.132 GB, free: 18.24 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/1.029, allocations: 18.75 kB / 1.132 GB, free: 18.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.694e-06/1.029, allocations: 10.11 kB / 1.132 GB, free: 18.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.029, allocations: 3.938 kB / 1.132 GB, free: 18.23 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009319/1.038, allocations: 6.137 MB / 1.138 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000537/1.039, allocations: 368.9 kB / 1.139 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001652/1.039, allocations: 14.25 kB / 1.139 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/1.04, allocations: 114.9 kB / 1.139 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/1.04, allocations: 46.75 kB / 1.139 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.4e-05/1.04, allocations: 33.67 kB / 1.139 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001438/1.041, allocations: 1.214 MB / 1.14 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/1.041, allocations: 4 kB / 1.14 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002376/1.044, allocations: 0.9005 MB / 1.141 GB, free: 13.88 MB / 0.7448 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.001025/1.045, allocations: 0.5842 MB / 1.142 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001565/1.046, allocations: 0.8136 MB / 1.142 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.046, allocations: 4.062 kB / 1.142 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0006275/1.047, allocations: 356.3 kB / 1.143 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005478/1.053, allocations: 1.195 MB / 1.144 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004821/1.057, allocations: 4.142 MB / 1.148 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000721/1.058, allocations: 1.419 MB / 1.149 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001637/1.06, allocations: 391.9 kB / 1.15 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003184/1.06, allocations: 148.9 kB / 1.15 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/1.06, allocations: 0 / 1.15 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of Templates: time 0.08372/1.144, allocations: 41.75 MB / 1.191 GB, free: 13.39 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)