Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.514/2.514, allocations: 287.5 MB / 303.2 MB, free: 8.207 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.00138/0.001379, allocations: 189.5 kB / 371.8 MB, free: 10.76 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.014/2.014, allocations: 205.4 MB / 0.6305 GB, free: 10.53 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.0009172/0.000917, allocations: 82.38 kB / 0.7438 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005042/0.0005042, allocations: 12.5 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2091, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.283/1.492, allocations: 413.1 MB / 1.383 GB, free: 1.02 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003397/1.492, allocations: 98.77 kB / 1.383 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.689/6.181, allocations: 0.7913 GB / 2.174 GB, free: 141.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.595e-06/6.181, allocations: 0 / 2.174 GB, free: 141.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003421/6.181, allocations: 61.09 kB / 2.174 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.009537/6.191, allocations: 2.542 MB / 2.177 GB, free: 140.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/6.191, allocations: 11.55 kB / 2.177 GB, free: 140.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00163/6.193, allocations: 266.9 kB / 2.177 GB, free: 140.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0727/6.265, allocations: 22.79 MB / 2.199 GB, free: 139.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001626/6.266, allocations: 106.7 kB / 2.199 GB, free: 139.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005426/6.266, allocations: 145.7 kB / 2.199 GB, free: 139.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005198/6.271, allocations: 1.495 MB / 2.201 GB, free: 139.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.317e-05/6.271, allocations: 10.22 kB / 2.201 GB, free: 139.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002376/6.272, allocations: 56.91 kB / 2.201 GB, free: 139.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.388e-05/6.272, allocations: 36.69 kB / 2.201 GB, free: 139.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004692/6.276, allocations: 1.109 MB / 2.202 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.0144/6.291, allocations: 7.543 MB / 2.209 GB, free: 134.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/6.293, allocations: 0.5187 MB / 2.21 GB, free: 134.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/6.294, allocations: 355.4 kB / 2.21 GB, free: 134.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009498/6.295, allocations: 1.156 MB / 2.211 GB, free: 133.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.794e-05/6.295, allocations: 44.19 kB / 2.211 GB, free: 133.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=59): time 3.056e-06/6.295, allocations: 2.625 kB / 2.211 GB, free: 133.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=59): time 0.003886/6.299, allocations: 1.035 MB / 2.212 GB, free: 133.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/6.299, allocations: 62.28 kB / 2.213 GB, free: 133.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004023/6.303, allocations: 1.704 MB / 2.214 GB, free: 133.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002612/6.303, allocations: 46.45 kB / 2.214 GB, free: 133.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001061/6.304, allocations: 0.9394 MB / 2.215 GB, free: 132.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000364/6.305, allocations: 213.2 kB / 2.215 GB, free: 132.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.82e-05/6.305, allocations: 17.84 kB / 2.215 GB, free: 132.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.697e-05/6.305, allocations: 341.6 kB / 2.216 GB, free: 132.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/6.306, allocations: 307.3 kB / 2.216 GB, free: 132.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001414/6.307, allocations: 0.6865 MB / 2.217 GB, free: 132 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002531/6.31, allocations: 0.9784 MB / 2.218 GB, free: 131.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.68e-05/6.31, allocations: 3.031 kB / 2.218 GB, free: 131.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.003896/6.314, allocations: 1.139 MB / 2.219 GB, free: 131.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/6.314, allocations: 11.03 kB / 2.219 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/6.314, allocations: 6.906 kB / 2.219 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.465e-05/6.314, allocations: 20.92 kB / 2.219 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/6.316, allocations: 229.8 kB / 2.219 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.863e-05/6.316, allocations: 18.59 kB / 2.219 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002986/6.319, allocations: 241.1 kB / 2.219 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002339/6.319, allocations: 47.36 kB / 2.219 GB, free: 131.4 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.001307/6.32, allocations: 433.2 kB / 2.22 GB, free: 131.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006283/6.321, allocations: 192.7 kB / 2.22 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003016/6.324, allocations: 0.9285 MB / 2.221 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.982e-05/6.324, allocations: 11.06 kB / 2.221 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/6.324, allocations: 2.406 kB / 2.221 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002141/6.326, allocations: 0.8488 MB / 2.222 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006972/6.333, allocations: 2.498 MB / 2.224 GB, free: 130.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/6.333, allocations: 0 / 2.224 GB, free: 130.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001341/6.335, allocations: 184.2 kB / 2.224 GB, free: 130.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.345e-05/6.335, allocations: 6.375 kB / 2.224 GB, free: 130.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.03e-05/6.335, allocations: 18.28 kB / 2.224 GB, free: 130.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.166e-06/6.335, allocations: 3.938 kB / 2.224 GB, free: 130.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/6.335, allocations: 3.938 kB / 2.224 GB, free: 130.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004066/6.339, allocations: 1.438 MB / 2.226 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001408/6.34, allocations: 394.4 kB / 2.226 GB, free: 129.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004949/6.341, allocations: 15.59 kB / 2.226 GB, free: 129.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002373/6.343, allocations: 133.3 kB / 2.226 GB, free: 129.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001953/6.343, allocations: 50.97 kB / 2.226 GB, free: 129.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001241/6.344, allocations: 42.81 kB / 2.226 GB, free: 129.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002526/6.346, allocations: 1.182 MB / 2.227 GB, free: 129.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.21e-07/6.346, allocations: 0 / 2.227 GB, free: 129.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003173/6.349, allocations: 0.6776 MB / 2.228 GB, free: 129.6 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.002214/6.352, allocations: 0.9426 MB / 2.229 GB, free: 129.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00259/6.354, allocations: 0.7915 MB / 2.23 GB, free: 129.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.954e-06/6.354, allocations: 3.594 kB / 2.23 GB, free: 129.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001193/6.355, allocations: 382.6 kB / 2.23 GB, free: 129.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01199/6.367, allocations: 1.247 MB / 2.231 GB, free: 129.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007854/6.375, allocations: 3.696 MB / 2.235 GB, free: 127.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001155/6.377, allocations: 1.408 MB / 2.236 GB, free: 126.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002767/6.379, allocations: 384 kB / 2.237 GB, free: 126.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006207/6.38, allocations: 150.3 kB / 2.237 GB, free: 126.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.372e-06/6.38, allocations: 0 / 2.237 GB, free: 126.9 MB / 0.948 GB Notification: Performance of Templates: time 0.104/6.484, allocations: 43.72 MB / 2.28 GB, free: 124.8 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)