Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_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.TestWaterFlow1DFEM_B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001886/0.001886, allocations: 176.3 kB / 17.4 MB, free: 4.426 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.729/1.729, allocations: 205.4 MB / 223.5 MB, free: 9.023 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.0008543/0.0008545, allocations: 91.84 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5042/0.5042, allocations: 48.78 MB / 369 MB, free: 47.37 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004001/0.0004004, allocations: 12 kB / 439.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1419, allocations: 60.25 MB / 0.4884 GB, free: 14.31 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.17/6.312, allocations: 2.943 GB / 3.431 GB, free: 77.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003999/6.312, allocations: 82.83 kB / 3.431 GB, free: 77.16 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.274/7.586, allocations: 379.1 MB / 3.802 GB, free: 57.45 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.986e-06/7.586, allocations: 0 / 3.802 GB, free: 57.45 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002056/7.586, allocations: 93.06 kB / 3.802 GB, free: 57.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: 1387 * Number of variables: 1387 Notification: Performance of Generate backend data structure: time 0.03475/7.621, allocations: 10.16 MB / 3.812 GB, free: 55.46 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/7.621, allocations: 11.44 kB / 3.812 GB, free: 55.46 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006449/7.628, allocations: 0.7849 MB / 3.813 GB, free: 55.16 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01043/7.638, allocations: 2.988 MB / 3.815 GB, free: 54.14 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005912/7.639, allocations: 407.8 kB / 3.816 GB, free: 53.96 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003983/7.643, allocations: 0.5208 MB / 3.816 GB, free: 53.78 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03782/7.68, allocations: 12.17 MB / 3.828 GB, free: 49.53 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003359/7.681, allocations: 0 / 3.828 GB, free: 49.53 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003748/7.685, allocations: 217.4 kB / 3.828 GB, free: 49.36 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002126/7.685, allocations: 212.5 kB / 3.829 GB, free: 49.35 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0505/7.735, allocations: 14.15 MB / 3.842 GB, free: 45.5 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.04755/7.783, allocations: 24.52 MB / 3.866 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01209/7.795, allocations: 4.807 MB / 3.871 GB, free: 22.69 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004682/7.8, allocations: 2.192 MB / 3.873 GB, free: 20.49 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4417/8.242, allocations: 63.74 MB / 3.935 GB, free: 54.46 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.685e-05/8.242, allocations: 67.44 kB / 3.936 GB, free: 54.42 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=257): time 4.479e-06/8.242, allocations: 0 / 3.936 GB, free: 54.42 MB / 0.5261 GB Notification: Performance of matching and sorting (n=257): time 0.1001/8.342, allocations: 23.44 MB / 3.958 GB, free: 54.05 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/8.342, allocations: 77.47 kB / 3.959 GB, free: 53.98 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007095/8.349, allocations: 3.989 MB / 3.962 GB, free: 53.66 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.00174/8.351, allocations: 74.95 kB / 3.962 GB, free: 53.62 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002877/8.354, allocations: 3.146 MB / 3.966 GB, free: 51.83 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.003284/8.357, allocations: 1.033 MB / 3.967 GB, free: 51.26 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001181/8.358, allocations: 171.7 kB / 3.967 GB, free: 51.26 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000814/8.359, allocations: 0.723 MB / 3.967 GB, free: 50.93 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008223/8.367, allocations: 3.879 MB / 3.971 GB, free: 50.91 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01041/8.378, allocations: 8.977 MB / 3.98 GB, free: 44.25 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02119/8.399, allocations: 13.51 MB / 3.993 GB, free: 37.15 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002709/8.399, allocations: 50.5 kB / 3.993 GB, free: 37.15 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1102) (initialization): time 0.04269/8.442, allocations: 17.57 MB / 4.01 GB, free: 35.49 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.003964/8.446, allocations: 5.306 MB / 4.016 GB, free: 28.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003969/8.446, allocations: 178.7 kB / 4.016 GB, free: 28.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0441/8.491, allocations: 12.55 MB / 4.028 GB, free: 27.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004984/8.496, allocations: 1.683 MB / 4.03 GB, free: 27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01842/8.514, allocations: 10.34 MB / 4.04 GB, free: 23.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008895/8.523, allocations: 1.309 MB / 4.041 GB, free: 22.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002489/8.526, allocations: 0.6478 MB / 4.042 GB, free: 22.66 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/8.526, allocations: 3.438 kB / 4.042 GB, free: 22.66 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0367/8.562, allocations: 17.1 MB / 4.058 GB, free: 16.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007976/8.563, allocations: 176 kB / 4.059 GB, free: 16.15 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04229/8.605, allocations: 12.55 MB / 4.071 GB, free: 7.602 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005303/8.611, allocations: 1.667 MB / 4.072 GB, free: 6.133 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03145/8.642, allocations: 11.15 MB / 4.083 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009276/8.652, allocations: 0.9837 MB / 4.084 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0028/8.654, allocations: 0.6335 MB / 4.085 GB, free: 14.12 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 807 * Number of states: 0 () * Number of discrete variables: 14 (hex.fluidState[12].phase,hex.fluidState[11].phase,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,T_out.fluidState.phase,T_in.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (903): * Single equations (assignments): 902 * 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 {13 187} Notification: Performance of prepare postOptimizeDAE: time 0.005832/8.66, allocations: 1.86 MB / 4.087 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001017/8.661, allocations: 363.3 kB / 4.087 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4193/9.081, allocations: 32.1 MB / 4.118 GB, free: 87.55 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001133/9.081, allocations: 72 kB / 4.118 GB, free: 87.55 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-05/9.081, allocations: 5.469 kB / 4.118 GB, free: 87.55 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.721e-05/9.081, allocations: 18.52 kB / 4.118 GB, free: 87.54 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07116/9.152, allocations: 43.95 MB / 4.161 GB, free: 84.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.276e-05/9.152, allocations: 1.688 kB / 4.161 GB, free: 84.49 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002802/9.155, allocations: 393 kB / 4.162 GB, free: 84.45 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03868/9.194, allocations: 8.36 MB / 4.17 GB, free: 83.71 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001801/9.196, allocations: 125.6 kB / 4.17 GB, free: 83.66 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05371/9.249, allocations: 30.42 MB / 4.2 GB, free: 73 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/9.249, allocations: 3.047 kB / 4.2 GB, free: 73 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04125/9.291, allocations: 15.44 MB / 4.215 GB, free: 68.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003872/9.295, allocations: 0.934 MB / 4.216 GB, free: 67.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009871/9.296, allocations: 91.69 kB / 4.216 GB, free: 67.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003423/9.299, allocations: 296.4 kB / 4.216 GB, free: 67.75 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001391/9.3, allocations: 246.5 kB / 4.216 GB, free: 67.71 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003335/9.301, allocations: 106.4 kB / 4.216 GB, free: 67.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003537/9.304, allocations: 2.34 MB / 4.219 GB, free: 67.04 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.7e-07/9.304, allocations: 0 / 4.219 GB, free: 67.04 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02087/9.325, allocations: 3.406 MB / 4.222 GB, free: 66.59 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (hex.p,hex.h[1],hex.h[2],hex.h[3],hex.h[4],hex.h[5],hex.h[6],hex.h[7],hex.h[8],hex.h[9],hex.h[10],hex.h[11],hex.h[12]) * Number of discrete variables: 28 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 140 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {13 126} Notification: Performance of Backend phase and start with SimCode phase: time 0.007927/9.333, allocations: 1.415 MB / 4.223 GB, free: 66.43 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03974/9.373, allocations: 17.17 MB / 4.24 GB, free: 61.46 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.428e-05/9.373, allocations: 3.031 kB / 4.24 GB, free: 61.46 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01474/9.388, allocations: 4.791 MB / 4.245 GB, free: 59.64 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008399/9.396, allocations: 0.7122 MB / 4.246 GB, free: 59.39 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02652/9.423, allocations: 13.78 MB / 4.259 GB, free: 49.39 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003641/9.427, allocations: 2.793 MB / 4.262 GB, free: 47.21 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01341/9.44, allocations: 5.293 MB / 4.267 GB, free: 44.01 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001459/9.441, allocations: 281.5 kB / 4.267 GB, free: 43.76 MB / 0.5573 GB Notification: Performance of SimCode: time 1.142e-06/9.441, allocations: 0 / 4.267 GB, free: 43.76 MB / 0.5573 GB Notification: Performance of Templates: time 0.6459/10.09, allocations: 179.8 MB / 4.443 GB, free: 57.14 MB / 0.5573 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.pipe 2>&1)