Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.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_A,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001406/0.001406, allocations: 180.2 kB / 16.38 MB, free: 5.766 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.905/1.905, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001283/0.001283, allocations: 89.53 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5441/0.5441, allocations: 48.78 MB / 367.9 MB, free: 47.43 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003856, allocations: 12 kB / 438.6 MB, free: 10.99 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1646, allocations: 60.26 MB / 498.9 MB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.877/7.041, allocations: 2.979 GB / 3.466 GB, free: 43.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/7.042, allocations: 77.09 kB / 3.466 GB, free: 43.83 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.201/8.243, allocations: 301.2 MB / 3.761 GB, free: 64.53 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.163e-06/8.243, allocations: 0 / 3.761 GB, free: 64.53 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001053/8.243, allocations: 38.62 kB / 3.761 GB, free: 64.53 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: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.02561/8.269, allocations: 5.908 MB / 3.766 GB, free: 63.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/8.269, allocations: 15.17 kB / 3.766 GB, free: 63.49 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004908/8.274, allocations: 0.551 MB / 3.767 GB, free: 63.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005769/8.279, allocations: 1.755 MB / 3.769 GB, free: 63.09 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00269/8.282, allocations: 1.073 MB / 3.77 GB, free: 62.83 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00135/8.283, allocations: 178.9 kB / 3.77 GB, free: 62.83 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02844/8.312, allocations: 12.41 MB / 3.782 GB, free: 62.63 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.125e-05/8.312, allocations: 0 / 3.782 GB, free: 62.63 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009857/8.313, allocations: 74.25 kB / 3.782 GB, free: 62.63 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.535e-05/8.313, allocations: 83.69 kB / 3.782 GB, free: 62.62 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05178/8.365, allocations: 20.93 MB / 3.803 GB, free: 62.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.05013/8.415, allocations: 33.69 MB / 3.835 GB, free: 42.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02351/8.439, allocations: 10.12 MB / 3.845 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3487/8.787, allocations: 75.5 MB / 3.919 GB, free: 73.84 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.761e-05/8.787, allocations: 57.5 kB / 3.919 GB, free: 73.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=192): time 3.747e-06/8.787, allocations: 0 / 3.919 GB, free: 73.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=193): time 0.1036/8.891, allocations: 41.45 MB / 3.96 GB, free: 73.09 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/8.891, allocations: 74 kB / 3.96 GB, free: 73.03 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006261/8.892, allocations: 458.2 kB / 3.96 GB, free: 72.91 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000965/8.893, allocations: 64.98 kB / 3.96 GB, free: 72.88 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002911/8.893, allocations: 0.514 MB / 3.961 GB, free: 72.66 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00114/8.894, allocations: 0.6633 MB / 3.961 GB, free: 72.32 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006866/8.895, allocations: 34.94 kB / 3.961 GB, free: 72.32 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001427/8.895, allocations: 420.1 kB / 3.962 GB, free: 72.01 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01658/8.912, allocations: 8.325 MB / 3.97 GB, free: 72.01 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01703/8.929, allocations: 8.571 MB / 3.978 GB, free: 71.67 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01518/8.944, allocations: 7.162 MB / 3.985 GB, free: 71.45 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/8.944, allocations: 0 / 3.985 GB, free: 71.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.1016/9.045, allocations: 38.73 MB / 4.023 GB, free: 63.34 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002554/9.046, allocations: 1.32 MB / 4.024 GB, free: 61.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/9.046, allocations: 4 kB / 4.024 GB, free: 61.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1445/9.19, allocations: 57.52 MB / 4.081 GB, free: 19.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/9.192, allocations: 324.2 kB / 4.081 GB, free: 19.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2749/9.467, allocations: 24.45 MB / 4.105 GB, free: 77.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01161/9.479, allocations: 2.012 MB / 4.107 GB, free: 77.28 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002109/9.481, allocations: 314.9 kB / 4.107 GB, free: 77.28 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/9.481, allocations: 8.75 kB / 4.107 GB, free: 77.28 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1044/9.585, allocations: 38.56 MB / 4.145 GB, free: 77.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.022e-05/9.585, allocations: 8.344 kB / 4.145 GB, free: 77.24 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1433/9.729, allocations: 57.52 MB / 4.201 GB, free: 74.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/9.73, allocations: 317.1 kB / 4.201 GB, free: 74.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05176/9.782, allocations: 24.25 MB / 4.225 GB, free: 62.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009582/9.791, allocations: 2.013 MB / 4.227 GB, free: 60.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001132/9.793, allocations: 310 kB / 4.227 GB, free: 60.83 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 (121): * Single equations (assignments): 120 * 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.002451/9.795, allocations: 0.5674 MB / 4.228 GB, free: 60.48 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009462/9.796, allocations: 108.8 kB / 4.228 GB, free: 60.43 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04614/9.842, allocations: 34.67 MB / 4.262 GB, free: 32.45 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04286/9.885, allocations: 33.03 MB / 4.294 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.378e-05/9.885, allocations: 8 kB / 4.294 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-05/9.885, allocations: 10.41 kB / 4.294 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3522/10.24, allocations: 54.32 MB / 4.347 GB, free: 68.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-05/10.24, allocations: 4.469 kB / 4.347 GB, free: 68.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01957/10.26, allocations: 2.47 MB / 4.349 GB, free: 68.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006621/10.26, allocations: 1.144 MB / 4.35 GB, free: 68.77 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001651/10.27, allocations: 207.4 kB / 4.351 GB, free: 68.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01528/10.28, allocations: 6.345 MB / 4.357 GB, free: 65.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/10.28, allocations: 15.27 kB / 4.357 GB, free: 65.83 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09315/10.37, allocations: 25.9 MB / 4.382 GB, free: 58.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005601/10.38, allocations: 1.224 MB / 4.383 GB, free: 58.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002271/10.38, allocations: 67.52 kB / 4.383 GB, free: 58.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01587/10.4, allocations: 1.973 MB / 4.385 GB, free: 58.34 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002354/10.4, allocations: 318.2 kB / 4.386 GB, free: 58.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001482/10.4, allocations: 205.6 kB / 4.386 GB, free: 58.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004469/10.4, allocations: 354.6 kB / 4.386 GB, free: 58.14 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/10.4, allocations: 2.438 kB / 4.386 GB, free: 58.14 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01155/10.41, allocations: 2.634 MB / 4.389 GB, free: 58.02 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 (179): * Single equations (assignments): 165 * 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.005981/10.42, allocations: 1.306 MB / 4.39 GB, free: 57.87 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.05589/10.48, allocations: 27.45 MB / 4.417 GB, free: 51.23 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/10.48, allocations: 0 / 4.417 GB, free: 51.23 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01933/10.5, allocations: 9.482 MB / 4.426 GB, free: 48.47 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002853/10.5, allocations: 468.2 kB / 4.427 GB, free: 48.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02629/10.52, allocations: 13.27 MB / 4.44 GB, free: 37.47 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001232/10.53, allocations: 1.637 MB / 4.441 GB, free: 36.11 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005865/10.53, allocations: 2.433 MB / 4.444 GB, free: 34.52 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003322/10.53, allocations: 397.4 kB / 4.444 GB, free: 34.35 MB / 0.5261 GB Notification: Performance of SimCode: time 8.42e-07/10.53, allocations: 4 kB / 4.444 GB, free: 34.34 MB / 0.5261 GB Notification: Performance of Templates: time 0.4719/11.01, allocations: 252.3 MB / 4.69 GB, free: 15.2 MB / 0.5573 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.pipe 2>&1)