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.629/1.629, allocations: 288.4 MB / 304.3 MB, free: 7.984 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.001118/0.001118, allocations: 177.5 kB / 373 MB, free: 10.14 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.618/1.618, allocations: 205.4 MB / 0.6317 GB, free: 9.906 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.000882/0.0008822, allocations: 96.56 kB / 0.7451 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003668, allocations: 12.59 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.199, allocations: 115.3 MB / 0.9807 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.939/1.138, allocations: 413.3 MB / 1.384 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/1.138, allocations: 103.3 kB / 1.384 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.542/3.681, allocations: 0.7913 GB / 2.176 GB, free: 141.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.904e-06/3.681, allocations: 0 / 2.176 GB, free: 141.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002015/3.681, allocations: 62.19 kB / 2.176 GB, free: 141.1 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.005309/3.686, allocations: 2.546 MB / 2.178 GB, free: 140.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/3.686, allocations: 13.22 kB / 2.178 GB, free: 140.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007457/3.687, allocations: 262 kB / 2.179 GB, free: 140.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04173/3.729, allocations: 22.79 MB / 2.201 GB, free: 139 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.837e-05/3.729, allocations: 109.8 kB / 2.201 GB, free: 139 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002422/3.729, allocations: 146.3 kB / 2.201 GB, free: 139 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002718/3.732, allocations: 1.49 MB / 2.203 GB, free: 138.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.561e-05/3.732, allocations: 6.219 kB / 2.203 GB, free: 138.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/3.732, allocations: 62.59 kB / 2.203 GB, free: 138.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.395e-05/3.732, allocations: 46.44 kB / 2.203 GB, free: 138.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00195/3.734, allocations: 1.109 MB / 2.204 GB, free: 138.7 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.006678/3.741, allocations: 7.536 MB / 2.211 GB, free: 134.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008781/3.742, allocations: 0.5099 MB / 2.212 GB, free: 134.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005578/3.742, allocations: 353.6 kB / 2.212 GB, free: 134.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006077/3.743, allocations: 1.166 MB / 2.213 GB, free: 133.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/3.743, allocations: 41.92 kB / 2.213 GB, free: 133.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=59): time 3.066e-06/3.743, allocations: 0 / 2.213 GB, free: 133.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=59): time 0.001945/3.745, allocations: 1.035 MB / 2.214 GB, free: 133.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/3.745, allocations: 64.09 kB / 2.214 GB, free: 133 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/3.747, allocations: 1.702 MB / 2.216 GB, free: 132.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.067e-05/3.747, allocations: 44.73 kB / 2.216 GB, free: 132.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005466/3.747, allocations: 0.9463 MB / 2.217 GB, free: 132.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/3.747, allocations: 210.5 kB / 2.217 GB, free: 132.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/3.747, allocations: 17.12 kB / 2.217 GB, free: 132.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.931e-05/3.747, allocations: 337.5 kB / 2.217 GB, free: 132.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005531/3.748, allocations: 307.8 kB / 2.218 GB, free: 132.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006902/3.749, allocations: 0.6875 MB / 2.218 GB, free: 131.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/3.75, allocations: 0.9864 MB / 2.219 GB, free: 131.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/3.75, allocations: 2.312 kB / 2.219 GB, free: 131.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001819/3.752, allocations: 1.13 MB / 2.22 GB, free: 131.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/3.752, allocations: 11.91 kB / 2.22 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/3.752, allocations: 7.594 kB / 2.22 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/3.752, allocations: 17.47 kB / 2.22 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006878/3.753, allocations: 226.7 kB / 2.221 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.944e-05/3.753, allocations: 23.91 kB / 2.221 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/3.754, allocations: 234 kB / 2.221 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.808e-05/3.754, allocations: 59.09 kB / 2.221 GB, free: 131.1 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.0006966/3.755, allocations: 428.3 kB / 2.221 GB, free: 130.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/3.755, allocations: 189.7 kB / 2.222 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001584/3.757, allocations: 0.9198 MB / 2.222 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/3.757, allocations: 11.34 kB / 2.222 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/3.757, allocations: 8.406 kB / 2.222 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001121/3.758, allocations: 0.8458 MB / 2.223 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003452/3.761, allocations: 2.503 MB / 2.226 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/3.761, allocations: 0 / 2.226 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006603/3.762, allocations: 181.3 kB / 2.226 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/3.762, allocations: 3.719 kB / 2.226 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.826e-05/3.762, allocations: 22.69 kB / 2.226 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/3.762, allocations: 6.125 kB / 2.226 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/3.762, allocations: 6.594 kB / 2.226 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002014/3.764, allocations: 1.439 MB / 2.227 GB, free: 129.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006324/3.765, allocations: 392.7 kB / 2.228 GB, free: 129.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002312/3.765, allocations: 17.89 kB / 2.228 GB, free: 129.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/3.766, allocations: 130.3 kB / 2.228 GB, free: 129.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/3.766, allocations: 48.72 kB / 2.228 GB, free: 129.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.804e-05/3.766, allocations: 37.05 kB / 2.228 GB, free: 129.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001372/3.768, allocations: 1.187 MB / 2.229 GB, free: 129.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.41e-07/3.768, allocations: 3.5 kB / 2.229 GB, free: 129.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001851/3.769, allocations: 0.6795 MB / 2.23 GB, free: 129.3 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.001296/3.771, allocations: 0.9417 MB / 2.231 GB, free: 129 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00147/3.772, allocations: 0.7933 MB / 2.231 GB, free: 129 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/3.772, allocations: 0 / 2.231 GB, free: 129 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000641/3.773, allocations: 395.3 kB / 2.232 GB, free: 129 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006324/3.779, allocations: 1.237 MB / 2.233 GB, free: 129 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004323/3.784, allocations: 3.696 MB / 2.237 GB, free: 127.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006838/3.784, allocations: 1.408 MB / 2.238 GB, free: 126.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001593/3.786, allocations: 380.5 kB / 2.238 GB, free: 126.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000287/3.786, allocations: 151.8 kB / 2.238 GB, free: 126.6 MB / 0.948 GB Notification: Performance of SimCode: time 7.01e-07/3.786, allocations: 0 / 2.238 GB, free: 126.6 MB / 0.948 GB Notification: Performance of Templates: time 0.05746/3.844, allocations: 44.36 MB / 2.282 GB, free: 124.4 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)