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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009496/0.0009497, allocations: 193.1 kB / 8.14 MB, free: 2.203 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9879/0.9879, allocations: 205.2 MB / 213.7 MB, free: 13.84 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.0008262/0.0008264, allocations: 90.28 kB / 261.7 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2769/0.2769, allocations: 48.76 MB / 358.4 MB, free: 53.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.824e-06/7.844e-06, allocations: 4 kB / 424.7 MB, free: 8.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08599/0.08601, allocations: 60.26 MB / 485 MB, free: 11.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.77/3.856, allocations: 2.96 GB / 3.434 GB, free: 96.46 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001811/3.857, allocations: 81.12 kB / 3.434 GB, free: 96.39 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.134/4.991, allocations: 356 MB / 3.782 GB, free: 43.98 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001271/4.991, allocations: 106.3 kB / 3.782 GB, free: 43.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.05834/5.049, allocations: 14.55 MB / 3.796 GB, free: 42.22 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/5.049, allocations: 7.031 kB / 3.796 GB, free: 42.22 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009087/5.058, allocations: 1.05 MB / 3.797 GB, free: 41.94 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04328/5.101, allocations: 10.13 MB / 3.807 GB, free: 40.94 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003651/5.105, allocations: 1.941 MB / 3.809 GB, free: 40.21 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00611/5.111, allocations: 397.8 kB / 3.809 GB, free: 40.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05747/5.169, allocations: 26.35 MB / 3.835 GB, free: 40.16 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04621/5.215, allocations: 21.32 MB / 3.856 GB, free: 38.17 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001938/5.215, allocations: 29.41 kB / 3.856 GB, free: 38.17 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00641/5.222, allocations: 20.41 kB / 3.856 GB, free: 38.17 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001353/5.222, allocations: 168.5 kB / 3.856 GB, free: 38.17 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2854/5.507, allocations: 119.8 MB / 3.973 GB, free: 94 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0196/5.527, allocations: 13.26 MB / 3.986 GB, free: 93.92 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01578/5.543, allocations: 11.18 MB / 3.997 GB, free: 93.89 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1401/5.683, allocations: 79.38 MB / 4.074 GB, free: 49.19 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.326e-05/5.683, allocations: 88.62 kB / 4.075 GB, free: 49.14 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=530): time 1.027e-05/5.683, allocations: 4 kB / 4.075 GB, free: 49.14 MB / 0.5417 GB Notification: Performance of matching and sorting (n=530): time 0.3536/6.037, allocations: 93.31 MB / 4.166 GB, free: 9.648 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/6.037, allocations: 129.3 kB / 4.166 GB, free: 9.5 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003788/6.04, allocations: 3.604 MB / 4.169 GB, free: 6.434 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.004309/6.045, allocations: 32.33 kB / 4.169 GB, free: 6.398 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001357/6.046, allocations: 3.212 MB / 4.172 GB, free: 3.801 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.004944/6.051, allocations: 2.021 MB / 4.174 GB, free: 2.074 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001906/6.053, allocations: 0 / 4.174 GB, free: 2.074 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0004869/6.053, allocations: 0.8401 MB / 4.175 GB, free: 1.371 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05783/6.111, allocations: 15.83 MB / 4.191 GB, free: 0 / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1739/6.285, allocations: 17.6 MB / 4.208 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01719/6.302, allocations: 10.72 MB / 4.218 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001567/6.303, allocations: 57.66 kB / 4.218 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1447) (initialization): time 0.1627/6.465, allocations: 50.73 MB / 4.268 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.01611/6.482, allocations: 75.59 MB / 4.342 GB, free: 59.49 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005082/6.482, allocations: 190.7 kB / 4.342 GB, free: 59.49 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09838/6.58, allocations: 40.59 MB / 4.382 GB, free: 52.12 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1429/6.723, allocations: 42.78 MB / 4.423 GB, free: 33.45 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05017/6.774, allocations: 27.97 MB / 4.451 GB, free: 9.645 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03658/6.81, allocations: 6.763 MB / 4.457 GB, free: 4.559 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005719/6.816, allocations: 0.8216 MB / 4.458 GB, free: 3.918 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/6.816, allocations: 4 kB / 4.458 GB, free: 3.914 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3488/7.165, allocations: 51.13 MB / 4.508 GB, free: 128.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008633/7.166, allocations: 188.8 kB / 4.508 GB, free: 128.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09981/7.266, allocations: 40.59 MB / 4.548 GB, free: 126.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1421/7.408, allocations: 42.77 MB / 4.59 GB, free: 122.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04726/7.455, allocations: 27.98 MB / 4.617 GB, free: 111.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03553/7.491, allocations: 6.411 MB / 4.623 GB, free: 107 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00596/7.497, allocations: 0.8227 MB / 4.624 GB, free: 106.4 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1241): * Single equations (assignments): 1240 * 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 195} Notification: Performance of prepare postOptimizeDAE: time 0.01025/7.507, allocations: 0.5569 MB / 4.625 GB, free: 106 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008337/7.515, allocations: 1.131 MB / 4.626 GB, free: 105.2 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5383/8.054, allocations: 102 MB / 4.725 GB, free: 122 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001148/8.054, allocations: 100.7 kB / 4.725 GB, free: 122 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.742e-05/8.054, allocations: 21.16 kB / 4.725 GB, free: 122 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001267/8.054, allocations: 26.06 kB / 4.725 GB, free: 122 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.399/8.453, allocations: 146.4 MB / 4.868 GB, free: 76.59 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.427e-05/8.453, allocations: 0 / 4.868 GB, free: 76.59 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.353/8.806, allocations: 52.99 MB / 4.92 GB, free: 127 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07848/8.885, allocations: 31.6 MB / 4.951 GB, free: 125.8 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005225/8.89, allocations: 0.6902 MB / 4.952 GB, free: 125.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6054/9.495, allocations: 142.8 MB / 5.091 GB, free: 78.72 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/9.495, allocations: 0 / 5.091 GB, free: 78.72 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.5381/10.03, allocations: 107.1 MB / 5.196 GB, free: 120.8 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01055/10.04, allocations: 2.932 MB / 5.199 GB, free: 120.5 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00675/10.05, allocations: 312.6 kB / 5.199 GB, free: 120.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03399/10.08, allocations: 6.205 MB / 5.205 GB, free: 119.8 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004969/10.09, allocations: 0.6375 MB / 5.205 GB, free: 119.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004432/10.09, allocations: 0.4948 MB / 5.206 GB, free: 119.8 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.003507/10.1, allocations: 2.3 MB / 5.208 GB, free: 119.6 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.04091/10.14, allocations: 5.184 MB / 5.213 GB, free: 119.5 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: 28 ($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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (475): * Single equations (assignments): 459 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * 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.01272/10.15, allocations: 1.478 MB / 5.215 GB, free: 119.2 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.9673/11.12, allocations: 171.1 MB / 5.382 GB, free: 124.3 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/11.12, allocations: 4.938 kB / 5.382 GB, free: 124.3 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.3807/11.5, allocations: 71.62 MB / 5.452 GB, free: 117.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006208/11.51, allocations: 0.6131 MB / 5.452 GB, free: 116.9 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05368/11.56, allocations: 24.76 MB / 5.476 GB, free: 100.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006625/11.57, allocations: 4.087 MB / 5.48 GB, free: 98.11 MB / 0.573 GB Notification: Performance of SimCode: time 6.61e-07/11.57, allocations: 0 / 5.48 GB, free: 98.11 MB / 0.573 GB Notification: Performance of Templates: time 0.9636/12.53, allocations: 459.5 MB / 5.929 GB, free: 112.1 MB / 0.573 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)