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.001732/0.001732, allocations: 179.9 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.37/1.37, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0009028/0.0009028, allocations: 97.77 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3728/0.3728, allocations: 48.78 MB / 367.9 MB, free: 47.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002928/0.0002929, allocations: 8 kB / 438.6 MB, free: 10.99 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1059, allocations: 60.24 MB / 498.9 MB, free: 14.61 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.709/5.815, allocations: 2.961 GB / 3.448 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/5.816, allocations: 85.45 kB / 3.449 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.127/6.943, allocations: 360.3 MB / 3.8 GB, free: 34.25 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.306e-06/6.943, allocations: 4 kB / 3.8 GB, free: 34.25 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002111/6.943, allocations: 112 kB / 3.8 GB, free: 34.14 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.0662/7.009, allocations: 15.57 MB / 3.816 GB, free: 18.9 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.198e-05/7.009, allocations: 12.02 kB / 3.816 GB, free: 18.89 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.013/7.022, allocations: 1.041 MB / 3.817 GB, free: 17.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04491/7.067, allocations: 10.99 MB / 3.827 GB, free: 7.801 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004032/7.071, allocations: 2.181 MB / 3.83 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008055/7.08, allocations: 0.6444 MB / 3.83 GB, free: 5.383 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3478/7.427, allocations: 33.91 MB / 3.863 GB, free: 34.78 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002725/7.428, allocations: 30.66 kB / 3.863 GB, free: 34.78 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008502/7.436, allocations: 280 kB / 3.864 GB, free: 34.78 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001393/7.436, allocations: 170.8 kB / 3.864 GB, free: 34.78 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1018/7.538, allocations: 37.99 MB / 3.901 GB, free: 34.73 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.1522/7.69, allocations: 119.2 MB / 4.017 GB, free: 212 kB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3681/8.059, allocations: 25.59 MB / 4.042 GB, free: 101.8 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1296/8.188, allocations: 75.4 MB / 4.116 GB, free: 58.98 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001942/8.188, allocations: 87.67 kB / 4.116 GB, free: 58.94 MB / 0.573 GB Notification: Performance of pre-optimization done (n=530): time 2.308e-05/8.188, allocations: 4.25 kB / 4.116 GB, free: 58.94 MB / 0.573 GB Notification: Performance of matching and sorting (n=530): time 0.5525/8.741, allocations: 146.2 MB / 4.259 GB, free: 9.695 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.752e-05/8.741, allocations: 133.3 kB / 4.259 GB, free: 9.543 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004966/8.746, allocations: 3.834 MB / 4.263 GB, free: 6.402 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.006732/8.753, allocations: 119.3 kB / 4.263 GB, free: 6.281 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.002245/8.755, allocations: 3.298 MB / 4.266 GB, free: 3.602 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.007724/8.763, allocations: 2.088 MB / 4.268 GB, free: 1.551 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006355/8.769, allocations: 232 kB / 4.268 GB, free: 1.324 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0009087/8.77, allocations: 0.8404 MB / 4.269 GB, free: 488 kB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3567/9.127, allocations: 21.38 MB / 4.29 GB, free: 95.28 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05134/9.178, allocations: 26.97 MB / 4.316 GB, free: 88.27 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05156/9.23, allocations: 19.99 MB / 4.336 GB, free: 88.17 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002215/9.23, allocations: 56.53 kB / 4.336 GB, free: 88.17 MB / 0.573 GB Notification: Performance of matching and sorting (n=1447) (initialization): time 0.249/9.479, allocations: 75.51 MB / 4.41 GB, free: 74.54 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.3248/9.804, allocations: 75.72 MB / 4.483 GB, free: 73.26 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006704/9.805, allocations: 190.8 kB / 4.484 GB, free: 73.26 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1453/9.95, allocations: 55.56 MB / 4.538 GB, free: 73.11 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.133/10.08, allocations: 40.98 MB / 4.578 GB, free: 71.05 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0997/10.18, allocations: 39.73 MB / 4.617 GB, free: 66.61 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03896/10.22, allocations: 6.87 MB / 4.623 GB, free: 62.05 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007614/10.23, allocations: 0.9689 MB / 4.624 GB, free: 61.44 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/10.23, allocations: 4 kB / 4.624 GB, free: 61.44 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5241/10.75, allocations: 75.5 MB / 4.698 GB, free: 69.45 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00057/10.75, allocations: 192.5 kB / 4.698 GB, free: 69.45 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1363/10.89, allocations: 55.56 MB / 4.753 GB, free: 68.95 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1309/11.02, allocations: 40.97 MB / 4.793 GB, free: 66.89 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09761/11.12, allocations: 39.73 MB / 4.831 GB, free: 61.91 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03538/11.15, allocations: 6.533 MB / 4.838 GB, free: 57.28 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007453/11.16, allocations: 0.9579 MB / 4.839 GB, free: 56.68 MB / 0.573 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.01299/11.17, allocations: 2.186 MB / 4.841 GB, free: 55.43 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005509/11.18, allocations: 470.1 kB / 4.841 GB, free: 54.96 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6994/11.88, allocations: 136.5 MB / 4.975 GB, free: 73.36 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001068/11.88, allocations: 104.2 kB / 4.975 GB, free: 73.36 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.132e-05/11.88, allocations: 15.62 kB / 4.975 GB, free: 73.36 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001375/11.88, allocations: 28.97 kB / 4.975 GB, free: 73.36 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7773/12.66, allocations: 192.3 MB / 5.163 GB, free: 74.52 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-05/12.66, allocations: 0 / 5.163 GB, free: 74.52 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1654/12.82, allocations: 50.55 MB / 5.212 GB, free: 72.77 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1022/12.93, allocations: 41.82 MB / 5.253 GB, free: 58.05 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005851/12.93, allocations: 0.721 MB / 5.253 GB, free: 57.81 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.043/13.97, allocations: 190.1 MB / 5.439 GB, free: 68.5 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/13.97, allocations: 3.875 kB / 5.439 GB, free: 68.5 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6966/14.67, allocations: 125.5 MB / 5.562 GB, free: 64.63 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01021/14.68, allocations: 3.005 MB / 5.565 GB, free: 64.28 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004977/14.69, allocations: 370.5 kB / 5.565 GB, free: 64.28 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0334/14.72, allocations: 6.107 MB / 5.571 GB, free: 64.27 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007304/14.73, allocations: 0.8515 MB / 5.572 GB, free: 64.26 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00418/14.73, allocations: 0.4993 MB / 5.572 GB, free: 64.26 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003887/14.73, allocations: 2.522 MB / 5.575 GB, free: 64.08 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.91e-07/14.73, allocations: 2.188 kB / 5.575 GB, free: 64.08 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.03774/14.77, allocations: 5.874 MB / 5.58 GB, free: 63.91 MB / 0.573 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.009656/14.78, allocations: 1.381 MB / 5.582 GB, free: 63.77 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 1.058/15.84, allocations: 193.9 MB / 5.771 GB, free: 73.65 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/15.84, allocations: 1 kB / 5.771 GB, free: 73.65 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.3997/16.24, allocations: 78.57 MB / 5.848 GB, free: 71.57 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008097/16.25, allocations: 0.7567 MB / 5.849 GB, free: 71.52 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06676/16.32, allocations: 32.18 MB / 5.88 GB, free: 57.78 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002612/16.32, allocations: 3.329 MB / 5.883 GB, free: 55.47 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.02591/16.34, allocations: 9.001 MB / 5.892 GB, free: 49.73 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006023/16.35, allocations: 0.601 MB / 5.893 GB, free: 49.33 MB / 0.573 GB Notification: Performance of SimCode: time 9.51e-07/16.35, allocations: 3 kB / 5.893 GB, free: 49.33 MB / 0.573 GB Notification: Performance of Templates: time 1.026/17.38, allocations: 452.8 MB / 6.335 GB, free: 29.26 MB / 0.5886 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)