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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8185/0.8185, allocations: 158.6 MB / 186.4 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.1638/0.1638, allocations: 36.34 MB / 275.1 MB, free: 10.64 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance") translateModel(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 353.9 MB, free: 3.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.956e-05, allocations: 6.312 kB / 353.9 MB, free: 3.312 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.01741/0.01743, allocations: 15.74 MB / 369.7 MB, free: 3.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0111/0.02854, allocations: 13.56 MB / 383.2 MB, free: 5.906 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.02866, allocations: 0 / 383.2 MB, free: 5.906 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004066/0.02907, allocations: 119.2 kB / 383.3 MB, free: 5.789 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005701/0.02964, allocations: 258.3 kB / 383.6 MB, free: 5.535 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0108/0.04044, allocations: 5.531 MB / 389.1 MB, free: 15.98 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009076/0.04135, allocations: 1.041 MB / 390.2 MB, free: 14.93 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.712e-05/0.04141, allocations: 12.94 kB / 390.2 MB, free: 14.92 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006574/0.04207, allocations: 0.5923 MB / 390.8 MB, free: 14.32 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004618/0.04253, allocations: 443.1 kB / 391.2 MB, free: 13.89 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.958e-05/0.04261, allocations: 43.98 kB / 391.2 MB, free: 13.85 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007702/0.05031, allocations: 6.101 MB / 397.3 MB, free: 7.738 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001797/0.05049, allocations: 183.5 kB / 397.5 MB, free: 7.559 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001808/0.05067, allocations: 211.5 kB / 397.7 MB, free: 7.352 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006146/0.05682, allocations: 4.966 MB / 402.7 MB, free: 2.375 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.05682, allocations: 0 / 402.7 MB, free: 2.375 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.05682, allocations: 3.938 kB / 402.7 MB, free: 2.371 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.05683, allocations: 0 / 402.7 MB, free: 2.371 MB / 330.7 MB 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.003023/0.05985, allocations: 1.538 MB / 404.2 MB, free: 0.793 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.05989, allocations: 12.03 kB / 404.2 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.06089, allocations: 271.9 kB / 404.5 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004015/0.06129, allocations: 292 kB / 404.8 MB, free: 208 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002373/0.06153, allocations: 310.7 kB / 405.1 MB, free: 15.85 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.603e-05/0.06163, allocations: 32.38 kB / 405.1 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002046/0.06367, allocations: 1.565 MB / 406.7 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.06368, allocations: 3.938 kB / 406.7 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.315e-05/0.06375, allocations: 15.94 kB / 406.7 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.916e-05/0.06378, allocations: 12.66 kB / 406.7 MB, free: 14.15 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002071/0.06585, allocations: 1.539 MB / 408.3 MB, free: 12.61 MB / 346.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.002646/0.06849, allocations: 3.839 MB / 412.1 MB, free: 8.375 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/0.06983, allocations: 0.9992 MB / 413.1 MB, free: 7.363 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005611/0.07039, allocations: 0.5431 MB / 413.6 MB, free: 6.816 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2046/0.275, allocations: 42.24 MB / 455.9 MB, free: 83.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.275, allocations: 40.53 kB / 455.9 MB, free: 83.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=40): time 1.963e-06/0.275, allocations: 1.406 kB / 455.9 MB, free: 83.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.006129/0.2811, allocations: 3.446 MB / 459.4 MB, free: 83.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.049e-05/0.2812, allocations: 57.81 kB / 459.4 MB, free: 83.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.496e-05/0.2813, allocations: 217.5 kB / 459.6 MB, free: 83.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.986e-05/0.2813, allocations: 36.75 kB / 459.7 MB, free: 83.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.873e-05/0.2814, allocations: 201 kB / 459.9 MB, free: 82.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.2815, allocations: 160.9 kB / 460 MB, free: 82.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002745/0.2818, allocations: 217.9 kB / 460.2 MB, free: 82.76 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.954e-05/0.2818, allocations: 0.5069 MB / 460.8 MB, free: 82.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006444/0.2825, allocations: 0.6303 MB / 461.4 MB, free: 82.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006989/0.2832, allocations: 0.7555 MB / 462.1 MB, free: 82.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.2842, allocations: 1.031 MB / 463.2 MB, free: 81.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2842, allocations: 9.078 kB / 463.2 MB, free: 81.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001676/0.2859, allocations: 1.377 MB / 464.6 MB, free: 81.92 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.2859, allocations: 8.5 kB / 464.6 MB, free: 81.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.2859, allocations: 2.469 kB / 464.6 MB, free: 81.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.286, allocations: 7.031 kB / 464.6 MB, free: 81.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009942/0.287, allocations: 419.6 kB / 465 MB, free: 81.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.287, allocations: 13.33 kB / 465 MB, free: 81.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000607/0.2876, allocations: 180.5 kB / 465.2 MB, free: 81.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.646e-05/0.2877, allocations: 86.47 kB / 465.3 MB, free: 81.91 MB / 378.7 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001801/0.2879, allocations: 178.2 kB / 465.4 MB, free: 81.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001859/0.288, allocations: 35.55 kB / 465.5 MB, free: 81.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003212/0.2913, allocations: 4.26 MB / 469.7 MB, free: 80.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002552/0.2938, allocations: 3.717 MB / 473.4 MB, free: 76.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.2938, allocations: 0 / 473.4 MB, free: 76.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.2938, allocations: 3.938 kB / 473.4 MB, free: 76.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003959/0.2978, allocations: 6.316 MB / 479.8 MB, free: 71.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.2978, allocations: 0 / 479.8 MB, free: 71.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009708/0.2987, allocations: 419.8 kB / 480.2 MB, free: 71.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.2988, allocations: 7.375 kB / 480.2 MB, free: 71.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.15e-05/0.2988, allocations: 45.47 kB / 480.2 MB, free: 71.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.2988, allocations: 10.31 kB / 480.2 MB, free: 71.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2988, allocations: 4 kB / 480.2 MB, free: 71.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002256/0.3011, allocations: 2.263 MB / 482.5 MB, free: 69.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002682/0.3014, allocations: 182.3 kB / 482.7 MB, free: 69.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.674e-05/0.3014, allocations: 21.75 kB / 482.7 MB, free: 69.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006003/0.302, allocations: 192.5 kB / 482.9 MB, free: 69.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.3022, allocations: 76.06 kB / 483 MB, free: 69.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-05/0.3022, allocations: 53.56 kB / 483 MB, free: 69.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.557e-05/0.3023, allocations: 149.5 kB / 483.2 MB, free: 68.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3023, allocations: 0 / 483.2 MB, free: 68.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001859/0.3041, allocations: 0.9707 MB / 484.1 MB, free: 68.14 MB / 378.7 MB 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 ($cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.region3boundary,$cse24.region3boundary) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002193/0.3063, allocations: 1.1 MB / 485.2 MB, free: 67.31 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001494/0.3078, allocations: 1.527 MB / 486.8 MB, free: 66.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3078, allocations: 0 / 486.8 MB, free: 66.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007261/0.3085, allocations: 0.8219 MB / 487.6 MB, free: 65.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004796/0.309, allocations: 172.6 kB / 487.8 MB, free: 65.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.3107, allocations: 1.309 MB / 489.1 MB, free: 64.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.005e-05/0.3108, allocations: 171.6 kB / 489.2 MB, free: 64.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001097/0.3119, allocations: 1.221 MB / 490.4 MB, free: 63.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005274/0.3124, allocations: 158.5 kB / 490.6 MB, free: 63.24 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.3124, allocations: 3.094 kB / 490.6 MB, free: 63.24 MB / 378.7 MB Notification: Performance of Templates: time 0.04583/0.3583, allocations: 45.05 MB / 0.5231 GB, free: 18.35 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.makefile [Timeout 660] (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=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.801330811809748]