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.0009904/0.0009905, allocations: 181.4 kB / 8.346 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.377/1.377, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.0008881/0.0008881, allocations: 83.08 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.4448/0.4448, allocations: 48.77 MB / 358.8 MB, free: 53.14 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.592e-05/1.595e-05, allocations: 4 kB / 425.3 MB, free: 8.234 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.125, allocations: 60.25 MB / 485.5 MB, free: 11.83 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.416/6.541, allocations: 2.961 GB / 3.435 GB, free: 45.16 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/6.541, allocations: 77.77 kB / 3.435 GB, free: 45.12 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.472/8.013, allocations: 356.8 MB / 3.783 GB, free: 55.28 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.843e-06/8.013, allocations: 0 / 3.783 GB, free: 55.28 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0001489/8.013, allocations: 114.5 kB / 3.783 GB, free: 55.28 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: 1653 * Number of variables: 1653 Notification: Performance of Generate backend data structure: time 0.06413/8.077, allocations: 15.43 MB / 3.798 GB, free: 52.83 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/8.077, allocations: 15.28 kB / 3.798 GB, free: 52.83 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01088/8.088, allocations: 1.044 MB / 3.799 GB, free: 52.55 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04595/8.134, allocations: 11 MB / 3.81 GB, free: 51.03 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004816/8.139, allocations: 1.881 MB / 3.812 GB, free: 50.05 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008259/8.147, allocations: 408.4 kB / 3.812 GB, free: 50.04 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.07525/8.222, allocations: 25.97 MB / 3.838 GB, free: 33.87 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06149/8.284, allocations: 20.88 MB / 3.858 GB, free: 16.92 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004127/8.284, allocations: 29.91 kB / 3.858 GB, free: 16.91 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01077/8.295, allocations: 20 kB / 3.858 GB, free: 16.89 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001906/8.295, allocations: 172 kB / 3.858 GB, free: 16.72 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.486/8.781, allocations: 119.2 MB / 3.975 GB, free: 4.629 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04058/8.822, allocations: 14.12 MB / 3.989 GB, free: 4.543 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02097/8.843, allocations: 10.82 MB / 3.999 GB, free: 3.055 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1432/8.986, allocations: 75.68 MB / 4.073 GB, free: 5.715 MB / 0.5733 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001273/8.986, allocations: 93.66 kB / 4.073 GB, free: 5.633 MB / 0.5733 GB Notification: Performance of pre-optimization done (n=528): time 9.377e-06/8.986, allocations: 2.625 kB / 4.073 GB, free: 5.633 MB / 0.5733 GB Notification: Performance of matching and sorting (n=528): time 0.6592/9.646, allocations: 91.14 MB / 4.162 GB, free: 117.8 MB / 0.5733 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/9.646, allocations: 129.5 kB / 4.162 GB, free: 117.7 MB / 0.5733 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004358/9.65, allocations: 3.608 MB / 4.166 GB, free: 117.4 MB / 0.5733 GB Notification: Performance of collectPreVariables (initialization): time 0.006654/9.657, allocations: 25.7 kB / 4.166 GB, free: 117.4 MB / 0.5733 GB Notification: Performance of collectInitialEqns (initialization): time 0.001616/9.658, allocations: 3.307 MB / 4.169 GB, free: 115.7 MB / 0.5733 GB Notification: Performance of collectInitialBindings (initialization): time 0.006656/9.665, allocations: 2.017 MB / 4.171 GB, free: 114.6 MB / 0.5733 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006462/9.672, allocations: 0 / 4.171 GB, free: 114.6 MB / 0.5733 GB Notification: Performance of setup shared object (initialization): time 0.001361/9.673, allocations: 0.8414 MB / 4.172 GB, free: 114.2 MB / 0.5733 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03456/9.708, allocations: 12.43 MB / 4.184 GB, free: 114.2 MB / 0.5733 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04179/9.749, allocations: 17.95 MB / 4.201 GB, free: 107.1 MB / 0.5733 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04268/9.792, allocations: 11.5 MB / 4.213 GB, free: 106.6 MB / 0.5733 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003375/9.793, allocations: 53.12 kB / 4.213 GB, free: 106.6 MB / 0.5733 GB Notification: Performance of matching and sorting (n=1447) (initialization): time 0.2315/10.02, allocations: 51.01 MB / 4.263 GB, free: 68.71 MB / 0.5733 GB Notification: Performance of prepare postOptimizeDAE: time 0.3208/10.34, allocations: 75.72 MB / 4.337 GB, free: 56.14 MB / 0.5733 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008337/10.35, allocations: 190.6 kB / 4.337 GB, free: 56.14 MB / 0.5733 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1121/10.46, allocations: 45.22 MB / 4.381 GB, free: 54.88 MB / 0.5733 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1425/10.6, allocations: 40.98 MB / 4.421 GB, free: 52.82 MB / 0.5733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07024/10.67, allocations: 29.03 MB / 4.449 GB, free: 52.09 MB / 0.5733 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03723/10.71, allocations: 6.655 MB / 4.456 GB, free: 47.46 MB / 0.5733 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007411/10.72, allocations: 0.9668 MB / 4.457 GB, free: 46.85 MB / 0.5733 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/10.72, allocations: 4 kB / 4.457 GB, free: 46.85 MB / 0.5733 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4631/11.18, allocations: 51.38 MB / 4.507 GB, free: 92.5 MB / 0.5733 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007549/11.18, allocations: 190.3 kB / 4.507 GB, free: 92.5 MB / 0.5733 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1112/11.29, allocations: 45.17 MB / 4.551 GB, free: 91.08 MB / 0.5733 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1407/11.43, allocations: 40.97 MB / 4.591 GB, free: 89.02 MB / 0.5733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1045/11.54, allocations: 29.03 MB / 4.62 GB, free: 88.4 MB / 0.5733 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06125/11.6, allocations: 6.305 MB / 4.626 GB, free: 84.41 MB / 0.5733 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008221/11.61, allocations: 0.9637 MB / 4.627 GB, free: 83.8 MB / 0.5733 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 () * 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.013/11.62, allocations: 0.5602 MB / 4.627 GB, free: 83.48 MB / 0.5733 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006464/11.63, allocations: 470.7 kB / 4.628 GB, free: 83.02 MB / 0.5733 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6658/12.29, allocations: 112.4 MB / 4.737 GB, free: 88.97 MB / 0.5733 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001188/12.29, allocations: 91.97 kB / 4.737 GB, free: 88.97 MB / 0.5733 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.907e-05/12.29, allocations: 16.94 kB / 4.738 GB, free: 88.97 MB / 0.5733 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001644/12.29, allocations: 27.48 kB / 4.738 GB, free: 88.97 MB / 0.5733 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4212/12.71, allocations: 165.3 MB / 4.899 GB, free: 19.97 MB / 0.5733 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.856e-05/12.71, allocations: 0 / 4.899 GB, free: 19.97 MB / 0.5733 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.4819/13.19, allocations: 50.57 MB / 4.948 GB, free: 94.18 MB / 0.5733 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08039/13.28, allocations: 33.36 MB / 4.981 GB, free: 92.26 MB / 0.5733 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006658/13.28, allocations: 0.6744 MB / 4.982 GB, free: 92.26 MB / 0.5733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.9572/14.24, allocations: 148.7 MB / 5.127 GB, free: 93.82 MB / 0.5733 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/14.24, allocations: 0 / 5.127 GB, free: 93.82 MB / 0.5733 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.383/14.62, allocations: 100.9 MB / 5.225 GB, free: 91.89 MB / 0.5733 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0113/14.63, allocations: 2.956 MB / 5.228 GB, free: 91.41 MB / 0.5733 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00722/14.64, allocations: 277.8 kB / 5.229 GB, free: 91.41 MB / 0.5733 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03519/14.68, allocations: 6.034 MB / 5.234 GB, free: 88.68 MB / 0.5733 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.008189/14.68, allocations: 0.8718 MB / 5.235 GB, free: 88.48 MB / 0.5733 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006056/14.69, allocations: 0.5148 MB / 5.236 GB, free: 88.3 MB / 0.5733 GB Notification: Performance of sorting global known variables: time 0.00431/14.69, allocations: 2.303 MB / 5.238 GB, free: 86.84 MB / 0.5733 GB Notification: Performance of sort global known variables: time 1.7e-07/14.69, allocations: 0.5625 kB / 5.238 GB, free: 86.84 MB / 0.5733 GB Notification: Performance of remove unused functions: time 0.03887/14.73, allocations: 5.35 MB / 5.243 GB, free: 81.64 MB / 0.5733 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: 24 ($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.region3boundary,$cse27.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (471): * Single equations (assignments): 457 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * 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.01097/14.74, allocations: 1.374 MB / 5.245 GB, free: 80.68 MB / 0.5733 GB Notification: Performance of simCode: created initialization part: time 1.121/15.87, allocations: 174.8 MB / 5.415 GB, free: 88.64 MB / 0.5733 GB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/15.87, allocations: 0 / 5.415 GB, free: 88.64 MB / 0.5733 GB Notification: Performance of simCode: created simulation system equations: time 0.3795/16.25, allocations: 72.31 MB / 5.486 GB, free: 45.98 MB / 0.5733 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009068/16.25, allocations: 0.6366 MB / 5.487 GB, free: 45.54 MB / 0.5733 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05286/16.31, allocations: 21.73 MB / 5.508 GB, free: 28.01 MB / 0.5733 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003698/16.31, allocations: 3.269 MB / 5.511 GB, free: 24.92 MB / 0.5733 GB Notification: Performance of simCode: alias equations: time 0.03185/16.34, allocations: 10.53 MB / 5.521 GB, free: 14.47 MB / 0.5733 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008678/16.35, allocations: 0.6288 MB / 5.522 GB, free: 13.88 MB / 0.5733 GB Notification: Performance of SimCode: time 6.81e-07/16.35, allocations: 0 / 5.522 GB, free: 13.88 MB / 0.5733 GB Notification: Performance of Templates: time 1.546/17.9, allocations: 446 MB / 5.957 GB, free: 73.95 MB / 0.589 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)