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.002633/0.002633, allocations: 180.8 kB / 8.344 MB, free: 0.7148 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.89/1.89, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.001022/0.001022, allocations: 89.41 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5645/0.5645, allocations: 48.77 MB / 358.8 MB, free: 53.15 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.477e-05/1.454e-05, allocations: 4 kB / 425.3 MB, free: 8.223 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1423, allocations: 60.25 MB / 485.6 MB, free: 11.82 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.494/8.637, allocations: 2.936 GB / 3.41 GB, free: 70.15 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/8.637, allocations: 78.58 kB / 3.411 GB, free: 70.12 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.486/10.12, allocations: 303.7 MB / 3.707 GB, free: 58.58 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.452e-06/10.12, allocations: 0 / 3.707 GB, free: 58.58 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0001504/10.12, allocations: 91.5 kB / 3.707 GB, free: 58.58 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: 1341 * Number of variables: 1341 Notification: Performance of Generate backend data structure: time 0.0423/10.17, allocations: 9.881 MB / 3.717 GB, free: 57.28 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/10.17, allocations: 9.406 kB / 3.717 GB, free: 57.28 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007659/10.17, allocations: 0.7623 MB / 3.718 GB, free: 57.06 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01185/10.18, allocations: 2.9 MB / 3.72 GB, free: 56.62 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003713/10.19, allocations: 174 kB / 3.721 GB, free: 56.62 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00512/10.19, allocations: 305.7 kB / 3.721 GB, free: 56.61 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04115/10.23, allocations: 11.17 MB / 3.732 GB, free: 56.59 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03334/10.27, allocations: 8.632 MB / 3.74 GB, free: 56.29 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003019/10.27, allocations: 3.375 kB / 3.74 GB, free: 56.29 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003185/10.27, allocations: 0 / 3.74 GB, free: 56.29 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002658/10.27, allocations: 202.8 kB / 3.74 GB, free: 56.28 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.05425/10.32, allocations: 24.24 MB / 3.764 GB, free: 45.89 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005565/10.33, allocations: 2.871 MB / 3.767 GB, free: 45.85 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00358/10.33, allocations: 1.882 MB / 3.769 GB, free: 45.84 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1232/10.46, allocations: 63.99 MB / 3.831 GB, free: 21.72 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001009/10.46, allocations: 67.94 kB / 3.831 GB, free: 21.68 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=240): time 5.029e-06/10.46, allocations: 0 / 3.831 GB, free: 21.68 MB / 0.5265 GB Notification: Performance of matching and sorting (n=240): time 0.0331/10.49, allocations: 9.89 MB / 3.841 GB, free: 21.15 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000968/10.49, allocations: 76.22 kB / 3.841 GB, free: 37.09 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005245/10.5, allocations: 3.341 MB / 3.844 GB, free: 36.63 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.001941/10.5, allocations: 29.11 kB / 3.844 GB, free: 36.6 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.002527/10.5, allocations: 3.133 MB / 3.847 GB, free: 34.51 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.002523/10.5, allocations: 0.9466 MB / 3.848 GB, free: 33.98 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005188/10.5, allocations: 0 / 3.848 GB, free: 33.98 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0005978/10.5, allocations: 0.7125 MB / 3.849 GB, free: 33.64 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004676/10.51, allocations: 3.48 MB / 3.852 GB, free: 33.62 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008004/10.52, allocations: 8.549 MB / 3.861 GB, free: 25.35 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01386/10.53, allocations: 5.419 MB / 3.866 GB, free: 20.84 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002101/10.53, allocations: 52 kB / 3.866 GB, free: 20.79 MB / 0.5421 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.04177/10.57, allocations: 13.98 MB / 3.88 GB, free: 8.77 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 0.495/11.07, allocations: 71.35 MB / 3.949 GB, free: 29.32 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006308/11.07, allocations: 182.1 kB / 3.95 GB, free: 29.32 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03672/11.1, allocations: 9.861 MB / 3.959 GB, free: 29.3 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005943/11.11, allocations: 1.745 MB / 3.961 GB, free: 29.29 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01969/11.13, allocations: 9.954 MB / 3.971 GB, free: 28.74 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008783/11.14, allocations: 1.109 MB / 3.972 GB, free: 28.68 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001518/11.14, allocations: 0.6403 MB / 3.972 GB, free: 28.68 MB / 0.5577 GB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/11.14, allocations: 6.156 kB / 3.972 GB, free: 28.68 MB / 0.5577 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02986/11.17, allocations: 13.34 MB / 3.985 GB, free: 28.19 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001477/11.17, allocations: 183.2 kB / 3.986 GB, free: 28.19 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04973/11.22, allocations: 9.854 MB / 3.995 GB, free: 28.16 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006344/11.23, allocations: 1.735 MB / 3.997 GB, free: 28 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02132/11.25, allocations: 9.955 MB / 4.007 GB, free: 27.32 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009234/11.26, allocations: 0.7869 MB / 4.007 GB, free: 27.15 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003318/11.26, allocations: 0.6327 MB / 4.008 GB, free: 27.15 MB / 0.5577 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 () * 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.004441/11.27, allocations: 0.5129 MB / 4.008 GB, free: 26.76 MB / 0.5577 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001452/11.27, allocations: 358.9 kB / 4.009 GB, free: 26.57 MB / 0.5577 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05027/11.32, allocations: 31.24 MB / 4.039 GB, free: 23.2 MB / 0.5577 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001253/11.32, allocations: 65.55 kB / 4.039 GB, free: 23.19 MB / 0.5577 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.203e-05/11.32, allocations: 0 / 4.039 GB, free: 23.19 MB / 0.5577 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001263/11.32, allocations: 17.33 kB / 4.039 GB, free: 23.19 MB / 0.5577 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06508/11.38, allocations: 42.1 MB / 4.081 GB, free: 5.18 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.349e-05/11.38, allocations: 0 / 4.081 GB, free: 5.18 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002902/11.39, allocations: 402 kB / 4.081 GB, free: 5.121 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02897/11.42, allocations: 6.876 MB / 4.088 GB, free: 0.9414 MB / 0.5577 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00165/11.42, allocations: 89.89 kB / 4.088 GB, free: 0.8867 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.491/11.91, allocations: 27.29 MB / 4.114 GB, free: 86.73 MB / 0.5577 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/11.91, allocations: 0 / 4.114 GB, free: 86.73 MB / 0.5577 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0356/11.94, allocations: 13.3 MB / 4.127 GB, free: 86.07 MB / 0.5577 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003898/11.95, allocations: 0.8883 MB / 4.128 GB, free: 85.69 MB / 0.5577 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001194/11.95, allocations: 44.03 kB / 4.128 GB, free: 85.69 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003899/11.95, allocations: 229.2 kB / 4.128 GB, free: 85.67 MB / 0.5577 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001386/11.95, allocations: 232.7 kB / 4.129 GB, free: 85.66 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003554/11.96, allocations: 102.8 kB / 4.129 GB, free: 85.66 MB / 0.5577 GB Notification: Performance of sorting global known variables: time 0.004322/11.96, allocations: 2.106 MB / 4.131 GB, free: 85.52 MB / 0.5577 GB Notification: Performance of sort global known variables: time 3.1e-07/11.96, allocations: 1.688 kB / 4.131 GB, free: 85.52 MB / 0.5577 GB Notification: Performance of remove unused functions: time 0.02599/11.99, allocations: 2.896 MB / 4.134 GB, free: 85.34 MB / 0.5577 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 () * 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.01011/12, allocations: 1.367 MB / 4.135 GB, free: 85.2 MB / 0.5577 GB Notification: Performance of simCode: created initialization part: time 0.03926/12.04, allocations: 14.99 MB / 4.15 GB, free: 84.8 MB / 0.5577 GB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/12.04, allocations: 0 / 4.15 GB, free: 84.8 MB / 0.5577 GB Notification: Performance of simCode: created simulation system equations: time 0.01225/12.05, allocations: 4.062 MB / 4.154 GB, free: 84.39 MB / 0.5577 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005315/12.05, allocations: 0.5608 MB / 4.154 GB, free: 84.38 MB / 0.5577 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02613/12.08, allocations: 9.567 MB / 4.163 GB, free: 82.97 MB / 0.5577 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004173/12.08, allocations: 2.771 MB / 4.166 GB, free: 82.18 MB / 0.5577 GB Notification: Performance of simCode: alias equations: time 0.01645/12.1, allocations: 5.781 MB / 4.172 GB, free: 82.14 MB / 0.5577 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002041/12.1, allocations: 280.5 kB / 4.172 GB, free: 82.13 MB / 0.5577 GB Notification: Performance of SimCode: time 2.184e-06/12.1, allocations: 3.938 kB / 4.172 GB, free: 82.13 MB / 0.5577 GB Notification: Performance of Templates: time 0.6068/12.71, allocations: 160.5 MB / 4.329 GB, free: 85.68 MB / 0.5577 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)