Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.732/1.732, allocations: 288.3 MB / 303.2 MB, free: 8.188 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.001124/0.001124, allocations: 183.2 kB / 371.8 MB, free: 10.28 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.734/1.734, allocations: 205.4 MB / 0.6306 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009385/0.0009387, allocations: 98.84 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004197/0.0004197, allocations: 11.91 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2409, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.097/1.338, allocations: 413.3 MB / 1.383 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/1.338, allocations: 100.3 kB / 1.383 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.509/4.848, allocations: 0.7961 GB / 2.179 GB, free: 141.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.785e-06/4.848, allocations: 0 / 2.179 GB, free: 141.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000217/4.848, allocations: 59.72 kB / 2.179 GB, free: 141.4 MB / 0.948 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.00675/4.855, allocations: 2.568 MB / 2.182 GB, free: 140.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/4.855, allocations: 11.53 kB / 2.182 GB, free: 140.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/4.856, allocations: 265.4 kB / 2.182 GB, free: 140.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05413/4.91, allocations: 24.34 MB / 2.206 GB, free: 139.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/4.91, allocations: 109.3 kB / 2.206 GB, free: 139.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002445/4.91, allocations: 145.4 kB / 2.206 GB, free: 139.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002983/4.913, allocations: 1.476 MB / 2.207 GB, free: 139.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.05e-05/4.913, allocations: 9.875 kB / 2.207 GB, free: 139.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/4.914, allocations: 60.45 kB / 2.208 GB, free: 139.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.777e-05/4.914, allocations: 42.23 kB / 2.208 GB, free: 139.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/4.916, allocations: 1.105 MB / 2.209 GB, free: 139.1 MB / 0.948 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.008847/4.925, allocations: 7.564 MB / 2.216 GB, free: 134.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009528/4.925, allocations: 0.5138 MB / 2.217 GB, free: 134.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007334/4.926, allocations: 1.161 MB / 2.218 GB, free: 133.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/4.926, allocations: 41.72 kB / 2.218 GB, free: 133.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=59): time 3.226e-06/4.926, allocations: 2.719 kB / 2.218 GB, free: 133.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=59): time 0.002325/4.929, allocations: 1.038 MB / 2.219 GB, free: 133.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/4.929, allocations: 55.66 kB / 2.219 GB, free: 133.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001885/4.931, allocations: 1.535 MB / 2.22 GB, free: 133.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001022/4.931, allocations: 41.8 kB / 2.22 GB, free: 133.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006664/4.931, allocations: 0.9402 MB / 2.221 GB, free: 132.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/4.932, allocations: 210.9 kB / 2.221 GB, free: 132.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/4.932, allocations: 19.25 kB / 2.221 GB, free: 132.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.929e-05/4.932, allocations: 340.7 kB / 2.222 GB, free: 132.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006073/4.932, allocations: 311.5 kB / 2.222 GB, free: 132.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008082/4.933, allocations: 0.6765 MB / 2.223 GB, free: 132 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007374/4.934, allocations: 426.1 kB / 2.223 GB, free: 131.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/4.934, allocations: 1.938 kB / 2.223 GB, free: 131.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002156/4.936, allocations: 1.13 MB / 2.224 GB, free: 131.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/4.936, allocations: 10.88 kB / 2.224 GB, free: 131.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/4.936, allocations: 10.03 kB / 2.224 GB, free: 131.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.598e-05/4.936, allocations: 21.23 kB / 2.224 GB, free: 131.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007198/4.937, allocations: 225.1 kB / 2.225 GB, free: 131.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.67e-05/4.937, allocations: 26.61 kB / 2.225 GB, free: 131.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002023/4.939, allocations: 232.1 kB / 2.225 GB, free: 131.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/4.939, allocations: 55.33 kB / 2.225 GB, free: 131.7 MB / 0.948 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 (111): * Single equations (assignments): 111 * 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.001329/4.94, allocations: 437.9 kB / 2.225 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003893/4.941, allocations: 192.5 kB / 2.225 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001932/4.943, allocations: 0.9259 MB / 2.226 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/4.943, allocations: 7.188 kB / 2.226 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/4.943, allocations: 3.953 kB / 2.226 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001249/4.944, allocations: 0.8565 MB / 2.227 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005083/4.949, allocations: 2.508 MB / 2.23 GB, free: 130.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/4.949, allocations: 0 / 2.23 GB, free: 130.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006868/4.95, allocations: 180.7 kB / 2.23 GB, free: 130.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.218e-06/4.95, allocations: 6.062 kB / 2.23 GB, free: 130.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.302e-05/4.95, allocations: 18.89 kB / 2.23 GB, free: 130.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/4.95, allocations: 3.875 kB / 2.23 GB, free: 130.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/4.95, allocations: 8.938 kB / 2.23 GB, free: 130.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002348/4.952, allocations: 1.588 MB / 2.231 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/4.953, allocations: 398.6 kB / 2.232 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002356/4.954, allocations: 15.94 kB / 2.232 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/4.955, allocations: 131.2 kB / 2.232 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/4.955, allocations: 52.78 kB / 2.232 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.631e-05/4.955, allocations: 36.25 kB / 2.232 GB, free: 130 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001815/4.957, allocations: 1.215 MB / 2.233 GB, free: 129.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.01e-07/4.957, allocations: 4.906 kB / 2.233 GB, free: 129.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002454/4.959, allocations: 0.6943 MB / 2.234 GB, free: 129.7 MB / 0.948 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.001636/4.961, allocations: 0.9579 MB / 2.235 GB, free: 129.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001566/4.963, allocations: 0.7972 MB / 2.236 GB, free: 129.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/4.963, allocations: 3.562 kB / 2.236 GB, free: 129.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006251/4.963, allocations: 386.9 kB / 2.236 GB, free: 129.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006156/4.969, allocations: 1.235 MB / 2.237 GB, free: 129.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005351/4.975, allocations: 3.698 MB / 2.241 GB, free: 127.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008503/4.976, allocations: 1.444 MB / 2.242 GB, free: 127.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00209/4.978, allocations: 381.6 kB / 2.243 GB, free: 127 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003597/4.978, allocations: 149.4 kB / 2.243 GB, free: 127 MB / 0.948 GB Notification: Performance of SimCode: time 8.42e-07/4.978, allocations: 2.5 kB / 2.243 GB, free: 127 MB / 0.948 GB Notification: Performance of Templates: time 0.07277/5.051, allocations: 43.73 MB / 2.285 GB, free: 124.8 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)