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.001847/0.001847, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001939/0.001939, allocations: 165.6 kB / 24.27 MB, free: 156 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 1.281/1.281, allocations: 158.6 MB / 186.1 MB, free: 2.902 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.2901/0.2901, allocations: 36.34 MB / 274.7 MB, free: 10.71 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.282e-06/1.282e-06, allocations: 0 / 353.2 MB, free: 3.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.305e-05/2.433e-05, allocations: 5.688 kB / 353.2 MB, free: 3.676 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.02029/0.02031, allocations: 15.67 MB / 368.8 MB, free: 3.938 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01964/0.03995, allocations: 13.55 MB / 382.4 MB, free: 6.344 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001987/0.04014, allocations: 7.938 kB / 382.4 MB, free: 6.336 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005676/0.04071, allocations: 111.2 kB / 382.5 MB, free: 6.227 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007835/0.0415, allocations: 246.4 kB / 382.7 MB, free: 5.984 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0152/0.05669, allocations: 5.52 MB / 388.3 MB, free: 452 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00154/0.05823, allocations: 1.057 MB / 389.3 MB, free: 15.38 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.007e-05/0.05829, allocations: 20.86 kB / 389.3 MB, free: 15.35 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/0.05951, allocations: 0.5884 MB / 389.9 MB, free: 14.76 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007609/0.06027, allocations: 443.1 kB / 390.4 MB, free: 14.33 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.0604, allocations: 40 kB / 390.4 MB, free: 14.29 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01286/0.07326, allocations: 6.101 MB / 396.5 MB, free: 8.18 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003398/0.0736, allocations: 195.5 kB / 396.7 MB, free: 7.988 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004923/0.07409, allocations: 207.6 kB / 396.9 MB, free: 7.785 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01295/0.08704, allocations: 5.012 MB / 401.9 MB, free: 2.762 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.08705, allocations: 0 / 401.9 MB, free: 2.762 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.564e-06/0.08705, allocations: 0 / 401.9 MB, free: 2.762 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.417e-06/0.08706, allocations: 0 / 401.9 MB, free: 2.762 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.005639/0.0927, allocations: 1.535 MB / 403.4 MB, free: 1.188 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.09275, allocations: 11.97 kB / 403.5 MB, free: 1.176 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001635/0.09439, allocations: 267.9 kB / 403.7 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000736/0.09512, allocations: 296 kB / 404 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004546/0.09558, allocations: 298.8 kB / 404.3 MB, free: 264 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/0.09573, allocations: 40.31 kB / 404.3 MB, free: 224 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005337/0.1011, allocations: 1.92 MB / 406.3 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.1011, allocations: 3.938 kB / 406.3 MB, free: 14.22 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-05/0.1012, allocations: 16 kB / 406.3 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.005e-05/0.1012, allocations: 12.66 kB / 406.3 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006866/0.1081, allocations: 2.391 MB / 408.7 MB, free: 11.8 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.005516/0.1136, allocations: 3.936 MB / 412.6 MB, free: 7.473 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003892/0.1175, allocations: 1.218 MB / 413.8 MB, free: 6.242 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002348/0.1198, allocations: 0.8357 MB / 414.7 MB, free: 5.402 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3013/0.4211, allocations: 42.24 MB / 456.9 MB, free: 107.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.4211, allocations: 36.75 kB / 457 MB, free: 107.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=40): time 2.655e-06/0.4211, allocations: 0 / 457 MB, free: 107.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.01684/0.438, allocations: 4.92 MB / 461.9 MB, free: 105.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.438, allocations: 55.41 kB / 461.9 MB, free: 105.1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.4381, allocations: 228.6 kB / 462.2 MB, free: 104.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.4382, allocations: 33.7 kB / 462.2 MB, free: 104.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.577e-05/0.4383, allocations: 202.9 kB / 462.4 MB, free: 104.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/0.4385, allocations: 156 kB / 462.5 MB, free: 104.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004305/0.4389, allocations: 223.6 kB / 462.8 MB, free: 104.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.757e-05/0.439, allocations: 0.5079 MB / 463.3 MB, free: 103.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002544/0.4415, allocations: 0.9378 MB / 464.2 MB, free: 102.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002614/0.4442, allocations: 1.08 MB / 465.3 MB, free: 101.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004802/0.449, allocations: 1.628 MB / 466.9 MB, free: 100 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.449, allocations: 0 / 466.9 MB, free: 100 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.005754/0.4547, allocations: 1.992 MB / 468.9 MB, free: 98.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.4547, allocations: 8 kB / 468.9 MB, free: 98.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.4548, allocations: 4 kB / 468.9 MB, free: 98.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.4548, allocations: 4 kB / 468.9 MB, free: 98.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002121/0.4569, allocations: 419.3 kB / 469.3 MB, free: 97.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/0.4569, allocations: 4.656 kB / 469.3 MB, free: 97.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.4584, allocations: 183.8 kB / 469.5 MB, free: 97.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/0.4585, allocations: 79.86 kB / 469.6 MB, free: 97.34 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.0003771/0.4589, allocations: 214.8 kB / 469.8 MB, free: 97.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003385/0.4592, allocations: 38.67 kB / 469.8 MB, free: 97.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007232/0.4665, allocations: 4.732 MB / 474.6 MB, free: 92.37 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006136/0.4726, allocations: 4.232 MB / 478.8 MB, free: 88.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.4726, allocations: 0 / 478.8 MB, free: 88.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-05/0.4726, allocations: 3.984 kB / 478.8 MB, free: 88.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008757/0.4814, allocations: 6.785 MB / 485.6 MB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.4814, allocations: 0 / 485.6 MB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002117/0.4835, allocations: 415.3 kB / 486 MB, free: 80.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-05/0.4835, allocations: 4 kB / 486 MB, free: 80.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000144/0.4837, allocations: 47.91 kB / 486 MB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.4837, allocations: 0 / 486 MB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4837, allocations: 7.938 kB / 486 MB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007861/0.4916, allocations: 3.432 MB / 489.5 MB, free: 77.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005408/0.4921, allocations: 181.3 kB / 489.7 MB, free: 76.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/0.4922, allocations: 16 kB / 489.7 MB, free: 76.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/0.4936, allocations: 190.9 kB / 489.9 MB, free: 76.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/0.4938, allocations: 84.67 kB / 489.9 MB, free: 76.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/0.4939, allocations: 55.91 kB / 490 MB, free: 76.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.543e-05/0.494, allocations: 147.2 kB / 490.1 MB, free: 76.51 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.494, allocations: 0 / 490.1 MB, free: 76.51 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00238/0.4964, allocations: 0.9758 MB / 491.1 MB, free: 75.55 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.003652/0.5, allocations: 1.101 MB / 492.2 MB, free: 74.54 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005452/0.5055, allocations: 2.179 MB / 494.4 MB, free: 72.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.5055, allocations: 7.938 kB / 494.4 MB, free: 72.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002641/0.5081, allocations: 1.171 MB / 495.6 MB, free: 71.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008209/0.509, allocations: 181.6 kB / 495.8 MB, free: 71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003577/0.5125, allocations: 1.645 MB / 497.4 MB, free: 69.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001627/0.5127, allocations: 299.3 kB / 497.7 MB, free: 69.01 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001636/0.5143, allocations: 1.229 MB / 498.9 MB, free: 67.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007195/0.5151, allocations: 156.2 kB / 499.1 MB, free: 67.63 MB / 378.7 MB Notification: Performance of SimCode: time 1.123e-06/0.5151, allocations: 0 / 499.1 MB, free: 67.63 MB / 378.7 MB Notification: Performance of Templates: time 0.04822/0.5633, allocations: 45.04 MB / 0.5314 GB, free: 22.54 MB / 378.7 MB " [Timeout remaining time 659] 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: 7.670725901029073]