Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.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_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001964/0.001964, allocations: 176.4 kB / 17.4 MB, free: 4.414 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.755/1.755, 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.0008773/0.0008774, allocations: 93.48 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.445/0.445, allocations: 48.78 MB / 369 MB, free: 47.37 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003923/0.0003923, allocations: 16 kB / 439.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1378, allocations: 60.26 MB / 0.4884 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.253/6.39, allocations: 2.937 GB / 3.426 GB, free: 82.96 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/6.391, allocations: 86.5 kB / 3.426 GB, free: 82.92 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.245/7.635, allocations: 307.3 MB / 3.726 GB, free: 56.46 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.266e-06/7.636, allocations: 0 / 3.726 GB, free: 56.46 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001609/7.636, allocations: 94.31 kB / 3.726 GB, free: 56.46 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: 1341 * Number of variables: 1341 Notification: Performance of Generate backend data structure: time 0.03846/7.674, allocations: 9.944 MB / 3.736 GB, free: 55.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.648e-05/7.674, allocations: 10.84 kB / 3.736 GB, free: 55.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007958/7.682, allocations: 0.7645 MB / 3.736 GB, free: 54.88 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01357/7.696, allocations: 2.916 MB / 3.739 GB, free: 54.42 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007431/7.697, allocations: 386.4 kB / 3.74 GB, free: 54.41 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004672/7.701, allocations: 0.507 MB / 3.74 GB, free: 54.41 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04552/7.747, allocations: 11.9 MB / 3.752 GB, free: 54.09 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005848/7.748, allocations: 3.938 kB / 3.752 GB, free: 54.09 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004561/7.752, allocations: 210.9 kB / 3.752 GB, free: 54.09 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004514/7.753, allocations: 200.5 kB / 3.752 GB, free: 54.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.059/7.812, allocations: 13.93 MB / 3.766 GB, free: 54.03 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.05307/7.865, allocations: 24.78 MB / 3.79 GB, free: 43.59 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009877/7.875, allocations: 4.378 MB / 3.794 GB, free: 43.54 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003244/7.878, allocations: 1.976 MB / 3.796 GB, free: 42.96 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1163/7.994, allocations: 63.76 MB / 3.858 GB, free: 33.72 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001199/7.994, allocations: 55.25 kB / 3.859 GB, free: 33.66 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=240): time 9.067e-06/7.995, allocations: 3.703 kB / 3.859 GB, free: 33.66 MB / 0.5417 GB Notification: Performance of matching and sorting (n=240): time 0.1041/8.099, allocations: 22.98 MB / 3.881 GB, free: 27.97 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/8.099, allocations: 77.41 kB / 3.881 GB, free: 27.88 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009722/8.109, allocations: 3.975 MB / 3.885 GB, free: 24.55 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001839/8.11, allocations: 69.7 kB / 3.885 GB, free: 24.48 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.002879/8.113, allocations: 3.13 MB / 3.888 GB, free: 21.68 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.00313/8.117, allocations: 0.9837 MB / 3.889 GB, free: 20.83 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002833/8.119, allocations: 172 kB / 3.889 GB, free: 20.66 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.00159/8.121, allocations: 0.7166 MB / 3.89 GB, free: 20.05 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009594/8.131, allocations: 3.72 MB / 3.894 GB, free: 16.93 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01504/8.146, allocations: 8.882 MB / 3.902 GB, free: 6.32 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4209/8.567, allocations: 13.25 MB / 3.915 GB, free: 73.2 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002723/8.567, allocations: 52.91 kB / 3.915 GB, free: 73.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.03655/8.604, allocations: 15.09 MB / 3.93 GB, free: 72.28 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.00419/8.608, allocations: 5.388 MB / 3.935 GB, free: 65.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004582/8.608, allocations: 180.2 kB / 3.935 GB, free: 65.68 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0434/8.652, allocations: 10.17 MB / 3.945 GB, free: 65.65 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008991/8.661, allocations: 1.745 MB / 3.947 GB, free: 65.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03514/8.696, allocations: 8.987 MB / 3.956 GB, free: 64.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01154/8.708, allocations: 1.283 MB / 3.957 GB, free: 64.61 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004671/8.712, allocations: 0.642 MB / 3.958 GB, free: 64.61 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/8.712, allocations: 4.594 kB / 3.958 GB, free: 64.61 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04316/8.756, allocations: 14.62 MB / 3.972 GB, free: 63.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001031/8.757, allocations: 179.4 kB / 3.972 GB, free: 63.34 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03818/8.795, allocations: 10.17 MB / 3.982 GB, free: 63.32 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008657/8.804, allocations: 1.741 MB / 3.984 GB, free: 63.15 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02749/8.831, allocations: 8.976 MB / 3.992 GB, free: 60.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01208/8.843, allocations: 0.9534 MB / 3.993 GB, free: 60.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003507/8.847, allocations: 0.6359 MB / 3.994 GB, free: 60.43 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 820 * Number of states: 0 () * Number of discrete variables: 12 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (943): * Single equations (assignments): 942 * 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 142} Notification: Performance of prepare postOptimizeDAE: time 0.008031/8.855, allocations: 1.843 MB / 3.996 GB, free: 59.54 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002249/8.857, allocations: 350.5 kB / 3.996 GB, free: 59.35 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0551/8.912, allocations: 30.63 MB / 4.026 GB, free: 47.84 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001188/8.913, allocations: 61.94 kB / 4.026 GB, free: 47.83 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-05/8.913, allocations: 4.031 kB / 4.026 GB, free: 47.83 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001469/8.913, allocations: 12.19 kB / 4.026 GB, free: 47.83 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0717/8.985, allocations: 41.8 MB / 4.067 GB, free: 22.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-05/8.985, allocations: 4 kB / 4.067 GB, free: 22.01 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002772/8.987, allocations: 401.5 kB / 4.067 GB, free: 21.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02792/9.015, allocations: 6.961 MB / 4.074 GB, free: 17.39 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00216/9.018, allocations: 117.8 kB / 4.074 GB, free: 17.31 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06407/9.082, allocations: 28.32 MB / 4.102 GB, free: 9.684 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/9.082, allocations: 4 kB / 4.102 GB, free: 9.68 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4487/9.531, allocations: 13.6 MB / 4.115 GB, free: 81.66 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003508/9.534, allocations: 0.8854 MB / 4.116 GB, free: 81.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001311/9.535, allocations: 91.67 kB / 4.116 GB, free: 81.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00395/9.539, allocations: 267.7 kB / 4.116 GB, free: 81.46 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001481/9.541, allocations: 232.8 kB / 4.117 GB, free: 81.45 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000387/9.541, allocations: 100.9 kB / 4.117 GB, free: 81.45 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00447/9.546, allocations: 2.318 MB / 4.119 GB, free: 81.31 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.02e-07/9.546, allocations: 0 / 4.119 GB, free: 81.31 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02405/9.57, allocations: 3.274 MB / 4.122 GB, free: 81.13 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: 24 ($cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {13 106} Notification: Performance of Backend phase and start with SimCode phase: time 0.009028/9.579, allocations: 1.318 MB / 4.124 GB, free: 80.98 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03876/9.618, allocations: 16.09 MB / 4.139 GB, free: 80.44 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.448e-05/9.618, allocations: 0 / 4.139 GB, free: 80.44 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01597/9.634, allocations: 4.259 MB / 4.143 GB, free: 79.99 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01092/9.645, allocations: 0.6568 MB / 4.144 GB, free: 79.97 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03776/9.683, allocations: 13.02 MB / 4.157 GB, free: 75.98 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006425/9.689, allocations: 2.694 MB / 4.159 GB, free: 75.19 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0175/9.707, allocations: 5.758 MB / 4.165 GB, free: 75.14 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001811/9.709, allocations: 286.2 kB / 4.165 GB, free: 75.13 MB / 0.5573 GB Notification: Performance of SimCode: time 2.685e-06/9.709, allocations: 3.594 kB / 4.165 GB, free: 75.13 MB / 0.5573 GB Notification: Performance of Templates: time 0.6159/10.32, allocations: 169.2 MB / 4.331 GB, free: 91.24 MB / 0.573 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.pipe 2>&1)