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: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1Dfem2ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1Dfem2ph",fmuType="me",version="2.0",platforms={"static"}) [: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.001022/0.001021, allocations: 183.3 kB / 8.133 MB, free: 2.207 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.9869/0.9869, allocations: 205.2 MB / 213.7 MB, free: 13.93 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.0008669/0.0008669, allocations: 102.3 kB / 261.8 MB, free: 13.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2784/0.2784, allocations: 48.76 MB / 358.4 MB, free: 53.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08783/0.3663, allocations: 66.37 MB / 424.8 MB, free: 8.129 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0892/0.4555, allocations: 60.25 MB / 485.1 MB, free: 11.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.895/4.35, allocations: 2.96 GB / 3.434 GB, free: 84.24 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001749/4.351, allocations: 77.84 kB / 3.434 GB, free: 84.18 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 1.203/5.554, allocations: 370.7 MB / 3.796 GB, free: 46.99 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/5.554, allocations: 10.44 kB / 3.796 GB, free: 46.99 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008492/5.562, allocations: 1.049 MB / 3.797 GB, free: 46.71 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04326/5.605, allocations: 10.13 MB / 3.807 GB, free: 45.54 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003633/5.609, allocations: 1.946 MB / 3.809 GB, free: 44.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005799/5.615, allocations: 398 kB / 3.809 GB, free: 44.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05913/5.674, allocations: 26.34 MB / 3.835 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04166/5.716, allocations: 21.32 MB / 3.856 GB, free: 41.84 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002217/5.716, allocations: 29.25 kB / 3.856 GB, free: 41.84 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004047/5.72, allocations: 21.69 kB / 3.856 GB, free: 41.84 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001053/5.72, allocations: 168.6 kB / 3.856 GB, free: 41.84 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2694/5.99, allocations: 119.8 MB / 3.973 GB, free: 67.32 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01887/6.009, allocations: 13.27 MB / 3.986 GB, free: 67.25 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01624/6.025, allocations: 11.18 MB / 3.997 GB, free: 67.22 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1389/6.164, allocations: 79.36 MB / 4.075 GB, free: 22.34 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.587e-05/6.164, allocations: 95.28 kB / 4.075 GB, free: 22.29 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=530): time 1.137e-05/6.164, allocations: 0 / 4.075 GB, free: 22.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=530): time 0.4948/6.659, allocations: 93.39 MB / 4.166 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.208e-05/6.659, allocations: 131.6 kB / 4.166 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004146/6.663, allocations: 3.605 MB / 4.169 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.004177/6.667, allocations: 28.22 kB / 4.169 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001243/6.668, allocations: 3.213 MB / 4.173 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.004634/6.673, allocations: 2.023 MB / 4.175 GB, free: 108 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002035/6.675, allocations: 0.6562 kB / 4.175 GB, free: 108 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004863/6.675, allocations: 0.8385 MB / 4.175 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01751/6.693, allocations: 12.08 MB / 4.187 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01961/6.713, allocations: 17.61 MB / 4.204 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01645/6.729, allocations: 10.72 MB / 4.215 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001146/6.729, allocations: 56.28 kB / 4.215 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1447) (initialization): time 0.1585/6.888, allocations: 50.73 MB / 4.264 GB, free: 90.87 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.1528/7.041, allocations: 75.59 MB / 4.338 GB, free: 58.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004471/7.041, allocations: 193.7 kB / 4.338 GB, free: 58.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09971/7.141, allocations: 40.58 MB / 4.378 GB, free: 58.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1425/7.283, allocations: 42.79 MB / 4.42 GB, free: 54.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05262/7.336, allocations: 27.97 MB / 4.447 GB, free: 53.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03675/7.373, allocations: 6.768 MB / 4.454 GB, free: 52.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005511/7.378, allocations: 0.8199 MB / 4.455 GB, free: 52.62 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/7.378, allocations: 7.281 kB / 4.455 GB, free: 52.62 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3248/7.703, allocations: 50.97 MB / 4.504 GB, free: 88.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004636/7.704, allocations: 193 kB / 4.505 GB, free: 88.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09899/7.803, allocations: 40.59 MB / 4.544 GB, free: 87.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1422/7.945, allocations: 42.77 MB / 4.586 GB, free: 83.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04818/7.993, allocations: 27.97 MB / 4.613 GB, free: 83.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03751/8.031, allocations: 6.421 MB / 4.62 GB, free: 82.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004085/8.035, allocations: 0.8208 MB / 4.62 GB, free: 81.63 MB / 0.5261 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.006558/8.041, allocations: 0.5634 MB / 4.621 GB, free: 81.32 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005148/8.046, allocations: 1.126 MB / 4.622 GB, free: 80.66 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4935/8.54, allocations: 102.1 MB / 4.722 GB, free: 85.88 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001137/8.54, allocations: 97.62 kB / 4.722 GB, free: 85.88 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-05/8.54, allocations: 17.12 kB / 4.722 GB, free: 85.88 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001363/8.54, allocations: 25.36 kB / 4.722 GB, free: 85.88 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5588/9.099, allocations: 148.1 MB / 4.866 GB, free: 89.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-05/9.099, allocations: 5.312 kB / 4.866 GB, free: 89.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1718/9.271, allocations: 51.99 MB / 4.917 GB, free: 87.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07868/9.35, allocations: 31.6 MB / 4.948 GB, free: 85.13 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005008/9.355, allocations: 0.6863 MB / 4.949 GB, free: 85.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7682/10.12, allocations: 143.2 MB / 5.089 GB, free: 87.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/10.12, allocations: 2.25 kB / 5.089 GB, free: 87.96 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.3688/10.49, allocations: 107.1 MB / 5.193 GB, free: 53.48 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.5314/11.02, allocations: 124 MB / 5.314 GB, free: 85.75 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008635/11.03, allocations: 2.926 MB / 5.317 GB, free: 85.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00547/11.04, allocations: 308 kB / 5.317 GB, free: 85.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04135/11.08, allocations: 6.215 MB / 5.323 GB, free: 84.65 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005902/11.08, allocations: 0.6308 MB / 5.324 GB, free: 84.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006347/11.09, allocations: 0.5007 MB / 5.325 GB, free: 84.64 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.004974/11.1, allocations: 2.295 MB / 5.327 GB, free: 84.35 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.04439/11.14, allocations: 5.388 MB / 5.332 GB, free: 83.05 MB / 0.5261 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.01021/11.15, allocations: 1.487 MB / 5.334 GB, free: 81.97 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.9462/12.1, allocations: 171.8 MB / 5.501 GB, free: 82.26 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/12.1, allocations: 1.938 kB / 5.501 GB, free: 82.26 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.5612/12.66, allocations: 71.68 MB / 5.571 GB, free: 88.23 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007437/12.67, allocations: 0.6217 MB / 5.572 GB, free: 88.21 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07122/12.74, allocations: 24.8 MB / 5.596 GB, free: 86.55 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007428/12.74, allocations: 4.234 MB / 5.6 GB, free: 85.73 MB / 0.5261 GB Notification: Performance of SimCode: time 1.343e-06/12.74, allocations: 3.344 kB / 5.6 GB, free: 85.73 MB / 0.5261 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1Dfem2ph_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-08 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1Dfem2ph.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph.pipe 2>&1)