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.0018/0.0018, allocations: 181.3 kB / 8.346 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.904/1.904, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 86.84 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6053/0.6053, allocations: 48.77 MB / 358.8 MB, free: 53.14 MB / 299.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 1.922e-05/1.947e-05, allocations: 4 kB / 425.3 MB, free: 8.223 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1496, allocations: 60.25 MB / 485.6 MB, free: 11.82 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.028/7.178, allocations: 2.979 GB / 3.453 GB, free: 89.02 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/7.178, allocations: 80.14 kB / 3.453 GB, free: 88.95 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 0.8733/8.051, allocations: 297.7 MB / 3.744 GB, free: 2.5 MB / 0.5108 GB Notification: Performance of FrontEnd: time 2.104e-06/8.051, allocations: 0 / 3.744 GB, free: 2.5 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 5.868e-05/8.051, allocations: 32 kB / 3.744 GB, free: 2.469 MB / 0.5108 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.2947/8.346, allocations: 5.785 MB / 3.749 GB, free: 51.73 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/8.346, allocations: 9.188 kB / 3.749 GB, free: 51.73 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00659/8.353, allocations: 0.5514 MB / 3.75 GB, free: 51.64 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008439/8.361, allocations: 1.761 MB / 3.751 GB, free: 51.41 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004566/8.366, allocations: 0.9794 MB / 3.752 GB, free: 51.16 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002764/8.369, allocations: 107.5 kB / 3.753 GB, free: 51.16 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02616/8.395, allocations: 11.65 MB / 3.764 GB, free: 51.15 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01399/8.409, allocations: 6.557 MB / 3.77 GB, free: 50.96 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.135e-05/8.409, allocations: 0.8438 kB / 3.77 GB, free: 50.96 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00117/8.41, allocations: 0 / 3.77 GB, free: 50.96 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.189e-05/8.41, allocations: 94.67 kB / 3.77 GB, free: 50.95 MB / 0.5108 GB Warning: The model contains alias variables with conflicting start and/or 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.0538/8.464, allocations: 33.47 MB / 3.803 GB, free: 31.65 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01103/8.475, allocations: 5.44 MB / 3.808 GB, free: 31.61 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007864/8.483, allocations: 4.478 MB / 3.813 GB, free: 31.61 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1432/8.626, allocations: 75.79 MB / 3.887 GB, free: 19.73 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.761e-05/8.626, allocations: 57.31 kB / 3.887 GB, free: 19.69 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=192): time 4.779e-06/8.626, allocations: 0 / 3.887 GB, free: 19.69 MB / 0.5421 GB Notification: Performance of matching and sorting (n=193): time 0.05714/8.684, allocations: 18.6 MB / 3.905 GB, free: 16.14 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.021e-05/8.684, allocations: 71.94 kB / 3.905 GB, free: 16.07 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000597/8.684, allocations: 397.3 kB / 3.905 GB, free: 15.87 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.002163/8.686, allocations: 29.3 kB / 3.905 GB, free: 15.84 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003272/8.687, allocations: 0.52 MB / 3.906 GB, free: 15.48 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.002571/8.689, allocations: 0.6359 MB / 3.907 GB, free: 14.98 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002034/8.691, allocations: 4 kB / 3.907 GB, free: 14.98 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0003193/8.692, allocations: 412.8 kB / 3.907 GB, free: 14.62 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007248/8.699, allocations: 4.793 MB / 3.912 GB, free: 12.65 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007422/8.706, allocations: 5.022 MB / 3.917 GB, free: 10.46 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01112/8.718, allocations: 4.052 MB / 3.921 GB, free: 8.984 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.238e-05/8.718, allocations: 7.938 kB / 3.921 GB, free: 8.98 MB / 0.5421 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.3935/9.111, allocations: 28.87 MB / 3.949 GB, free: 82.95 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002805/9.112, allocations: 1.31 MB / 3.95 GB, free: 81.6 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.784e-05/9.112, allocations: 6.5 kB / 3.95 GB, free: 81.6 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1339/9.246, allocations: 50.25 MB / 3.999 GB, free: 80.31 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001783/9.247, allocations: 304.9 kB / 3.999 GB, free: 80.3 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03115/9.279, allocations: 16.43 MB / 4.015 GB, free: 79.73 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00997/9.289, allocations: 1.962 MB / 4.017 GB, free: 79.62 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008437/9.289, allocations: 312.2 kB / 4.018 GB, free: 79.62 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/9.289, allocations: 7.922 kB / 4.018 GB, free: 79.62 MB / 0.5421 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07265/9.362, allocations: 28.35 MB / 4.045 GB, free: 78.85 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.433e-05/9.362, allocations: 3.938 kB / 4.045 GB, free: 78.85 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1228/9.485, allocations: 50.25 MB / 4.094 GB, free: 52.44 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/9.487, allocations: 296.7 kB / 4.095 GB, free: 52.23 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03045/9.517, allocations: 16.43 MB / 4.111 GB, free: 39.82 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01046/9.528, allocations: 1.962 MB / 4.113 GB, free: 38.4 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001578/9.529, allocations: 307.6 kB / 4.113 GB, free: 38.24 MB / 0.5421 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 () * 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.001732/9.531, allocations: 133.2 kB / 4.113 GB, free: 38.11 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009377/9.532, allocations: 100.9 kB / 4.113 GB, free: 38.06 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3006/9.832, allocations: 29.09 MB / 4.142 GB, free: 81.85 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03483/9.867, allocations: 26.78 MB / 4.168 GB, free: 81.54 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.548e-05/9.867, allocations: 6.906 kB / 4.168 GB, free: 81.54 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-05/9.867, allocations: 10.62 kB / 4.168 GB, free: 81.54 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05773/9.925, allocations: 47.78 MB / 4.214 GB, free: 61.02 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.83e-05/9.925, allocations: 3.531 kB / 4.214 GB, free: 61.02 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01352/9.939, allocations: 2.458 MB / 4.217 GB, free: 60.98 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004287/9.943, allocations: 1.11 MB / 4.218 GB, free: 60.83 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001999/9.945, allocations: 183.9 kB / 4.218 GB, free: 60.81 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008289/9.953, allocations: 5.907 MB / 4.224 GB, free: 57.98 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/9.953, allocations: 5 kB / 4.224 GB, free: 57.98 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02824/9.982, allocations: 15.31 MB / 4.239 GB, free: 51.24 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003599/9.985, allocations: 1.218 MB / 4.24 GB, free: 50.76 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001909/9.987, allocations: 23.08 kB / 4.24 GB, free: 50.75 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01069/9.998, allocations: 1.931 MB / 4.242 GB, free: 50.75 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001995/10, allocations: 325 kB / 4.242 GB, free: 50.73 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001878/10, allocations: 197.4 kB / 4.242 GB, free: 50.71 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0004123/10, allocations: 302.8 kB / 4.243 GB, free: 50.55 MB / 0.5421 GB Notification: Performance of sort global known variables: time 3.21e-07/10, allocations: 3.969 kB / 4.243 GB, free: 50.55 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.01313/10.02, allocations: 2.535 MB / 4.245 GB, free: 50.51 MB / 0.5421 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 () * 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.007885/10.02, allocations: 1.364 MB / 4.247 GB, free: 50.36 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.0272/10.05, allocations: 16.77 MB / 4.263 GB, free: 43.76 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/10.05, allocations: 0 / 4.263 GB, free: 43.76 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.00971/10.06, allocations: 5.898 MB / 4.269 GB, free: 41.22 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004676/10.07, allocations: 408.1 kB / 4.269 GB, free: 41.16 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01441/10.08, allocations: 7.993 MB / 4.277 GB, free: 38.62 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/10.08, allocations: 1.643 MB / 4.278 GB, free: 37.81 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.006725/10.09, allocations: 2.452 MB / 4.281 GB, free: 37.79 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004033/10.09, allocations: 385.2 kB / 4.281 GB, free: 37.76 MB / 0.5421 GB Notification: Performance of SimCode: time 9.02e-07/10.09, allocations: 0 / 4.281 GB, free: 37.76 MB / 0.5421 GB Notification: Performance of Templates: time 0.5089/10.6, allocations: 247.2 MB / 4.523 GB, free: 15.59 MB / 0.5577 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)