Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) 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) Running command: translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001427/0.001427, allocations: 175.7 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.815/1.815, allocations: 205.4 MB / 223.5 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008378/0.0008379, allocations: 96.64 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.523/0.523, allocations: 48.77 MB / 369 MB, free: 47.38 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 0.0003888/0.0003889, allocations: 16 kB / 439.9 MB, free: 10.69 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1341, allocations: 60.25 MB / 0.4884 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.351/6.485, allocations: 2.98 GB / 3.468 GB, free: 40.47 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001914/6.485, allocations: 85.28 kB / 3.468 GB, free: 40.39 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.128/7.613, allocations: 301.2 MB / 3.762 GB, free: 65.97 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.613e-06/7.613, allocations: 0 / 3.762 GB, free: 65.97 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.353e-05/7.613, allocations: 37.69 kB / 3.762 GB, free: 65.96 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 451 * Number of variables: 451 Notification: Performance of Generate backend data structure: time 0.02353/7.636, allocations: 5.873 MB / 3.768 GB, free: 64.94 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/7.636, allocations: 7.938 kB / 3.768 GB, free: 64.94 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005242/7.642, allocations: 0.5487 MB / 3.769 GB, free: 64.85 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00596/7.648, allocations: 1.779 MB / 3.77 GB, free: 64.52 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002694/7.65, allocations: 1.062 MB / 3.771 GB, free: 64.26 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00122/7.652, allocations: 179.6 kB / 3.771 GB, free: 64.26 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02825/7.68, allocations: 12.41 MB / 3.784 GB, free: 63.86 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.98e-05/7.68, allocations: 3.375 kB / 3.784 GB, free: 63.86 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006335/7.681, allocations: 77.69 kB / 3.784 GB, free: 63.86 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.932e-05/7.681, allocations: 84.36 kB / 3.784 GB, free: 63.86 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04621/7.727, allocations: 20.9 MB / 3.804 GB, free: 63.44 MB / 0.5105 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.0458/7.773, allocations: 33.67 MB / 3.837 GB, free: 43.78 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0225/7.795, allocations: 10.09 MB / 3.847 GB, free: 41.14 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01607/7.811, allocations: 7.988 MB / 3.855 GB, free: 37.31 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3657/8.177, allocations: 75.64 MB / 3.929 GB, free: 69.95 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.644e-05/8.177, allocations: 53.25 kB / 3.929 GB, free: 69.91 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=191): time 5.07e-06/8.177, allocations: 0 / 3.929 GB, free: 69.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=192): time 0.1133/8.291, allocations: 41.16 MB / 3.969 GB, free: 69.29 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/8.291, allocations: 73.19 kB / 3.969 GB, free: 69.23 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007107/8.291, allocations: 0.5049 MB / 3.969 GB, free: 69.11 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001818/8.293, allocations: 66.36 kB / 3.969 GB, free: 69.07 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003323/8.293, allocations: 0.5118 MB / 3.97 GB, free: 68.86 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001814/8.295, allocations: 0.6622 MB / 3.971 GB, free: 68.52 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006051/8.296, allocations: 38.84 kB / 3.971 GB, free: 68.52 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001468/8.296, allocations: 414 kB / 3.971 GB, free: 68.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01609/8.312, allocations: 8.294 MB / 3.979 GB, free: 68 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01729/8.33, allocations: 8.538 MB / 3.987 GB, free: 67.62 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0313/8.361, allocations: 14.3 MB / 4.001 GB, free: 65.12 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/8.361, allocations: 0 / 4.001 GB, free: 65.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.0615/8.422, allocations: 28.52 MB / 4.029 GB, free: 57.31 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001071/8.423, allocations: 191.7 kB / 4.029 GB, free: 57.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/8.423, allocations: 7.562 kB / 4.029 GB, free: 57.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1368/8.559, allocations: 57.56 MB / 4.086 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/8.561, allocations: 309.2 kB / 4.086 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2809/8.842, allocations: 24.8 MB / 4.11 GB, free: 78.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01062/8.852, allocations: 2.005 MB / 4.112 GB, free: 78.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002075/8.855, allocations: 310.3 kB / 4.112 GB, free: 78.69 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/8.855, allocations: 4.875 kB / 4.112 GB, free: 78.69 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06629/8.921, allocations: 28.34 MB / 4.14 GB, free: 78.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.222e-05/8.921, allocations: 3.562 kB / 4.14 GB, free: 78.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1412/9.062, allocations: 57.57 MB / 4.196 GB, free: 76.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/9.064, allocations: 298.1 kB / 4.197 GB, free: 76.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0543/9.118, allocations: 24.24 MB / 4.22 GB, free: 68.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009817/9.128, allocations: 2.001 MB / 4.222 GB, free: 67.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001653/9.129, allocations: 308.1 kB / 4.223 GB, free: 67.38 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 10 (hex.fluidState[10].phase,hex.fluidState[9].phase,hex.fluidState[8].phase,hex.fluidState[7].phase,hex.fluidState[6].phase,hex.fluidState[5].phase,hex.fluidState[4].phase,hex.fluidState[3].phase,hex.fluidState[2].phase,hex.fluidState[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 119 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 89} Notification: Performance of prepare postOptimizeDAE: time 0.002374/9.132, allocations: 0.5596 MB / 4.223 GB, free: 66.99 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008137/9.133, allocations: 108.8 kB / 4.223 GB, free: 66.93 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05317/9.186, allocations: 34.61 MB / 4.257 GB, free: 38.25 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05019/9.236, allocations: 32.97 MB / 4.289 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.318e-05/9.236, allocations: 8 kB / 4.289 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.939e-05/9.236, allocations: 15.05 kB / 4.289 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3105/9.547, allocations: 54.26 MB / 4.342 GB, free: 90.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.981e-05/9.547, allocations: 7.938 kB / 4.342 GB, free: 90.15 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01207/9.559, allocations: 2.46 MB / 4.345 GB, free: 90.15 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004104/9.563, allocations: 1.141 MB / 4.346 GB, free: 90.14 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00152/9.564, allocations: 200.6 kB / 4.346 GB, free: 90.14 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009607/9.574, allocations: 6.06 MB / 4.352 GB, free: 88.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.528e-06/9.574, allocations: 10.53 kB / 4.352 GB, free: 88.88 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06005/9.634, allocations: 25.61 MB / 4.377 GB, free: 82.43 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004108/9.638, allocations: 1.224 MB / 4.378 GB, free: 81.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002241/9.641, allocations: 56.8 kB / 4.378 GB, free: 81.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01042/9.651, allocations: 1.962 MB / 4.38 GB, free: 81.88 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002165/9.653, allocations: 329.4 kB / 4.38 GB, free: 81.86 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001939/9.655, allocations: 196.8 kB / 4.381 GB, free: 81.84 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0006394/9.656, allocations: 357.6 kB / 4.381 GB, free: 81.68 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.51e-07/9.656, allocations: 0 / 4.381 GB, free: 81.68 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0148/9.671, allocations: 2.622 MB / 4.383 GB, free: 81.55 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 11 (Mbal,hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4],hex.htilde[5],hex.htilde[6],hex.htilde[7],hex.htilde[8],hex.htilde[9]) * Number of discrete variables: 22 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.region3boundary,$cse13.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,64.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008929/9.68, allocations: 1.31 MB / 4.385 GB, free: 81.41 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.06429/9.744, allocations: 27.35 MB / 4.411 GB, free: 74.77 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/9.744, allocations: 0 / 4.411 GB, free: 74.77 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.02106/9.765, allocations: 9.447 MB / 4.421 GB, free: 72.03 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005729/9.771, allocations: 0.4934 MB / 4.421 GB, free: 71.9 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02642/9.797, allocations: 13.25 MB / 4.434 GB, free: 62.65 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00116/9.798, allocations: 1.607 MB / 4.436 GB, free: 61.28 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006886/9.805, allocations: 2.429 MB / 4.438 GB, free: 59.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004276/9.81, allocations: 394.7 kB / 4.438 GB, free: 59.52 MB / 0.5417 GB Notification: Performance of SimCode: time 8.21e-07/9.81, allocations: 0 / 4.438 GB, free: 59.52 MB / 0.5417 GB Notification: Performance of Templates: time 0.4767/10.29, allocations: 254.1 MB / 4.687 GB, free: 6.434 MB / 0.5417 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.pipe 2>&1)