Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.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.TestFlow1D2phDB,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phDB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phDB",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.00101/0.00101, allocations: 186.2 kB / 8.138 MB, free: 2.18 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.023/1.023, allocations: 205.2 MB / 213.7 MB, free: 13.85 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.0009057/0.0009057, allocations: 95.19 kB / 261.7 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3041/0.3041, allocations: 48.76 MB / 358.5 MB, free: 53.14 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 0.09447/0.3987, allocations: 66.37 MB / 424.8 MB, free: 8.113 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0938/0.4925, allocations: 60.25 MB / 485.1 MB, free: 11.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.126/4.619, allocations: 2.971 GB / 3.445 GB, free: 77.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/4.619, allocations: 76.28 kB / 3.445 GB, free: 77.63 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: 454 * Number of variables: 454 Notification: Performance of Generate backend data structure: time 1.01/5.629, allocations: 322.8 MB / 3.76 GB, free: 51.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/5.629, allocations: 11.22 kB / 3.76 GB, free: 51.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005863/5.634, allocations: 0.7585 MB / 3.761 GB, free: 51.21 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009725/5.644, allocations: 2.743 MB / 3.764 GB, free: 50.89 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002512/5.647, allocations: 0.8178 MB / 3.765 GB, free: 50.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001981/5.649, allocations: 116.6 kB / 3.765 GB, free: 50.69 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02066/5.669, allocations: 11.58 MB / 3.776 GB, free: 50.68 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01005/5.68, allocations: 6.539 MB / 3.782 GB, free: 50.48 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.299e-05/5.68, allocations: 4.625 kB / 3.782 GB, free: 50.48 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006936/5.68, allocations: 0 / 3.782 GB, free: 50.48 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-05/5.68, allocations: 45.67 kB / 3.782 GB, free: 50.48 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04934/5.73, allocations: 30.65 MB / 3.812 GB, free: 35.59 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008005/5.738, allocations: 5.566 MB / 3.818 GB, free: 35.54 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006125/5.744, allocations: 4.696 MB / 3.822 GB, free: 35.51 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3754/6.119, allocations: 128.2 MB / 3.948 GB, free: 139.8 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.094e-05/6.119, allocations: 59.41 kB / 3.948 GB, free: 139.8 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=247): time 3.987e-06/6.119, allocations: 3.875 kB / 3.948 GB, free: 139.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=248): time 0.04065/6.16, allocations: 17.94 MB / 3.965 GB, free: 139.1 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/6.16, allocations: 109.2 kB / 3.965 GB, free: 139 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000505/6.161, allocations: 435.1 kB / 3.966 GB, free: 138.9 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001279/6.162, allocations: 25.7 kB / 3.966 GB, free: 138.9 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000167/6.162, allocations: 410.5 kB / 3.966 GB, free: 138.7 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0011/6.163, allocations: 0.8203 MB / 3.967 GB, free: 138.2 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005269/6.164, allocations: 0 / 3.967 GB, free: 138.2 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001147/6.164, allocations: 437.8 kB / 3.967 GB, free: 137.9 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005172/6.169, allocations: 4.334 MB / 3.972 GB, free: 137.9 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005264/6.174, allocations: 4.608 MB / 3.976 GB, free: 137.7 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007045/6.181, allocations: 3.688 MB / 3.98 GB, free: 137.6 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/6.181, allocations: 6.734 kB / 3.98 GB, free: 137.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.02326/6.205, allocations: 14.06 MB / 3.993 GB, free: 137.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002455/6.205, allocations: 1.486 MB / 3.995 GB, free: 135.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/6.205, allocations: 2.938 kB / 3.995 GB, free: 135.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1082/6.313, allocations: 40.1 MB / 4.034 GB, free: 134.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007327/6.314, allocations: 155.6 kB / 4.034 GB, free: 134.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02933/6.343, allocations: 17.35 MB / 4.051 GB, free: 128.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01051/6.354, allocations: 2.17 MB / 4.053 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001243/6.355, allocations: 208.9 kB / 4.053 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/6.355, allocations: 4.375 kB / 4.053 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06645/6.422, allocations: 23.38 MB / 4.076 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.595e-05/6.422, allocations: 4 kB / 4.076 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1074/6.529, allocations: 39.69 MB / 4.115 GB, free: 91.69 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008287/6.53, allocations: 183.6 kB / 4.115 GB, free: 91.54 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02547/6.555, allocations: 16.82 MB / 4.132 GB, free: 77.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01044/6.566, allocations: 2.172 MB / 4.134 GB, free: 75.57 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001184/6.567, allocations: 202.6 kB / 4.134 GB, free: 75.47 MB / 0.5573 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: htFluid.fluidside.phi[7]:VARIABLE(flow=true unit = "W/m2" ) "Heat flux at the nodes" type: Real [8] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 10 (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 (75): * Single equations (assignments): 74 * 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 {9 198} Notification: Performance of prepare postOptimizeDAE: time 0.001269/6.568, allocations: 129.2 kB / 4.134 GB, free: 75.34 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002033/6.57, allocations: 0.5897 MB / 4.135 GB, free: 74.94 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02018/6.591, allocations: 13.96 MB / 4.148 GB, free: 63.46 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1622/6.753, allocations: 13.14 MB / 4.161 GB, free: 143.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.185e-05/6.753, allocations: 7.75 kB / 4.161 GB, free: 143.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.218e-05/6.753, allocations: 11.34 kB / 4.161 GB, free: 143.7 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03146/6.784, allocations: 25.65 MB / 4.186 GB, free: 137.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/6.785, allocations: 3.438 kB / 4.186 GB, free: 137.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01142/6.796, allocations: 2.637 MB / 4.189 GB, free: 137.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00496/6.801, allocations: 1.497 MB / 4.19 GB, free: 137.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001173/6.802, allocations: 176.4 kB / 4.19 GB, free: 137.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01768/6.82, allocations: 26.12 MB / 4.216 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/6.82, allocations: 13.91 kB / 4.216 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02866/6.849, allocations: 17.76 MB / 4.233 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03392/6.882, allocations: 25.56 MB / 4.258 GB, free: 106.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002457/6.885, allocations: 1.237 MB / 4.259 GB, free: 105.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009547/6.886, allocations: 26.59 kB / 4.259 GB, free: 105.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009351/6.895, allocations: 2.149 MB / 4.262 GB, free: 105.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009021/6.896, allocations: 295.6 kB / 4.262 GB, free: 105.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007651/6.897, allocations: 200.7 kB / 4.262 GB, free: 105.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.0003723/6.897, allocations: 333.6 kB / 4.262 GB, free: 105.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01052/6.908, allocations: 2.848 MB / 4.265 GB, free: 105.2 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 16 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4],hex.htilde[5],hex.htilde[6],hex.htilde[7],Tube.T[1],Tube.T[2],Tube.T[3],Tube.T[4],Tube.T[5],Tube.T[6],Tube.T[7],Tube.T[8]) * Number of discrete variables: 20 ($cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.region3boundary,$cse13.region3boundary,$cse15.phase,$cse15.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (214): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 17 {(8,67.2%) 14,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.006377/6.914, allocations: 1.697 MB / 4.267 GB, free: 105.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02634/6.941, allocations: 17.04 MB / 4.283 GB, free: 98.63 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/6.941, allocations: 1.094 kB / 4.283 GB, free: 98.63 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01056/6.951, allocations: 8.729 MB / 4.292 GB, free: 94.03 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002418/6.954, allocations: 430.2 kB / 4.292 GB, free: 93.95 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01591/6.97, allocations: 10.07 MB / 4.302 GB, free: 91.11 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003741/6.973, allocations: 2.182 MB / 4.304 GB, free: 90.28 MB / 0.5573 GB Notification: Performance of SimCode: time 5.11e-07/6.973, allocations: 0 / 4.304 GB, free: 90.28 MB / 0.5573 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phDB_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-08 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phDB.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.pipe 2>&1)