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.0009847/0.0009847, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009239/0.0009239, allocations: 165 kB / 24.56 MB, free: 12 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 0.8938/0.8938, allocations: 177.1 MB / 205 MB, free: 5.605 MB / 186.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.08596/0.08596, allocations: 19.73 MB / 281.2 MB, free: 9.242 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.603e-06/1.603e-06, allocations: 0 / 358 MB, free: 6.586 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.896e-05/2.056e-05, allocations: 2.312 kB / 358 MB, free: 6.582 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.01527/0.01529, allocations: 21.61 MB / 379.6 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006188/0.02147, allocations: 7.899 MB / 387.5 MB, free: 8.961 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001928/0.02167, allocations: 7.938 kB / 387.5 MB, free: 8.953 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004026/0.02207, allocations: 119 kB / 387.6 MB, free: 8.836 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002953/0.02236, allocations: 218.3 kB / 387.8 MB, free: 8.621 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007263/0.02963, allocations: 4.439 MB / 392.3 MB, free: 4.168 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005291/0.03016, allocations: 0.6142 MB / 392.9 MB, free: 3.551 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002503/0.03041, allocations: 202.9 kB / 393.1 MB, free: 3.348 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002455/0.03065, allocations: 315.2 kB / 393.4 MB, free: 3.039 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.03085, allocations: 183.4 kB / 393.6 MB, free: 2.859 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.364e-05/0.03088, allocations: 28 kB / 393.6 MB, free: 2.832 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006487/0.03737, allocations: 5.771 MB / 399.4 MB, free: 13.05 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.582e-05/0.03744, allocations: 75.69 kB / 399.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.03756, allocations: 131.7 kB / 399.6 MB, free: 12.85 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005226/0.04279, allocations: 4.393 MB / 404 MB, free: 8.449 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.04279, allocations: 0 / 404 MB, free: 8.449 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.04279, allocations: 0 / 404 MB, free: 8.449 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.0428, allocations: 0 / 404 MB, free: 8.449 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.001647/0.04445, allocations: 1.089 MB / 405 MB, free: 7.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.04449, allocations: 12.03 kB / 405.1 MB, free: 7.309 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000179/0.04467, allocations: 76.69 kB / 405.1 MB, free: 7.234 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.04497, allocations: 260.4 kB / 405.4 MB, free: 6.949 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.04499, allocations: 20.88 kB / 405.4 MB, free: 6.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.982e-05/0.04503, allocations: 28.38 kB / 405.4 MB, free: 6.902 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004128/0.04544, allocations: 292.9 kB / 405.7 MB, free: 6.594 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.04545, allocations: 4.125 kB / 405.7 MB, free: 6.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.04547, allocations: 11.94 kB / 405.7 MB, free: 6.578 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.04548, allocations: 8 kB / 405.7 MB, free: 6.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002138/0.0457, allocations: 126.8 kB / 405.9 MB, free: 6.445 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.0009221/0.04662, allocations: 1.061 MB / 406.9 MB, free: 5.332 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002951/0.04691, allocations: 170.9 kB / 407.1 MB, free: 5.152 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.664e-05/0.047, allocations: 59.67 kB / 407.1 MB, free: 5.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1406/0.1876, allocations: 17.52 MB / 424.7 MB, free: 40.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.1877, allocations: 43.11 kB / 424.7 MB, free: 40.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 3.066e-06/0.1877, allocations: 6.812 kB / 424.7 MB, free: 40.72 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.001329/0.189, allocations: 0.7402 MB / 425.5 MB, free: 40.52 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.883e-05/0.189, allocations: 54.59 kB / 425.5 MB, free: 40.46 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.1892, allocations: 310.2 kB / 425.8 MB, free: 40.28 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.1892, allocations: 31.95 kB / 425.8 MB, free: 40.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.473e-05/0.1892, allocations: 244.2 kB / 426.1 MB, free: 40.1 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.664e-05/0.1893, allocations: 95.64 kB / 426.2 MB, free: 40.05 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.942e-05/0.1893, allocations: 64.22 kB / 426.2 MB, free: 40.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.15e-05/0.1894, allocations: 0.5105 MB / 426.7 MB, free: 39.53 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.75e-05/0.1895, allocations: 50.94 kB / 426.8 MB, free: 39.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.11e-05/0.1896, allocations: 83.59 kB / 426.9 MB, free: 39.5 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.1897, allocations: 142.3 kB / 427 MB, free: 39.47 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1897, allocations: 4 kB / 427 MB, free: 39.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005356/0.1903, allocations: 368 kB / 427.4 MB, free: 39.39 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1903, allocations: 5.906 kB / 427.4 MB, free: 39.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1903, allocations: 0 / 427.4 MB, free: 39.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005903/0.1909, allocations: 224.6 kB / 427.6 MB, free: 39.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.379e-05/0.1909, allocations: 34.75 kB / 427.6 MB, free: 39.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004854/0.1914, allocations: 0.9838 MB / 428.6 MB, free: 38.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.329e-05/0.1915, allocations: 11.67 kB / 428.6 MB, free: 38.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.1915, allocations: 12.75 kB / 428.6 MB, free: 38.55 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001044/0.1916, allocations: 175 kB / 428.8 MB, free: 38.42 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.379e-05/0.1917, allocations: 77.88 kB / 428.9 MB, free: 38.4 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001433/0.1918, allocations: 144.2 kB / 429 MB, free: 38.37 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.12e-07/0.1918, allocations: 0 / 429 MB, free: 38.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0004661/0.1923, allocations: 361.2 kB / 429.4 MB, free: 38.29 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.713e-06/0.1923, allocations: 6.469 kB / 429.4 MB, free: 38.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-06/0.1923, allocations: 0 / 429.4 MB, free: 38.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004692/0.1928, allocations: 209.6 kB / 429.6 MB, free: 38.28 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.145e-05/0.1928, allocations: 32.28 kB / 429.6 MB, free: 38.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003841/0.1932, allocations: 0.9686 MB / 430.6 MB, free: 37.47 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.336e-05/0.1933, allocations: 17.88 kB / 430.6 MB, free: 37.47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.1933, allocations: 7.734 kB / 430.6 MB, free: 37.47 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 6.849e-05/0.1934, allocations: 281.4 kB / 430.9 MB, free: 37.2 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/0.1934, allocations: 43.06 kB / 430.9 MB, free: 37.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003988/0.1938, allocations: 385.7 kB / 431.3 MB, free: 37.1 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.1938, allocations: 5.844 kB / 431.3 MB, free: 37.1 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1938, allocations: 1.594 kB / 431.3 MB, free: 37.1 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.1938, allocations: 3.188 kB / 431.3 MB, free: 37.1 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006254/0.1945, allocations: 0.7602 MB / 432.1 MB, free: 36.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1945, allocations: 0 / 432.1 MB, free: 36.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.1946, allocations: 71.06 kB / 432.2 MB, free: 36.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001752/0.1948, allocations: 53.72 kB / 432.2 MB, free: 36.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.1948, allocations: 7.25 kB / 432.2 MB, free: 36.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005313/0.1954, allocations: 1.747 MB / 434 MB, free: 35.05 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1954, allocations: 7.562 kB / 434 MB, free: 35.04 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004363/0.1958, allocations: 0.5292 MB / 434.5 MB, free: 34.81 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.213e-05/0.1959, allocations: 51.36 kB / 434.6 MB, free: 34.79 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.1959, allocations: 12.62 kB / 434.6 MB, free: 34.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.258e-05/0.196, allocations: 11.52 kB / 434.6 MB, free: 34.78 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/0.196, allocations: 29.19 kB / 434.6 MB, free: 34.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.196, allocations: 7.219 kB / 434.6 MB, free: 34.78 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.76e-05/0.1961, allocations: 221.9 kB / 434.8 MB, free: 34.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1961, allocations: 0 / 434.8 MB, free: 34.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001475/0.1976, allocations: 0.8795 MB / 435.7 MB, free: 34.09 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.002233/0.1998, allocations: 1.061 MB / 436.8 MB, free: 33.22 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007535/0.2006, allocations: 444.5 kB / 437.2 MB, free: 32.89 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2006, allocations: 0 / 437.2 MB, free: 32.89 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002447/0.2008, allocations: 299 kB / 437.5 MB, free: 32.62 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.2013, allocations: 117 kB / 437.6 MB, free: 32.56 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.2025, allocations: 0.861 MB / 438.5 MB, free: 31.81 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.562e-05/0.2025, allocations: 110.5 kB / 438.6 MB, free: 31.7 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.061e-05/0.2026, allocations: 25.58 kB / 438.6 MB, free: 31.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.063e-05/0.2027, allocations: 28.5 kB / 438.6 MB, free: 31.66 MB / 330.7 MB Notification: Performance of SimCode: time 1.152e-06/0.2027, allocations: 0 / 438.6 MB, free: 31.66 MB / 330.7 MB Notification: Performance of Templates: time 0.03203/0.2347, allocations: 39.32 MB / 478 MB, free: 9.004 MB / 346.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=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestAccumulator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.9393156273290515]