Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.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.CheckFlow1DFV2phMassBalance,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance") translateModel(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance") [: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.0008774/0.0008774, allocations: 189.9 kB / 8.14 MB, free: 2.188 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.9788/0.9788, allocations: 205.2 MB / 213.7 MB, free: 13.87 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.0008828/0.0008828, allocations: 96.09 kB / 261.8 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2695/0.2695, allocations: 48.75 MB / 358.4 MB, free: 53.45 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 6.713e-06/6.733e-06, allocations: 4.219 kB / 424.7 MB, free: 8.301 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08563/0.08565, allocations: 60.25 MB / 485 MB, free: 11.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.516/3.602, allocations: 2.831 GB / 3.304 GB, free: 37.45 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001785/3.602, allocations: 71.72 kB / 3.304 GB, free: 37.38 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.4229/4.025, allocations: 120.5 MB / 3.422 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.359e-05/4.025, allocations: 4 kB / 3.422 GB, free: 122.5 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.005442/4.03, allocations: 1.432 MB / 3.423 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/4.03, allocations: 8.031 kB / 3.423 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001531/4.032, allocations: 166.7 kB / 3.423 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005671/4.033, allocations: 350.2 kB / 3.424 GB, free: 120.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003511/4.033, allocations: 136.3 kB / 3.424 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/4.033, allocations: 20.56 kB / 3.424 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001972/4.035, allocations: 1.416 MB / 3.425 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/4.036, allocations: 1.004 MB / 3.426 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/4.036, allocations: 7.938 kB / 3.426 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/4.036, allocations: 3.562 kB / 3.426 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/4.037, allocations: 15.09 kB / 3.426 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003275/4.04, allocations: 4.716 MB / 3.431 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008044/4.041, allocations: 0.7053 MB / 3.432 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006811/4.041, allocations: 0.6092 MB / 3.432 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1481/4.189, allocations: 79.59 MB / 3.51 GB, free: 27.85 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/4.189, allocations: 46.83 kB / 3.51 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=40): time 2.465e-06/4.189, allocations: 0 / 3.51 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=43): time 0.008364/4.198, allocations: 2.69 MB / 3.513 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/4.198, allocations: 59.31 kB / 3.513 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.978e-05/4.198, allocations: 136.4 kB / 3.513 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/4.198, allocations: 25.7 kB / 3.513 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.129e-05/4.198, allocations: 148.6 kB / 3.513 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000142/4.198, allocations: 141.9 kB / 3.513 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.223e-05/4.198, allocations: 0 / 3.513 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.964e-05/4.198, allocations: 338.7 kB / 3.513 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006997/4.199, allocations: 0.5709 MB / 3.514 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007332/4.2, allocations: 0.6646 MB / 3.515 GB, free: 22.91 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008221/4.201, allocations: 443.7 kB / 3.515 GB, free: 22.48 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/4.201, allocations: 4 kB / 3.515 GB, free: 22.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00252/4.203, allocations: 1.36 MB / 3.516 GB, free: 21.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/4.203, allocations: 8 kB / 3.516 GB, free: 21.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/4.203, allocations: 0 / 3.516 GB, free: 21.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.794e-05/4.203, allocations: 4 kB / 3.516 GB, free: 21.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002498/4.206, allocations: 0.5737 MB / 3.517 GB, free: 20.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/4.206, allocations: 4 kB / 3.517 GB, free: 20.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/4.208, allocations: 367.6 kB / 3.517 GB, free: 20.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/4.208, allocations: 59.89 kB / 3.517 GB, free: 20.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 4 (fluid[2].phase,fluid[1].phase,dew.phase,bubble.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002416/4.208, allocations: 116.7 kB / 3.517 GB, free: 19.98 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006636/4.209, allocations: 175.6 kB / 3.518 GB, free: 19.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003809/4.213, allocations: 2.888 MB / 3.52 GB, free: 16.91 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002376/4.215, allocations: 2.362 MB / 3.523 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/4.215, allocations: 3.984 kB / 3.523 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/4.215, allocations: 3.984 kB / 3.523 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004479/4.22, allocations: 4.607 MB / 3.527 GB, free: 9.727 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/4.22, allocations: 3.938 kB / 3.527 GB, free: 9.723 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002354/4.222, allocations: 0.593 MB / 3.528 GB, free: 9.129 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-05/4.222, allocations: 4 kB / 3.528 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000126/4.222, allocations: 37.23 kB / 3.528 GB, free: 9.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/4.222, allocations: 7.906 kB / 3.528 GB, free: 9.082 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/4.222, allocations: 3.938 kB / 3.528 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004582/4.227, allocations: 3.523 MB / 3.531 GB, free: 5.539 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003905/4.227, allocations: 252.3 kB / 3.532 GB, free: 5.273 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001751/4.227, allocations: 0 / 3.532 GB, free: 5.273 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001739/4.229, allocations: 375.5 kB / 3.532 GB, free: 4.906 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/4.229, allocations: 76.61 kB / 3.532 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/4.229, allocations: 51.91 kB / 3.532 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.165e-05/4.229, allocations: 107.3 kB / 3.532 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003728/4.233, allocations: 0.9563 MB / 3.533 GB, free: 3.719 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rhobar_check[1]) * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006036/4.239, allocations: 1.232 MB / 3.534 GB, free: 2.543 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00246/4.242, allocations: 1.878 MB / 3.536 GB, free: 0.6562 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/4.242, allocations: 3.938 kB / 3.536 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.124/4.366, allocations: 1.388 MB / 3.538 GB, free: 171.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006246/4.366, allocations: 78.91 kB / 3.538 GB, free: 171.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00642/4.373, allocations: 2.764 MB / 3.54 GB, free: 171.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/4.374, allocations: 1.084 MB / 3.541 GB, free: 170.4 MB / 0.5105 GB Notification: Performance of SimCode: time 7.41e-07/4.374, allocations: 1.688 kB / 3.541 GB, free: 170.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.03912/4.413, allocations: 38.37 MB / 3.579 GB, free: 169.9 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe 2>&1)