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.001539/0.001539, allocations: 178.4 kB / 17.4 MB, free: 4.398 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.697/1.697, allocations: 205.4 MB / 223.5 MB, free: 9.016 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.0008109/0.0008109, allocations: 88.53 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5276/0.5276, allocations: 48.78 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.0004318/0.0004319, allocations: 12 kB / 439.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.16, allocations: 60.26 MB / 0.4884 GB, free: 14.31 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.45/6.61, allocations: 2.979 GB / 3.468 GB, free: 40.67 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001931/6.61, allocations: 89.5 kB / 3.468 GB, free: 40.59 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.173/7.783, allocations: 301.2 MB / 3.762 GB, free: 65.49 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.763e-06/7.783, allocations: 1.344 kB / 3.762 GB, free: 65.49 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001273/7.784, allocations: 33.38 kB / 3.762 GB, free: 65.48 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.02562/7.809, allocations: 5.885 MB / 3.768 GB, free: 64.46 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/7.809, allocations: 8.25 kB / 3.768 GB, free: 64.46 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005669/7.815, allocations: 0.5592 MB / 3.768 GB, free: 64.37 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006397/7.821, allocations: 1.773 MB / 3.77 GB, free: 64.04 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003405/7.825, allocations: 1.063 MB / 3.771 GB, free: 63.78 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002444/7.827, allocations: 184.8 kB / 3.771 GB, free: 63.77 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03307/7.86, allocations: 12.42 MB / 3.784 GB, free: 63.39 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.192e-05/7.86, allocations: 3.703 kB / 3.784 GB, free: 63.39 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002024/7.862, allocations: 71.5 kB / 3.784 GB, free: 63.39 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.175e-05/7.863, allocations: 90.61 kB / 3.784 GB, free: 63.38 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05526/7.918, allocations: 20.92 MB / 3.804 GB, free: 62.96 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.05276/7.971, allocations: 33.69 MB / 3.837 GB, free: 43.36 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02249/7.993, allocations: 10.1 MB / 3.847 GB, free: 40.72 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0167/8.01, allocations: 8.007 MB / 3.855 GB, free: 37.02 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3694/8.379, allocations: 75.64 MB / 3.929 GB, free: 69.29 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.653e-05/8.379, allocations: 53.03 kB / 3.929 GB, free: 69.25 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=191): time 4.398e-06/8.379, allocations: 1.969 kB / 3.929 GB, free: 69.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=192): time 0.121/8.5, allocations: 41.37 MB / 3.969 GB, free: 68.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/8.501, allocations: 72.81 kB / 3.969 GB, free: 68.53 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007363/8.501, allocations: 0.5062 MB / 3.97 GB, free: 68.41 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001952/8.503, allocations: 63.42 kB / 3.97 GB, free: 68.38 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003574/8.504, allocations: 0.5166 MB / 3.97 GB, free: 68.16 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002434/8.506, allocations: 0.6564 MB / 3.971 GB, free: 67.83 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001798/8.508, allocations: 37.94 kB / 3.971 GB, free: 67.82 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002318/8.508, allocations: 420.6 kB / 3.971 GB, free: 67.51 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01798/8.526, allocations: 8.32 MB / 3.979 GB, free: 67.31 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01813/8.544, allocations: 8.572 MB / 3.988 GB, free: 66.92 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0332/8.578, allocations: 14.35 MB / 4.002 GB, free: 64.38 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.521e-05/8.578, allocations: 3.125 kB / 4.002 GB, free: 64.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.06886/8.646, allocations: 28.57 MB / 4.03 GB, free: 56.38 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/8.647, allocations: 192.7 kB / 4.03 GB, free: 56.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/8.647, allocations: 4 kB / 4.03 GB, free: 56.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1362/8.783, allocations: 57.57 MB / 4.086 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001518/8.784, allocations: 321.9 kB / 4.086 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2861/9.07, allocations: 24.3 MB / 4.11 GB, free: 77.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01037/9.081, allocations: 2.011 MB / 4.112 GB, free: 77.65 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001923/9.083, allocations: 316.3 kB / 4.112 GB, free: 77.65 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/9.083, allocations: 4.688 kB / 4.112 GB, free: 77.65 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0677/9.151, allocations: 28.4 MB / 4.14 GB, free: 77.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.762e-05/9.151, allocations: 3.719 kB / 4.14 GB, free: 77.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1366/9.287, allocations: 57.56 MB / 4.196 GB, free: 75.01 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/9.289, allocations: 304.9 kB / 4.197 GB, free: 75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05122/9.34, allocations: 24.25 MB / 4.22 GB, free: 66.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00929/9.349, allocations: 2.013 MB / 4.222 GB, free: 65.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001076/9.35, allocations: 307.9 kB / 4.223 GB, free: 65.2 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.001988/9.352, allocations: 0.5653 MB / 4.223 GB, free: 64.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007411/9.353, allocations: 108.7 kB / 4.223 GB, free: 64.64 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04749/9.401, allocations: 34.68 MB / 4.257 GB, free: 35.91 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04643/9.447, allocations: 33.03 MB / 4.289 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-05/9.447, allocations: 10.11 kB / 4.289 GB, free: 7.824 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.405e-05/9.447, allocations: 14.95 kB / 4.289 GB, free: 7.82 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3121/9.759, allocations: 54.29 MB / 4.342 GB, free: 88.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.201e-05/9.759, allocations: 8.531 kB / 4.342 GB, free: 88.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01155/9.771, allocations: 2.473 MB / 4.345 GB, free: 88.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004172/9.775, allocations: 1.142 MB / 4.346 GB, free: 88.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001683/9.777, allocations: 204.3 kB / 4.346 GB, free: 88.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009015/9.786, allocations: 6.081 MB / 4.352 GB, free: 86.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/9.786, allocations: 7.281 kB / 4.352 GB, free: 86.61 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06005/9.846, allocations: 25.69 MB / 4.377 GB, free: 79.97 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00361/9.85, allocations: 1.221 MB / 4.378 GB, free: 79.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001696/9.851, allocations: 60.81 kB / 4.378 GB, free: 79.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009833/9.861, allocations: 1.969 MB / 4.38 GB, free: 79.42 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001831/9.863, allocations: 331.2 kB / 4.381 GB, free: 79.39 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001602/9.865, allocations: 199.2 kB / 4.381 GB, free: 79.38 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004864/9.865, allocations: 359 kB / 4.381 GB, free: 79.21 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/9.865, allocations: 0 / 4.381 GB, free: 79.21 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01164/9.877, allocations: 2.625 MB / 4.384 GB, free: 79.09 MB / 0.5417 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.007899/9.885, allocations: 1.313 MB / 4.385 GB, free: 78.94 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.06163/9.946, allocations: 27.43 MB / 4.412 GB, free: 72.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/9.946, allocations: 6.969 kB / 4.412 GB, free: 72.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.02129/9.968, allocations: 9.48 MB / 4.421 GB, free: 69.54 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005864/9.974, allocations: 498.3 kB / 4.422 GB, free: 69.41 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02644/10, allocations: 13.25 MB / 4.434 GB, free: 59.52 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001306/10, allocations: 1.604 MB / 4.436 GB, free: 58.15 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007535/10.01, allocations: 2.428 MB / 4.438 GB, free: 56.56 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004524/10.01, allocations: 393.5 kB / 4.439 GB, free: 56.39 MB / 0.5417 GB Notification: Performance of SimCode: time 8.22e-07/10.01, allocations: 0 / 4.439 GB, free: 56.39 MB / 0.5417 GB Notification: Performance of Templates: time 0.4958/10.51, allocations: 254.3 MB / 4.687 GB, free: 3.258 MB / 0.5417 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)