Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.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.0006708/0.0006708, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009186/0.001589, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006938/0.0006938, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009168/0.001611, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9435/0.9435, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1002/1.044, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.09779/0.09779, allocations: 19.79 MB / 264 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01505/0.1128, allocations: 7.561 MB / 271.5 MB, free: 3.348 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.WaterComponents.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve") translateModel(ThermoPower.Test.WaterComponents.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 272.8 MB, free: 2.039 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.471e-05, allocations: 6.25 kB / 272.8 MB, free: 2.031 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.1432/0.1433, allocations: 36.21 MB / 309 MB, free: 9.324 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009233/0.1525, allocations: 9.05 MB / 318.1 MB, free: 252 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006015/0.1531, allocations: 35.62 kB / 318.1 MB, free: 216 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005632/0.1537, allocations: 273.6 kB / 318.4 MB, free: 15.94 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008672/0.1545, allocations: 0.5894 MB / 319 MB, free: 15.35 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01149/0.166, allocations: 5.402 MB / 324.4 MB, free: 9.93 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001648/0.1677, allocations: 1.636 MB / 326 MB, free: 8.285 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005279/0.1682, allocations: 374.9 kB / 326.4 MB, free: 7.902 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008474/0.169, allocations: 0.8116 MB / 327.2 MB, free: 7.09 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004855/0.1695, allocations: 430.6 kB / 327.6 MB, free: 6.668 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.833e-05/0.1696, allocations: 48 kB / 327.7 MB, free: 6.621 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009779/0.1794, allocations: 6.276 MB / 333.9 MB, free: 348 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000164/0.1795, allocations: 123.4 kB / 334.1 MB, free: 224 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003763/0.1799, allocations: 263.5 kB / 334.3 MB, free: 15.96 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006788/0.1867, allocations: 3.652 MB / 338 MB, free: 12.3 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.708e-06/0.1867, allocations: 0 / 338 MB, free: 12.3 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1867, allocations: 4 kB / 338 MB, free: 12.3 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.498e-05/0.1867, allocations: 0 / 338 MB, free: 12.3 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.003776/0.1905, allocations: 2.064 MB / 340 MB, free: 10.18 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.1905, allocations: 12.03 kB / 340.1 MB, free: 10.17 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004099/0.1909, allocations: 192.6 kB / 340.2 MB, free: 9.984 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006716/0.1916, allocations: 489.9 kB / 340.7 MB, free: 9.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001627/0.1918, allocations: 279.5 kB / 341 MB, free: 9.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.807e-05/0.1918, allocations: 52.38 kB / 341 MB, free: 9.109 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009548/0.1928, allocations: 0.6108 MB / 341.7 MB, free: 8.453 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.1928, allocations: 7.938 kB / 341.7 MB, free: 8.445 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.1928, allocations: 20 kB / 341.7 MB, free: 8.426 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.1928, allocations: 16 kB / 341.7 MB, free: 8.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000759/0.1936, allocations: 391.9 kB / 342.1 MB, free: 8.027 MB / 330.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.001838/0.1954, allocations: 1.827 MB / 343.9 MB, free: 6.141 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005462/0.196, allocations: 242.4 kB / 344.1 MB, free: 5.867 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.03e-05/0.1961, allocations: 50.41 kB / 344.2 MB, free: 5.809 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.1961, allocations: 8 kB / 344.2 MB, free: 5.801 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.1961, allocations: 42.5 kB / 344.2 MB, free: 5.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.573e-06/0.1961, allocations: 0 / 344.2 MB, free: 5.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.001186/0.1973, allocations: 453.1 kB / 344.7 MB, free: 5.301 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.1974, allocations: 132.5 kB / 344.8 MB, free: 5.141 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003637/0.1977, allocations: 496 kB / 345.3 MB, free: 4.645 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.1977, allocations: 25.7 kB / 345.3 MB, free: 4.613 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.1979, allocations: 313.9 kB / 345.6 MB, free: 4.305 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.465e-05/0.198, allocations: 87.2 kB / 345.7 MB, free: 4.219 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.675e-05/0.1981, allocations: 57.66 kB / 345.8 MB, free: 4.156 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.1982, allocations: 374.7 kB / 346.1 MB, free: 3.781 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.72e-05/0.1983, allocations: 33.62 kB / 346.2 MB, free: 3.746 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.907e-05/0.1984, allocations: 64.25 kB / 346.2 MB, free: 3.672 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.1985, allocations: 113.1 kB / 346.3 MB, free: 3.551 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1985, allocations: 4 kB / 346.3 MB, free: 3.547 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002587/0.1988, allocations: 173.4 kB / 346.5 MB, free: 3.371 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.1988, allocations: 4 kB / 346.5 MB, free: 3.367 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1988, allocations: 4 kB / 346.5 MB, free: 3.363 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.1988, allocations: 0 / 346.5 MB, free: 3.363 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003811/0.1992, allocations: 104.3 kB / 346.6 MB, free: 3.262 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.1992, allocations: 1.625 kB / 346.6 MB, free: 3.262 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.1994, allocations: 23.84 kB / 346.6 MB, free: 3.238 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.1994, allocations: 15.98 kB / 346.7 MB, free: 3.223 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001337/0.1995, allocations: 104.1 kB / 346.8 MB, free: 3.117 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.776e-05/0.1996, allocations: 101.9 kB / 346.9 MB, free: 2.984 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000172/0.1998, allocations: 151 kB / 347 MB, free: 2.805 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.118e-06/0.1998, allocations: 7.938 kB / 347 MB, free: 2.797 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0002659/0.2001, allocations: 178.5 kB / 347.2 MB, free: 2.617 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.306e-06/0.2001, allocations: 4 kB / 347.2 MB, free: 2.613 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.2001, allocations: 4.062 kB / 347.2 MB, free: 2.609 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.512e-06/0.2001, allocations: 8 kB / 347.2 MB, free: 2.602 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002703/0.2004, allocations: 96.88 kB / 347.3 MB, free: 2.508 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.2004, allocations: 7.938 kB / 347.3 MB, free: 2.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.2006, allocations: 15.89 kB / 347.3 MB, free: 2.484 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.2006, allocations: 20.17 kB / 347.3 MB, free: 2.465 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (ValveLiq1.fluidState.phase,ValveLiq2.fluidState.phase,ValveLiq3.fluidState.phase,ValveLiq4.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001025/0.2007, allocations: 196.1 kB / 347.5 MB, free: 2.266 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.2008, allocations: 43.95 kB / 347.6 MB, free: 2.223 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002978/0.2011, allocations: 203.7 kB / 347.8 MB, free: 2.016 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.2011, allocations: 4 kB / 347.8 MB, free: 2.012 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.2011, allocations: 0 / 347.8 MB, free: 2.012 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2011, allocations: 4 kB / 347.8 MB, free: 2.008 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001/0.2021, allocations: 0.8416 MB / 348.6 MB, free: 1.102 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.2021, allocations: 4.375 kB / 348.6 MB, free: 1.098 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.2022, allocations: 59.89 kB / 348.7 MB, free: 1.039 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.453e-05/0.2023, allocations: 67.44 kB / 348.8 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-06/0.2023, allocations: 4.188 kB / 348.8 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.2023, allocations: 12 kB / 348.8 MB, free: 0.957 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.2023, allocations: 7.984 kB / 348.8 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.2023, allocations: 7.938 kB / 348.8 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003612/0.2027, allocations: 0.5367 MB / 349.3 MB, free: 360 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.446e-05/0.2028, allocations: 12 kB / 349.3 MB, free: 348 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002722/0.203, allocations: 8.25 kB / 349.3 MB, free: 340 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/0.2031, allocations: 35.83 kB / 349.4 MB, free: 304 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.2031, allocations: 12 kB / 349.4 MB, free: 292 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001983/0.2033, allocations: 244.6 kB / 349.6 MB, free: 48 kB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2033, allocations: 3.938 kB / 349.6 MB, free: 44 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.002437/0.2057, allocations: 1.134 MB / 350.8 MB, free: 14.9 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (ValveLiq4.fluidState.phase,ValveLiq3.fluidState.phase,ValveLiq2.fluidState.phase,ValveLiq1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.002924/0.2087, allocations: 1.156 MB / 351.9 MB, free: 13.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000364/0.209, allocations: 205.2 kB / 352.1 MB, free: 13.53 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-05/0.209, allocations: 12 kB / 352.1 MB, free: 13.52 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.2092, allocations: 90.73 kB / 352.2 MB, free: 13.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001971/0.2111, allocations: 2.115 MB / 354.3 MB, free: 10.94 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01229/0.2234, allocations: 1.16 MB / 355.5 MB, free: 9.695 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.2236, allocations: 141.3 kB / 355.6 MB, free: 9.535 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008482/0.2244, allocations: 0.681 MB / 356.3 MB, free: 8.867 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004239/0.2248, allocations: 225.1 kB / 356.5 MB, free: 8.645 MB / 346.7 MB Notification: Performance of SimCode: time 1.022e-06/0.2248, allocations: 0 / 356.5 MB, free: 8.645 MB / 346.7 MB Notification: Performance of Templates: time 0.03784/0.2627, allocations: 38.03 MB / 394.6 MB, free: 2.801 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5401497008278966]