Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph.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.TestFlow1Dfem2ph,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph") translateModel(ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001359/0.001359, allocations: 176.3 kB / 17.4 MB, free: 4.273 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.35/1.35, allocations: 205.4 MB / 223.5 MB, free: 9.008 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.0007537/0.0007537, allocations: 93.53 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3692/0.3692, allocations: 48.79 MB / 369 MB, free: 47.33 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005928/0.0005928, allocations: 12 kB / 439.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1176, allocations: 60.25 MB / 0.4884 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.894/5.012, allocations: 2.962 GB / 3.45 GB, free: 57.45 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/5.012, allocations: 86.3 kB / 3.45 GB, free: 57.37 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.154/6.167, allocations: 360 MB / 3.802 GB, free: 55.98 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.513e-06/6.167, allocations: 0 / 3.802 GB, free: 55.98 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001561/6.167, allocations: 112.9 kB / 3.802 GB, free: 55.98 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: 1653 * Number of variables: 1653 Notification: Performance of Generate backend data structure: time 0.05441/6.221, allocations: 15.51 MB / 3.817 GB, free: 53.44 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/6.221, allocations: 12.62 kB / 3.817 GB, free: 53.44 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008615/6.23, allocations: 1.037 MB / 3.818 GB, free: 53.16 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03867/6.269, allocations: 11.02 MB / 3.829 GB, free: 52.22 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003638/6.272, allocations: 2.177 MB / 3.831 GB, free: 51.52 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006008/6.278, allocations: 0.6465 MB / 3.831 GB, free: 51.52 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07512/6.353, allocations: 33.96 MB / 3.865 GB, free: 30.22 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000256/6.354, allocations: 34.27 kB / 3.865 GB, free: 30.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005082/6.359, allocations: 280.4 kB / 3.865 GB, free: 29.98 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001121/6.359, allocations: 168 kB / 3.865 GB, free: 29.82 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08192/6.441, allocations: 37.99 MB / 3.902 GB, free: 7.941 MB / 0.5261 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.3207/6.762, allocations: 119.2 MB / 4.019 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0644/6.826, allocations: 24.45 MB / 4.042 GB, free: 11.33 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04205/6.868, allocations: 19.66 MB / 4.062 GB, free: 6.77 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3116/7.18, allocations: 75.43 MB / 4.135 GB, free: 127.6 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000101/7.18, allocations: 89.12 kB / 4.135 GB, free: 127.5 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=530): time 6.152e-06/7.18, allocations: 4.75 kB / 4.135 GB, free: 127.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=530): time 0.4631/7.643, allocations: 146.3 MB / 4.278 GB, free: 94.5 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/7.643, allocations: 133.3 kB / 4.278 GB, free: 94.34 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004682/7.648, allocations: 4.292 MB / 4.283 GB, free: 91.06 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.004436/7.652, allocations: 116.3 kB / 4.283 GB, free: 91 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001499/7.654, allocations: 3.298 MB / 4.286 GB, free: 88.52 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.00524/7.659, allocations: 2.089 MB / 4.288 GB, free: 86.77 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003946/7.663, allocations: 227.2 kB / 4.288 GB, free: 86.72 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0006142/7.664, allocations: 0.842 MB / 4.289 GB, free: 85.95 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04198/7.706, allocations: 21.38 MB / 4.31 GB, free: 64.55 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2399/7.945, allocations: 27.01 MB / 4.336 GB, free: 121.6 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08501/8.031, allocations: 42.64 MB / 4.378 GB, free: 114.4 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002119/8.031, allocations: 54.72 kB / 4.378 GB, free: 114.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1447) (initialization): time 0.2088/8.24, allocations: 75.51 MB / 4.452 GB, free: 101.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.002328/8.242, allocations: 5.729 MB / 4.457 GB, free: 93.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001543/8.242, allocations: 188 kB / 4.457 GB, free: 93.01 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1173/8.359, allocations: 55.54 MB / 4.512 GB, free: 51.38 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3367/8.696, allocations: 41.03 MB / 4.552 GB, free: 112.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09005/8.786, allocations: 39.73 MB / 4.591 GB, free: 111.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03134/8.818, allocations: 6.877 MB / 4.597 GB, free: 111.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004449/8.822, allocations: 0.9691 MB / 4.598 GB, free: 111.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/8.822, allocations: 6.094 kB / 4.598 GB, free: 111.5 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2141/9.036, allocations: 74.96 MB / 4.671 GB, free: 82.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004078/9.037, allocations: 193 kB / 4.672 GB, free: 82.11 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1515/9.188, allocations: 55.54 MB / 4.726 GB, free: 31.88 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3447/9.533, allocations: 41.02 MB / 4.766 GB, free: 112.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09502/9.628, allocations: 39.74 MB / 4.805 GB, free: 111 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03357/9.662, allocations: 6.523 MB / 4.811 GB, free: 110.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005879/9.668, allocations: 0.9638 MB / 4.812 GB, free: 110.5 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 870 * Number of states: 0 () * Number of discrete variables: 13 (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,hex.dew.phase,hex.bubble.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1243): * Single equations (assignments): 1242 * 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 {12 193} Notification: Performance of prepare postOptimizeDAE: time 0.0107/9.678, allocations: 2.186 MB / 4.814 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003636/9.682, allocations: 474.1 kB / 4.815 GB, free: 109.9 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6314/10.31, allocations: 136.5 MB / 4.948 GB, free: 104.1 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001028/10.31, allocations: 99.66 kB / 4.948 GB, free: 104.1 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.365e-05/10.31, allocations: 17.16 kB / 4.948 GB, free: 104.1 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001249/10.31, allocations: 27.89 kB / 4.948 GB, free: 104.1 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4604/10.77, allocations: 191.1 MB / 5.135 GB, free: 26.81 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.162e-05/10.77, allocations: 0 / 5.135 GB, free: 26.81 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.3943/11.17, allocations: 50.62 MB / 5.184 GB, free: 109.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09796/11.27, allocations: 41.82 MB / 5.225 GB, free: 107.4 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005186/11.27, allocations: 0.7229 MB / 5.226 GB, free: 107.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.9372/12.21, allocations: 182.4 MB / 5.404 GB, free: 105.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/12.21, allocations: 5.031 kB / 5.404 GB, free: 105.4 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4044/12.61, allocations: 125.5 MB / 5.526 GB, free: 55.85 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009377/12.62, allocations: 2.997 MB / 5.529 GB, free: 52.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005245/12.63, allocations: 371 kB / 5.53 GB, free: 52.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.031/12.66, allocations: 6.114 MB / 5.535 GB, free: 46.34 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007342/12.67, allocations: 0.8565 MB / 5.536 GB, free: 45.49 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004265/12.67, allocations: 0.4989 MB / 5.537 GB, free: 44.99 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003616/12.67, allocations: 2.519 MB / 5.539 GB, free: 42.46 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.71e-07/12.67, allocations: 0 / 5.539 GB, free: 42.46 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.03432/12.71, allocations: 5.885 MB / 5.545 GB, free: 36.66 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 23 (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],MetalWall.T[1],MetalWall.T[2],MetalWall.T[3],MetalWall.T[4],MetalWall.T[5],MetalWall.T[6],MetalWall.T[7],MetalWall.T[8],MetalWall.T[9],MetalWall.T[10],MetalWall.T[11]) * Number of discrete variables: 30 ($cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,$cse28.region3boundary,$cse29.region3boundary,$cse30.region3boundary,$cse31.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (477): * Single equations (assignments): 459 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 17 * 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: 1 {(12,68.8%) 80} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01164/12.72, allocations: 1.375 MB / 5.546 GB, free: 35.57 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 1.005/13.73, allocations: 194.1 MB / 5.736 GB, free: 51.89 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/13.73, allocations: 4 kB / 5.736 GB, free: 51.88 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.6187/14.34, allocations: 78.63 MB / 5.813 GB, free: 101.2 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01225/14.36, allocations: 0.8451 MB / 5.814 GB, free: 101.2 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06827/14.42, allocations: 32.22 MB / 5.845 GB, free: 94.83 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004006/14.43, allocations: 3.233 MB / 5.848 GB, free: 93.98 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.02923/14.46, allocations: 9.002 MB / 5.857 GB, free: 93.09 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006204/14.46, allocations: 0.597 MB / 5.857 GB, free: 93.08 MB / 0.5886 GB Notification: Performance of SimCode: time 1.122e-06/14.46, allocations: 0 / 5.857 GB, free: 93.08 MB / 0.5886 GB Notification: Performance of Templates: time 1.21/15.67, allocations: 454.9 MB / 6.302 GB, free: 94.92 MB / 0.6042 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph.pipe 2>&1)