Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.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_C,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002571/0.002571, allocations: 178 kB / 8.352 MB, free: 0.7031 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.93/1.93, 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.0008696/0.0008696, allocations: 92.69 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.6155/0.6155, allocations: 48.77 MB / 358.8 MB, free: 53.15 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.976e-05/1.979e-05, allocations: 4 kB / 425.3 MB, free: 8.254 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1784, allocations: 60.26 MB / 485.6 MB, free: 11.84 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.2/8.378, allocations: 2.942 GB / 3.416 GB, free: 64.78 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/8.378, allocations: 80.14 kB / 3.416 GB, free: 64.74 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.62/9.998, allocations: 373.7 MB / 3.781 GB, free: 60.68 MB / 0.5108 GB Notification: Performance of FrontEnd: time 5.2e-06/9.998, allocations: 6.969 kB / 3.781 GB, free: 60.68 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0002115/9.998, allocations: 91.88 kB / 3.781 GB, free: 60.68 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: 1363 * Number of variables: 1363 Notification: Performance of Generate backend data structure: time 0.03762/10.04, allocations: 10.01 MB / 3.791 GB, free: 58.77 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/10.04, allocations: 11.5 kB / 3.791 GB, free: 58.77 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00695/10.04, allocations: 0.7804 MB / 3.792 GB, free: 58.47 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01124/10.05, allocations: 2.933 MB / 3.795 GB, free: 57.48 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004327/10.05, allocations: 168.2 kB / 3.795 GB, free: 57.48 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004121/10.06, allocations: 320 kB / 3.795 GB, free: 57.48 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0435/10.1, allocations: 11.23 MB / 3.806 GB, free: 54.46 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02832/10.13, allocations: 8.709 MB / 3.814 GB, free: 51.54 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005126/10.13, allocations: 0 / 3.814 GB, free: 51.54 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004551/10.14, allocations: 3.438 kB / 3.814 GB, free: 51.54 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002445/10.14, allocations: 207.2 kB / 3.815 GB, free: 51.52 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.05225/10.19, allocations: 23.46 MB / 3.838 GB, free: 34.47 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005818/10.19, allocations: 2.95 MB / 3.84 GB, free: 33 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003931/10.2, allocations: 1.891 MB / 3.842 GB, free: 32.09 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5666/10.77, allocations: 63.98 MB / 3.905 GB, free: 63.7 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001205/10.77, allocations: 61.59 kB / 3.905 GB, free: 63.66 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=245): time 4.608e-06/10.77, allocations: 0 / 3.905 GB, free: 63.66 MB / 0.5265 GB Notification: Performance of matching and sorting (n=245): time 0.03625/10.8, allocations: 9.967 MB / 3.915 GB, free: 63.51 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/10.8, allocations: 75.91 kB / 3.915 GB, free: 63.44 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005464/10.81, allocations: 3.354 MB / 3.918 GB, free: 63.13 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.001938/10.81, allocations: 29.52 kB / 3.918 GB, free: 63.1 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.002869/10.81, allocations: 3.155 MB / 3.921 GB, free: 61.26 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.003196/10.82, allocations: 0.9695 MB / 3.922 GB, free: 60.71 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006241/10.82, allocations: 0 / 3.922 GB, free: 60.71 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0006839/10.82, allocations: 0.7107 MB / 3.923 GB, free: 60.38 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005267/10.82, allocations: 3.491 MB / 3.926 GB, free: 60.36 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00853/10.83, allocations: 8.569 MB / 3.934 GB, free: 53.78 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01613/10.85, allocations: 5.438 MB / 3.94 GB, free: 53.73 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006022/10.85, allocations: 55.56 kB / 3.94 GB, free: 53.73 MB / 0.5265 GB Notification: Performance of matching and sorting (n=1102) (initialization): time 0.04625/10.89, allocations: 13.61 MB / 3.953 GB, free: 52.79 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 0.03638/10.93, allocations: 71.36 MB / 4.023 GB, free: 26.33 MB / 0.5733 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009882/10.93, allocations: 179.4 kB / 4.023 GB, free: 26.33 MB / 0.5733 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03825/10.97, allocations: 9.897 MB / 4.033 GB, free: 25.9 MB / 0.5733 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006871/10.98, allocations: 1.763 MB / 4.034 GB, free: 25.73 MB / 0.5733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03132/11.01, allocations: 9.908 MB / 4.044 GB, free: 25.03 MB / 0.5733 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01051/11.02, allocations: 1.132 MB / 4.045 GB, free: 24.44 MB / 0.5733 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003646/11.02, allocations: 0.6395 MB / 4.046 GB, free: 24.44 MB / 0.5733 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/11.02, allocations: 3.969 kB / 4.046 GB, free: 24.44 MB / 0.5733 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03967/11.06, allocations: 12.96 MB / 4.058 GB, free: 22.02 MB / 0.5733 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009405/11.06, allocations: 187.2 kB / 4.059 GB, free: 22.01 MB / 0.5733 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03423/11.1, allocations: 9.889 MB / 4.068 GB, free: 20.37 MB / 0.5733 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006203/11.1, allocations: 1.747 MB / 4.07 GB, free: 20.14 MB / 0.5733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02831/11.13, allocations: 9.91 MB / 4.08 GB, free: 16.65 MB / 0.5733 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008685/11.14, allocations: 0.8108 MB / 4.08 GB, free: 16.3 MB / 0.5733 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002928/11.14, allocations: 0.636 MB / 4.081 GB, free: 16.2 MB / 0.5733 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 820 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (949): * Single equations (assignments): 948 * 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 141} Notification: Performance of prepare postOptimizeDAE: time 0.004712/11.15, allocations: 0.5187 MB / 4.082 GB, free: 15.76 MB / 0.5733 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001787/11.15, allocations: 354.2 kB / 4.082 GB, free: 15.57 MB / 0.5733 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4934/11.64, allocations: 32.65 MB / 4.114 GB, free: 109.2 MB / 0.5733 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001304/11.64, allocations: 66.5 kB / 4.114 GB, free: 109.2 MB / 0.5733 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-05/11.64, allocations: 1.875 kB / 4.114 GB, free: 109.2 MB / 0.5733 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001269/11.64, allocations: 14.81 kB / 4.114 GB, free: 109.2 MB / 0.5733 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07187/11.72, allocations: 42.69 MB / 4.156 GB, free: 106.4 MB / 0.5733 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.048e-05/11.72, allocations: 2.719 kB / 4.156 GB, free: 106.4 MB / 0.5733 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003672/11.72, allocations: 414.6 kB / 4.156 GB, free: 106.4 MB / 0.5733 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03263/11.75, allocations: 6.851 MB / 4.163 GB, free: 106.3 MB / 0.5733 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001996/11.75, allocations: 85.12 kB / 4.163 GB, free: 106.3 MB / 0.5733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04851/11.8, allocations: 26.08 MB / 4.188 GB, free: 97.69 MB / 0.5733 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/11.8, allocations: 0 / 4.188 GB, free: 97.69 MB / 0.5733 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03485/11.84, allocations: 13.57 MB / 4.201 GB, free: 93.52 MB / 0.5733 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003778/11.84, allocations: 0.8966 MB / 4.202 GB, free: 93.08 MB / 0.5733 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001296/11.84, allocations: 49.55 kB / 4.202 GB, free: 93.06 MB / 0.5733 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004125/11.85, allocations: 236.4 kB / 4.203 GB, free: 93.05 MB / 0.5733 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001226/11.85, allocations: 242 kB / 4.203 GB, free: 93.02 MB / 0.5733 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003281/11.85, allocations: 97.09 kB / 4.203 GB, free: 93 MB / 0.5733 GB Notification: Performance of sorting global known variables: time 0.003268/11.85, allocations: 2.112 MB / 4.205 GB, free: 92.36 MB / 0.5733 GB Notification: Performance of sort global known variables: time 5.31e-07/11.85, allocations: 0 / 4.205 GB, free: 92.36 MB / 0.5733 GB Notification: Performance of remove unused functions: time 0.02839/11.88, allocations: 2.932 MB / 4.208 GB, free: 92.24 MB / 0.5733 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (166): * Single equations (assignments): 151 * 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 106} Notification: Performance of Backend phase and start with SimCode phase: time 0.01182/11.89, allocations: 1.511 MB / 4.209 GB, free: 92.08 MB / 0.5733 GB Notification: Performance of simCode: created initialization part: time 0.03995/11.93, allocations: 15.1 MB / 4.224 GB, free: 87.68 MB / 0.5733 GB Notification: Performance of simCode: created event and clocks part: time 1.601e-05/11.93, allocations: 0 / 4.224 GB, free: 87.68 MB / 0.5733 GB Notification: Performance of simCode: created simulation system equations: time 0.01344/11.95, allocations: 4.054 MB / 4.228 GB, free: 86.06 MB / 0.5733 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007503/11.95, allocations: 0.5751 MB / 4.229 GB, free: 85.89 MB / 0.5733 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02565/11.98, allocations: 9.804 MB / 4.238 GB, free: 83.05 MB / 0.5733 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004238/11.98, allocations: 2.827 MB / 4.241 GB, free: 81.97 MB / 0.5733 GB Notification: Performance of simCode: alias equations: time 0.01651/12, allocations: 5.902 MB / 4.247 GB, free: 78.43 MB / 0.5733 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003083/12, allocations: 291.4 kB / 4.247 GB, free: 78.17 MB / 0.5733 GB Notification: Performance of SimCode: time 2.846e-06/12, allocations: 0 / 4.247 GB, free: 78.17 MB / 0.5733 GB Notification: Performance of Templates: time 0.6706/12.67, allocations: 162.1 MB / 4.405 GB, free: 98.94 MB / 0.5733 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.pipe 2>&1)