Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.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.TestFlow1D2phDB,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB") translateModel(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001343/0.001342, allocations: 180.3 kB / 16.38 MB, free: 5.762 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.376/1.376, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0008327/0.0008327, allocations: 102.6 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3646/0.3646, allocations: 48.78 MB / 367.9 MB, free: 47.46 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 0.0002893/0.0002894, allocations: 8 kB / 438.6 MB, free: 10.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1142, allocations: 60.25 MB / 498.9 MB, free: 14.6 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.162/5.276, allocations: 2.972 GB / 3.459 GB, free: 51.39 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/5.276, allocations: 84.89 kB / 3.459 GB, free: 51.31 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.147/6.423, allocations: 320.3 MB / 3.772 GB, free: 60.46 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.302e-06/6.423, allocations: 0 / 3.772 GB, free: 60.46 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001019/6.424, allocations: 48.69 kB / 3.772 GB, free: 60.45 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: 454 * Number of variables: 454 Notification: Performance of Generate backend data structure: time 0.02896/6.453, allocations: 6.773 MB / 3.779 GB, free: 59.39 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/6.453, allocations: 11.92 kB / 3.779 GB, free: 59.38 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006698/6.459, allocations: 0.7258 MB / 3.78 GB, free: 59.29 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0106/6.47, allocations: 2.819 MB / 3.782 GB, free: 58.97 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00299/6.473, allocations: 0.8572 MB / 3.783 GB, free: 58.78 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002748/6.476, allocations: 199.3 kB / 3.783 GB, free: 58.77 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03594/6.512, allocations: 12.28 MB / 3.795 GB, free: 58.56 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-05/6.512, allocations: 0 / 3.795 GB, free: 58.56 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002446/6.514, allocations: 78.16 kB / 3.795 GB, free: 58.56 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.089e-05/6.514, allocations: 43.5 kB / 3.795 GB, free: 58.56 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05874/6.573, allocations: 20.99 MB / 3.816 GB, free: 58.15 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.05529/6.628, allocations: 30.3 MB / 3.846 GB, free: 43 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02952/6.658, allocations: 11.08 MB / 3.856 GB, free: 36.79 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4554/7.114, allocations: 124.1 MB / 3.978 GB, free: 32.48 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.026e-05/7.114, allocations: 63.56 kB / 3.978 GB, free: 32.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=247): time 8.295e-06/7.114, allocations: 3.047 kB / 3.978 GB, free: 32.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=248): time 0.13/7.244, allocations: 44.8 MB / 4.021 GB, free: 28.85 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/7.244, allocations: 102.9 kB / 4.021 GB, free: 28.75 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006578/7.244, allocations: 497.2 kB / 4.022 GB, free: 28.64 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.00196/7.246, allocations: 68.39 kB / 4.022 GB, free: 28.61 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002668/7.247, allocations: 483 kB / 4.022 GB, free: 28.42 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002272/7.249, allocations: 0.8519 MB / 4.023 GB, free: 27.98 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001554/7.251, allocations: 43.41 kB / 4.023 GB, free: 27.98 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002112/7.251, allocations: 446.3 kB / 4.024 GB, free: 27.66 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01906/7.27, allocations: 8.543 MB / 4.032 GB, free: 27.45 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02028/7.29, allocations: 8.83 MB / 4.041 GB, free: 27.01 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01872/7.309, allocations: 7.507 MB / 4.048 GB, free: 26.12 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.936e-05/7.309, allocations: 3.812 kB / 4.048 GB, free: 26.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.06871/7.378, allocations: 25.91 MB / 4.073 GB, free: 5.828 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002955/7.378, allocations: 1.494 MB / 4.075 GB, free: 4.219 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/7.378, allocations: 4 kB / 4.075 GB, free: 4.215 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.398/7.776, allocations: 52.85 MB / 4.126 GB, free: 89.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009065/7.777, allocations: 187.1 kB / 4.127 GB, free: 89.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07186/7.849, allocations: 26.57 MB / 4.153 GB, free: 88.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01743/7.866, allocations: 2.158 MB / 4.155 GB, free: 88.93 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003075/7.869, allocations: 296.8 kB / 4.155 GB, free: 88.93 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/7.87, allocations: 6.938 kB / 4.155 GB, free: 88.93 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1145/7.984, allocations: 34.24 MB / 4.188 GB, free: 87.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.701e-05/7.984, allocations: 7.875 kB / 4.188 GB, free: 87.82 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1381/8.122, allocations: 50.64 MB / 4.238 GB, free: 69.71 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/8.123, allocations: 208.5 kB / 4.238 GB, free: 69.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06734/8.191, allocations: 26.14 MB / 4.264 GB, free: 49.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0118/8.203, allocations: 2.153 MB / 4.266 GB, free: 48.09 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003039/8.206, allocations: 296.8 kB / 4.266 GB, free: 47.93 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 10 (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,hex.dew.phase,hex.bubble.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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 {9 196} Notification: Performance of prepare postOptimizeDAE: time 0.005133/8.211, allocations: 0.5549 MB / 4.266 GB, free: 47.43 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002152/8.213, allocations: 132.7 kB / 4.267 GB, free: 47.37 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05935/8.272, allocations: 32.68 MB / 4.299 GB, free: 17.71 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3344/8.607, allocations: 31.03 MB / 4.329 GB, free: 88.47 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.884e-05/8.607, allocations: 10.34 kB / 4.329 GB, free: 88.47 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.863e-05/8.607, allocations: 10.83 kB / 4.329 GB, free: 88.47 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09039/8.697, allocations: 49.78 MB / 4.377 GB, free: 75.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.957e-05/8.697, allocations: 3.938 kB / 4.377 GB, free: 75.14 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01377/8.711, allocations: 2.672 MB / 4.38 GB, free: 75.11 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007382/8.719, allocations: 1.649 MB / 4.382 GB, free: 74.76 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002654/8.721, allocations: 204.8 kB / 4.382 GB, free: 74.72 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02023/8.742, allocations: 27.7 MB / 4.409 GB, free: 50.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/8.742, allocations: 5.266 kB / 4.409 GB, free: 50.32 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06507/8.807, allocations: 27.39 MB / 4.436 GB, free: 43.17 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004772/8.812, allocations: 1.277 MB / 4.437 GB, free: 42.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001954/8.814, allocations: 66.25 kB / 4.437 GB, free: 42.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01147/8.825, allocations: 2.137 MB / 4.439 GB, free: 42.57 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002379/8.827, allocations: 339.9 kB / 4.439 GB, free: 42.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002308/8.83, allocations: 203.3 kB / 4.44 GB, free: 42.52 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005855/8.83, allocations: 393.5 kB / 4.44 GB, free: 42.34 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.6e-07/8.83, allocations: 0 / 4.44 GB, free: 42.34 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0172/8.848, allocations: 2.826 MB / 4.443 GB, free: 42.19 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 16 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4],hex.htilde[5],hex.htilde[6],hex.htilde[7],Tube.T[1],Tube.T[2],Tube.T[3],Tube.T[4],Tube.T[5],Tube.T[6],Tube.T[7],Tube.T[8]) * Number of discrete variables: 22 ($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,$cse14.region3boundary,$cse15.region3boundary,$cse17.phase,$cse17.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (216): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 17 {(8,67.2%) 14,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.00981/8.857, allocations: 1.539 MB / 4.444 GB, free: 42.04 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0795/8.937, allocations: 28.96 MB / 4.473 GB, free: 23.37 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.608e-05/8.937, allocations: 6.609 kB / 4.473 GB, free: 23.37 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.02637/8.963, allocations: 11.74 MB / 4.484 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004829/8.968, allocations: 0.5074 MB / 4.484 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03156/9, allocations: 14.32 MB / 4.498 GB, free: 1.434 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001652/9.002, allocations: 1.681 MB / 4.5 GB, free: 44 kB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.2931/9.295, allocations: 2.83 MB / 4.503 GB, free: 97.15 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005907/9.301, allocations: 370.8 kB / 4.503 GB, free: 97.15 MB / 0.5573 GB Notification: Performance of SimCode: time 1.533e-06/9.301, allocations: 0 / 4.503 GB, free: 97.15 MB / 0.5573 GB Notification: Performance of Templates: time 0.5837/9.884, allocations: 255.4 MB / 4.753 GB, free: 77.69 MB / 0.5573 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.pipe 2>&1)