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.001426/0.001426, allocations: 180.2 kB / 16.38 MB, free: 5.766 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.698/1.698, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0009325/0.0009323, allocations: 96.41 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.511/0.511, allocations: 48.78 MB / 367.9 MB, free: 47.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004125/0.0004127, allocations: 8 kB / 438.6 MB, free: 11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1525, allocations: 60.26 MB / 498.9 MB, free: 14.61 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.457/7.609, allocations: 2.937 GB / 3.424 GB, free: 87.55 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/7.609, allocations: 83.02 kB / 3.424 GB, free: 87.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.555/9.164, allocations: 307.3 MB / 3.724 GB, free: 53.21 MB / 0.5105 GB Notification: Performance of FrontEnd: time 5.23e-06/9.164, allocations: 0 / 3.724 GB, free: 53.21 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001653/9.164, allocations: 93.36 kB / 3.724 GB, free: 53.2 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.03557/9.2, allocations: 9.986 MB / 3.734 GB, free: 51.85 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/9.2, allocations: 13.8 kB / 3.734 GB, free: 51.84 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006744/9.207, allocations: 0.7729 MB / 3.735 GB, free: 51.62 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01223/9.219, allocations: 2.891 MB / 3.738 GB, free: 51.18 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004811/9.22, allocations: 388 kB / 3.738 GB, free: 51.17 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004282/9.224, allocations: 0.5091 MB / 3.739 GB, free: 51.16 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03763/9.262, allocations: 11.87 MB / 3.75 GB, free: 50.84 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001459/9.262, allocations: 0 / 3.75 GB, free: 50.84 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003109/9.265, allocations: 212.9 kB / 3.75 GB, free: 50.84 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001938/9.265, allocations: 198.5 kB / 3.751 GB, free: 50.83 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05997/9.325, allocations: 13.93 MB / 3.764 GB, free: 50.79 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.06606/9.391, allocations: 24.76 MB / 3.788 GB, free: 40.37 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01214/9.403, allocations: 4.374 MB / 3.793 GB, free: 40.31 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1278/9.531, allocations: 63.77 MB / 3.855 GB, free: 32.32 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/9.531, allocations: 67.7 kB / 3.855 GB, free: 32.26 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=240): time 1.582e-05/9.532, allocations: 0 / 3.855 GB, free: 32.26 MB / 0.5417 GB Notification: Performance of matching and sorting (n=240): time 0.1145/9.646, allocations: 22.81 MB / 3.877 GB, free: 28.25 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001567/9.646, allocations: 75.81 kB / 3.877 GB, free: 28.19 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01074/9.657, allocations: 3.558 MB / 3.881 GB, free: 27 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001639/9.659, allocations: 72.58 kB / 3.881 GB, free: 26.93 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.003094/9.662, allocations: 3.138 MB / 3.884 GB, free: 24.5 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002791/9.665, allocations: 0.9809 MB / 3.885 GB, free: 23.81 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002113/9.667, allocations: 168.3 kB / 3.885 GB, free: 23.68 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.001389/9.668, allocations: 0.7153 MB / 3.886 GB, free: 23.2 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008042/9.676, allocations: 3.723 MB / 3.889 GB, free: 20.76 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01177/9.688, allocations: 8.846 MB / 3.898 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01309/9.701, allocations: 5.355 MB / 3.903 GB, free: 5.512 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000351/9.702, allocations: 55.94 kB / 3.903 GB, free: 5.457 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.4558/10.16, allocations: 15.13 MB / 3.918 GB, free: 71.74 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.03108/10.19, allocations: 71.36 MB / 3.988 GB, free: 29.45 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00081/10.19, allocations: 180.6 kB / 3.988 GB, free: 29.45 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0381/10.23, allocations: 10.19 MB / 3.998 GB, free: 29.42 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006198/10.23, allocations: 1.751 MB / 4 GB, free: 29.42 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02053/10.25, allocations: 8.98 MB / 4.008 GB, free: 28.86 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01036/10.26, allocations: 1.28 MB / 4.01 GB, free: 28.61 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003726/10.27, allocations: 0.6409 MB / 4.01 GB, free: 28.61 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/10.27, allocations: 4.719 kB / 4.01 GB, free: 28.61 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04124/10.31, allocations: 14.62 MB / 4.025 GB, free: 27.82 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001153/10.31, allocations: 184.1 kB / 4.025 GB, free: 27.82 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03994/10.35, allocations: 10.19 MB / 4.035 GB, free: 27.79 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007231/10.36, allocations: 1.736 MB / 4.036 GB, free: 27.62 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02615/10.38, allocations: 8.975 MB / 4.045 GB, free: 26.95 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01146/10.4, allocations: 0.9609 MB / 4.046 GB, free: 26.77 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004796/10.4, allocations: 0.6376 MB / 4.047 GB, free: 26.77 MB / 0.573 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.008288/10.41, allocations: 1.832 MB / 4.049 GB, free: 26.3 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002138/10.41, allocations: 357.6 kB / 4.049 GB, free: 26.11 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05649/10.47, allocations: 30.61 MB / 4.079 GB, free: 16.79 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-05/10.47, allocations: 64.94 kB / 4.079 GB, free: 16.78 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.799e-05/10.47, allocations: 0 / 4.079 GB, free: 16.78 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001318/10.47, allocations: 16.59 kB / 4.079 GB, free: 16.78 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.523/10.99, allocations: 41.95 MB / 4.12 GB, free: 100.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.711e-05/10.99, allocations: 1.906 kB / 4.12 GB, free: 100.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003514/11, allocations: 400.3 kB / 4.12 GB, free: 100.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03121/11.03, allocations: 6.963 MB / 4.127 GB, free: 100.5 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002223/11.03, allocations: 117.6 kB / 4.127 GB, free: 100.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07552/11.1, allocations: 29.67 MB / 4.156 GB, free: 97.5 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.565e-06/11.1, allocations: 1.375 kB / 4.156 GB, free: 97.5 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04872/11.15, allocations: 13.58 MB / 4.169 GB, free: 96.84 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004894/11.16, allocations: 0.8768 MB / 4.17 GB, free: 96.46 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001421/11.16, allocations: 98.11 kB / 4.17 GB, free: 96.46 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004488/11.16, allocations: 271.5 kB / 4.171 GB, free: 96.44 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001763/11.17, allocations: 230.8 kB / 4.171 GB, free: 96.44 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004251/11.17, allocations: 100.5 kB / 4.171 GB, free: 96.44 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.006425/11.17, allocations: 2.32 MB / 4.173 GB, free: 96.29 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.82e-07/11.17, allocations: 0 / 4.173 GB, free: 96.29 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02876/11.2, allocations: 3.272 MB / 4.176 GB, free: 96.11 MB / 0.573 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.008557/11.21, allocations: 1.308 MB / 4.178 GB, free: 95.98 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03656/11.25, allocations: 16.08 MB / 4.193 GB, free: 94.07 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/11.25, allocations: 0 / 4.193 GB, free: 94.07 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01217/11.26, allocations: 4.259 MB / 4.197 GB, free: 92.33 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004719/11.26, allocations: 0.6214 MB / 4.198 GB, free: 92.12 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02586/11.29, allocations: 13.01 MB / 4.211 GB, free: 86.71 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002489/11.29, allocations: 2.766 MB / 4.213 GB, free: 85.73 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01406/11.31, allocations: 5.762 MB / 4.219 GB, free: 85.36 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001812/11.31, allocations: 282.2 kB / 4.219 GB, free: 85.35 MB / 0.573 GB Notification: Performance of SimCode: time 2.094e-06/11.31, allocations: 7.125 kB / 4.219 GB, free: 85.35 MB / 0.573 GB Notification: Performance of Templates: time 0.6289/11.94, allocations: 167.3 MB / 4.383 GB, free: 94.01 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)