Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator.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.001449/0.001449, allocations: 88.33 kB / 20.96 MB, free: 3.449 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.001596/0.001596, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 18.57 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 1.444/1.444, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.1485/0.1485, allocations: 19.73 MB / 280.8 MB, free: 9.273 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.TestAccumulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator") translateModel(ThermoPower.Test.WaterComponents.TestAccumulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 357.2 MB, free: 6.945 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.448e-05, allocations: 2.312 kB / 357.2 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.04032/0.04035, allocations: 29.71 MB / 386.9 MB, free: 9.125 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0114/0.05175, allocations: 7.151 MB / 394.1 MB, free: 1.945 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002504/0.052, allocations: 11.88 kB / 394.1 MB, free: 1.934 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005121/0.05251, allocations: 139 kB / 394.2 MB, free: 1.797 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004681/0.05298, allocations: 214.3 kB / 394.4 MB, free: 1.586 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01161/0.06459, allocations: 4.444 MB / 398.9 MB, free: 13.12 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008852/0.06548, allocations: 0.6065 MB / 399.5 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003789/0.06586, allocations: 199.8 kB / 399.7 MB, free: 12.31 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000446/0.0663, allocations: 307.2 kB / 400 MB, free: 12.01 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003119/0.06662, allocations: 191.4 kB / 400.2 MB, free: 11.82 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.894e-05/0.06666, allocations: 24 kB / 400.2 MB, free: 11.8 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01121/0.07787, allocations: 5.763 MB / 406 MB, free: 6.031 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.07799, allocations: 75.67 kB / 406 MB, free: 5.957 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002427/0.07823, allocations: 135.7 kB / 406.2 MB, free: 5.824 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007976/0.08621, allocations: 4.467 MB / 410.6 MB, free: 1.348 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.08621, allocations: 0 / 410.6 MB, free: 1.348 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.08621, allocations: 0 / 410.6 MB, free: 1.348 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.08622, allocations: 0 / 410.6 MB, free: 1.348 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.002623/0.08884, allocations: 0.9976 MB / 411.6 MB, free: 324 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.08888, allocations: 8.031 kB / 411.6 MB, free: 316 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002639/0.08914, allocations: 80.64 kB / 411.7 MB, free: 236 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1172/0.2063, allocations: 251.5 kB / 412 MB, free: 65.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.419e-05/0.2063, allocations: 28.25 kB / 412 MB, free: 65.05 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.228e-05/0.2064, allocations: 29.08 kB / 412 MB, free: 65.05 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007027/0.2071, allocations: 319.7 kB / 412.3 MB, free: 64.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.2071, allocations: 2.781 kB / 412.3 MB, free: 64.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.2071, allocations: 9.438 kB / 412.3 MB, free: 64.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.2072, allocations: 8 kB / 412.3 MB, free: 64.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005854/0.2077, allocations: 239.8 kB / 412.6 MB, free: 64.95 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.001254/0.209, allocations: 0.8941 MB / 413.5 MB, free: 64.36 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005019/0.2095, allocations: 215.3 kB / 413.7 MB, free: 64.27 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/0.2097, allocations: 115.2 kB / 413.8 MB, free: 64.22 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05442/0.2641, allocations: 17.53 MB / 431.3 MB, free: 53.91 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.2642, allocations: 40.59 kB / 431.4 MB, free: 53.86 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 1.673e-06/0.2642, allocations: 0 / 431.4 MB, free: 53.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.002388/0.2666, allocations: 0.9788 MB / 432.3 MB, free: 52.86 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.916e-05/0.2666, allocations: 55.41 kB / 432.4 MB, free: 52.8 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.2668, allocations: 264.6 kB / 432.7 MB, free: 52.53 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.2668, allocations: 29.7 kB / 432.7 MB, free: 52.49 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.685e-05/0.2669, allocations: 198.7 kB / 432.9 MB, free: 52.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.149e-05/0.2669, allocations: 97.77 kB / 433 MB, free: 52.2 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.558e-05/0.267, allocations: 53.69 kB / 433 MB, free: 52.14 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.706e-05/0.267, allocations: 342.8 kB / 433.4 MB, free: 51.8 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/0.2673, allocations: 112.8 kB / 433.5 MB, free: 51.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.2675, allocations: 134.2 kB / 433.6 MB, free: 51.55 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004413/0.2679, allocations: 246.1 kB / 433.8 MB, free: 51.3 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2679, allocations: 0 / 433.8 MB, free: 51.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001159/0.2691, allocations: 497.8 kB / 434.3 MB, free: 50.8 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.2691, allocations: 4 kB / 434.3 MB, free: 50.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.2691, allocations: 4 kB / 434.3 MB, free: 50.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.2702, allocations: 263.7 kB / 434.6 MB, free: 50.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.2704, allocations: 31.92 kB / 434.6 MB, free: 50.51 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000823/0.2712, allocations: 0.8046 MB / 435.4 MB, free: 49.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.2714, allocations: 20.05 kB / 435.5 MB, free: 49.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.2714, allocations: 11.98 kB / 435.5 MB, free: 49.65 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002785/0.2717, allocations: 200.1 kB / 435.7 MB, free: 49.45 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002127/0.2719, allocations: 133.9 kB / 435.8 MB, free: 49.31 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004089/0.2723, allocations: 237.6 kB / 436 MB, free: 49.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.102e-06/0.2723, allocations: 3.938 kB / 436 MB, free: 49.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.001085/0.2734, allocations: 482.3 kB / 436.5 MB, free: 48.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.005e-06/0.2734, allocations: 11.94 kB / 436.5 MB, free: 48.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-06/0.2734, allocations: 0 / 436.5 MB, free: 48.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009937/0.2744, allocations: 240.7 kB / 436.7 MB, free: 48.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.2745, allocations: 31.92 kB / 436.8 MB, free: 48.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006999/0.2752, allocations: 0.7973 MB / 437.6 MB, free: 47.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.2754, allocations: 16.05 kB / 437.6 MB, free: 47.47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.2754, allocations: 8 kB / 437.6 MB, free: 47.46 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (Accumulator1.liquidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,11)} Notification: Performance of prepare postOptimizeDAE: time 7.859e-05/0.2755, allocations: 188.3 kB / 437.8 MB, free: 47.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.708e-05/0.2756, allocations: 51.69 kB / 437.8 MB, free: 47.22 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008509/0.2764, allocations: 0.5561 MB / 438.4 MB, free: 46.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.2764, allocations: 8.875 kB / 438.4 MB, free: 46.65 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.2764, allocations: 0 / 438.4 MB, free: 46.65 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.2764, allocations: 3.984 kB / 438.4 MB, free: 46.65 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.2777, allocations: 0.9362 MB / 439.3 MB, free: 45.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.2777, allocations: 3.984 kB / 439.3 MB, free: 45.67 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003307/0.278, allocations: 71.89 kB / 439.4 MB, free: 45.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003292/0.2783, allocations: 67.55 kB / 439.5 MB, free: 45.54 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.2784, allocations: 4 kB / 439.5 MB, free: 45.53 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007771/0.2791, allocations: 1.312 MB / 440.8 MB, free: 44.12 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2791, allocations: 0 / 440.8 MB, free: 44.12 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.2802, allocations: 0.699 MB / 441.5 MB, free: 43.41 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.13e-05/0.2803, allocations: 51.72 kB / 441.5 MB, free: 43.36 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.993e-05/0.2803, allocations: 12.08 kB / 441.6 MB, free: 43.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.2805, allocations: 19.98 kB / 441.6 MB, free: 43.32 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.723e-05/0.2806, allocations: 27.95 kB / 441.6 MB, free: 43.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.2806, allocations: 4 kB / 441.6 MB, free: 43.29 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001163/0.2807, allocations: 187.1 kB / 441.8 MB, free: 43.11 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2807, allocations: 0 / 441.8 MB, free: 43.11 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00191/0.2826, allocations: 0.8891 MB / 442.7 MB, free: 42.22 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Accumulator1.zl,Accumulator1.hl,Accumulator1.Mg,Accumulator1.Tg) * Number of discrete variables: 2 ($cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002949/0.2856, allocations: 1.066 MB / 443.7 MB, free: 41.23 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00154/0.2871, allocations: 0.5624 MB / 444.3 MB, free: 40.67 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2871, allocations: 0 / 444.3 MB, free: 40.67 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004558/0.2876, allocations: 306.4 kB / 444.6 MB, free: 40.36 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00069/0.2883, allocations: 126.8 kB / 444.7 MB, free: 40.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.2894, allocations: 0.8817 MB / 445.6 MB, free: 39.35 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.2895, allocations: 203.5 kB / 445.8 MB, free: 39.13 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001192/0.2897, allocations: 30.3 kB / 445.8 MB, free: 39.11 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.894e-05/0.2897, allocations: 24.5 kB / 445.9 MB, free: 39.08 MB / 330.7 MB Notification: Performance of SimCode: time 4.2e-07/0.2897, allocations: 0 / 445.9 MB, free: 39.08 MB / 330.7 MB Notification: Performance of Templates: time 0.03329/0.323, allocations: 33.7 MB / 479.6 MB, free: 5.473 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.841390794026665]