Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D.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_D,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009108/0.0009108, allocations: 176.8 kB / 17.4 MB, free: 4.414 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.269/1.269, allocations: 205.4 MB / 223.5 MB, free: 8.934 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.0007704/0.0007704, allocations: 92.92 kB / 271.9 MB, free: 8.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3606/0.3606, allocations: 48.78 MB / 369 MB, free: 47.35 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003442, allocations: 12 kB / 439.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1036, allocations: 60.26 MB / 0.4884 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.85/4.953, allocations: 2.979 GB / 3.468 GB, free: 40.45 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/4.954, allocations: 84.52 kB / 3.468 GB, free: 40.37 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.045/5.998, allocations: 301.2 MB / 3.762 GB, free: 65.74 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.583e-06/5.998, allocations: 0 / 3.762 GB, free: 65.74 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.324e-05/5.999, allocations: 41.91 kB / 3.762 GB, free: 65.73 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.02385/6.022, allocations: 5.894 MB / 3.768 GB, free: 64.71 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/6.022, allocations: 9.062 kB / 3.768 GB, free: 64.71 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004595/6.027, allocations: 0.5504 MB / 3.768 GB, free: 64.62 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004906/6.032, allocations: 1.772 MB / 3.77 GB, free: 64.29 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002237/6.034, allocations: 1.066 MB / 3.771 GB, free: 64.03 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008658/6.035, allocations: 177.6 kB / 3.771 GB, free: 64.03 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02738/6.063, allocations: 12.43 MB / 3.784 GB, free: 63.64 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.846e-05/6.063, allocations: 0 / 3.784 GB, free: 63.64 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006045/6.063, allocations: 72.06 kB / 3.784 GB, free: 63.64 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.538e-05/6.063, allocations: 92.84 kB / 3.784 GB, free: 63.64 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04666/6.11, allocations: 20.93 MB / 3.804 GB, free: 63.21 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.04625/6.156, allocations: 33.68 MB / 3.837 GB, free: 43.59 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02181/6.178, allocations: 10.1 MB / 3.847 GB, free: 41 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01608/6.194, allocations: 7.995 MB / 3.855 GB, free: 37.15 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.344/6.538, allocations: 75.67 MB / 3.929 GB, free: 69.71 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.579e-05/6.538, allocations: 60.77 kB / 3.929 GB, free: 69.68 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=191): time 4.248e-06/6.538, allocations: 0 / 3.929 GB, free: 69.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=192): time 0.1065/6.645, allocations: 41.37 MB / 3.969 GB, free: 69.05 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/6.645, allocations: 73.25 kB / 3.969 GB, free: 68.98 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006498/6.646, allocations: 0.5011 MB / 3.97 GB, free: 68.86 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001627/6.647, allocations: 62.2 kB / 3.97 GB, free: 68.83 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002989/6.648, allocations: 0.5172 MB / 3.97 GB, free: 68.61 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00134/6.649, allocations: 0.655 MB / 3.971 GB, free: 68.28 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005505/6.649, allocations: 34.44 kB / 3.971 GB, free: 68.28 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001432/6.65, allocations: 420.7 kB / 3.971 GB, free: 67.96 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01668/6.666, allocations: 8.329 MB / 3.979 GB, free: 67.76 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01722/6.684, allocations: 8.571 MB / 3.988 GB, free: 67.37 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03243/6.716, allocations: 14.35 MB / 4.002 GB, free: 64.93 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.409e-05/6.716, allocations: 0 / 4.002 GB, free: 64.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.06726/6.783, allocations: 28.57 MB / 4.03 GB, free: 56.96 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001175/6.784, allocations: 200.7 kB / 4.03 GB, free: 56.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/6.784, allocations: 4 kB / 4.03 GB, free: 56.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1387/6.922, allocations: 57.56 MB / 4.086 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/6.924, allocations: 318.2 kB / 4.086 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2719/7.196, allocations: 24.24 MB / 4.11 GB, free: 77.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0104/7.206, allocations: 2.014 MB / 4.112 GB, free: 77.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001197/7.208, allocations: 317 kB / 4.112 GB, free: 77.79 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/7.208, allocations: 8.156 kB / 4.112 GB, free: 77.79 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06673/7.274, allocations: 28.4 MB / 4.14 GB, free: 77.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.385e-05/7.274, allocations: 2.938 kB / 4.14 GB, free: 77.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1439/7.418, allocations: 57.57 MB / 4.196 GB, free: 75.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001546/7.42, allocations: 312.3 kB / 4.197 GB, free: 75.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05507/7.475, allocations: 24.24 MB / 4.22 GB, free: 67.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01011/7.485, allocations: 2.011 MB / 4.222 GB, free: 65.74 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001427/7.487, allocations: 309.4 kB / 4.223 GB, free: 65.58 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.002253/7.489, allocations: 0.5639 MB / 4.223 GB, free: 65.08 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007805/7.49, allocations: 110.7 kB / 4.223 GB, free: 65.03 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05118/7.541, allocations: 34.67 MB / 4.257 GB, free: 36.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04809/7.589, allocations: 33.03 MB / 4.289 GB, free: 8.219 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.051e-05/7.589, allocations: 4 kB / 4.289 GB, free: 8.215 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.995e-05/7.589, allocations: 15.67 kB / 4.289 GB, free: 8.207 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3266/7.916, allocations: 54.31 MB / 4.342 GB, free: 72.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.259e-05/7.916, allocations: 5.375 kB / 4.342 GB, free: 72.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01253/7.928, allocations: 2.478 MB / 4.345 GB, free: 72.63 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004275/7.933, allocations: 1.146 MB / 4.346 GB, free: 72.62 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001896/7.935, allocations: 201.5 kB / 4.346 GB, free: 72.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009507/7.944, allocations: 6.074 MB / 4.352 GB, free: 71.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.784e-06/7.944, allocations: 4.719 kB / 4.352 GB, free: 71.04 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05876/8.003, allocations: 25.7 MB / 4.377 GB, free: 64.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003347/8.006, allocations: 1.225 MB / 4.378 GB, free: 63.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008326/8.007, allocations: 55.86 kB / 4.378 GB, free: 63.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00872/8.016, allocations: 1.972 MB / 4.38 GB, free: 63.85 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001072/8.017, allocations: 332.3 kB / 4.381 GB, free: 63.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006093/8.018, allocations: 200.9 kB / 4.381 GB, free: 63.81 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003822/8.018, allocations: 348.6 kB / 4.381 GB, free: 63.64 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/8.018, allocations: 0 / 4.381 GB, free: 63.64 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008179/8.026, allocations: 2.632 MB / 4.384 GB, free: 63.52 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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.005033/8.031, allocations: 1.307 MB / 4.385 GB, free: 63.38 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.05606/8.087, allocations: 27.43 MB / 4.412 GB, free: 56.74 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-05/8.087, allocations: 6.781 kB / 4.412 GB, free: 56.74 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01995/8.107, allocations: 9.479 MB / 4.421 GB, free: 53.98 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003857/8.111, allocations: 491.7 kB / 4.422 GB, free: 53.86 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02327/8.135, allocations: 13.26 MB / 4.434 GB, free: 43.94 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/8.136, allocations: 1.599 MB / 4.436 GB, free: 42.58 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005906/8.142, allocations: 2.43 MB / 4.438 GB, free: 40.99 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002883/8.144, allocations: 397.4 kB / 4.439 GB, free: 40.82 MB / 0.5261 GB Notification: Performance of SimCode: time 9.22e-07/8.144, allocations: 0 / 4.439 GB, free: 40.82 MB / 0.5261 GB Notification: Performance of Templates: time 0.5036/8.648, allocations: 254.3 MB / 4.687 GB, free: 3.301 MB / 0.5417 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D.pipe 2>&1)