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.001308/0.001308, 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.0009299/0.0009299, allocations: 161.4 kB / 24.56 MB, free: 16 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.9429/0.9429, 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.1152/0.1152, 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.503e-06/1.503e-06, allocations: 0 / 358 MB, free: 6.617 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.729e-05/1.88e-05, allocations: 6.25 kB / 358 MB, free: 6.609 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.01821/0.01823, allocations: 21.61 MB / 379.6 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007183/0.02541, allocations: 7.903 MB / 387.5 MB, free: 8.992 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002397/0.02565, allocations: 7.938 kB / 387.5 MB, free: 8.984 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004181/0.02607, allocations: 115 kB / 387.6 MB, free: 8.871 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000335/0.02641, allocations: 222.2 kB / 387.8 MB, free: 8.652 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008742/0.03515, allocations: 4.448 MB / 392.3 MB, free: 4.188 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006242/0.03577, allocations: 0.6025 MB / 392.9 MB, free: 3.582 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002854/0.03606, allocations: 199.8 kB / 393.1 MB, free: 3.379 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002864/0.03634, allocations: 315.2 kB / 393.4 MB, free: 3.07 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.03656, allocations: 179.5 kB / 393.5 MB, free: 2.895 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.543e-05/0.03659, allocations: 35.94 kB / 393.6 MB, free: 2.859 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00815/0.04474, allocations: 5.767 MB / 399.3 MB, free: 13.09 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.402e-05/0.04483, allocations: 71.69 kB / 399.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.04499, allocations: 131.7 kB / 399.5 MB, free: 12.89 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006332/0.05132, allocations: 4.393 MB / 403.9 MB, free: 8.484 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.05133, allocations: 0 / 403.9 MB, free: 8.484 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.05133, allocations: 0 / 403.9 MB, free: 8.484 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.05133, allocations: 7.938 kB / 403.9 MB, free: 8.477 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.002135/0.05347, allocations: 1.085 MB / 405 MB, free: 7.352 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.05351, allocations: 12.03 kB / 405 MB, free: 7.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/0.05369, allocations: 76.69 kB / 405.1 MB, free: 7.266 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.05397, allocations: 260.5 kB / 405.4 MB, free: 6.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.05399, allocations: 24.88 kB / 405.4 MB, free: 6.957 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.185e-05/0.05403, allocations: 24.38 kB / 405.4 MB, free: 6.934 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004129/0.05445, allocations: 288.9 kB / 405.7 MB, free: 6.629 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.05446, allocations: 192 / 405.7 MB, free: 6.629 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.05448, allocations: 11.94 kB / 405.7 MB, free: 6.617 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.05449, allocations: 8 kB / 405.7 MB, free: 6.609 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000216/0.0547, allocations: 134.8 kB / 405.9 MB, free: 6.477 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.0009922/0.0557, allocations: 1.061 MB / 406.9 MB, free: 5.363 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003101/0.05601, allocations: 170.9 kB / 407.1 MB, free: 5.184 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.077e-05/0.0561, allocations: 59.66 kB / 407.1 MB, free: 5.121 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2011/0.2572, allocations: 17.51 MB / 424.7 MB, free: 41.04 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.2572, allocations: 43.55 kB / 424.7 MB, free: 41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 1.342e-06/0.2572, allocations: 0 / 424.7 MB, free: 41 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.001282/0.2585, allocations: 0.7499 MB / 425.4 MB, free: 40.8 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.509e-05/0.2585, allocations: 57.83 kB / 425.5 MB, free: 40.73 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.2586, allocations: 305.6 kB / 425.8 MB, free: 40.56 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.2586, allocations: 29.45 kB / 425.8 MB, free: 40.53 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.734e-05/0.2587, allocations: 242.8 kB / 426.1 MB, free: 40.38 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.545e-05/0.2588, allocations: 101.6 kB / 426.2 MB, free: 40.32 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.753e-05/0.2588, allocations: 62.78 kB / 426.2 MB, free: 40.3 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.129e-05/0.2589, allocations: 0.5077 MB / 426.7 MB, free: 39.8 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.544e-05/0.2589, allocations: 59.56 kB / 426.8 MB, free: 39.79 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.833e-05/0.259, allocations: 83.58 kB / 426.9 MB, free: 39.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.2592, allocations: 140.9 kB / 427 MB, free: 39.74 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.2592, allocations: 0 / 427 MB, free: 39.74 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005448/0.2597, allocations: 372 kB / 427.4 MB, free: 39.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.2598, allocations: 3.5 kB / 427.4 MB, free: 39.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2598, allocations: 0 / 427.4 MB, free: 39.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005858/0.2603, allocations: 222.5 kB / 427.6 MB, free: 39.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.981e-05/0.2604, allocations: 34.56 kB / 427.6 MB, free: 39.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004821/0.2609, allocations: 0.9807 MB / 428.6 MB, free: 38.83 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.751e-05/0.261, allocations: 12.33 kB / 428.6 MB, free: 38.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.261, allocations: 14.78 kB / 428.6 MB, free: 38.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000109/0.2611, allocations: 179.8 kB / 428.8 MB, free: 38.7 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.02e-05/0.2612, allocations: 81.36 kB / 428.9 MB, free: 38.67 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000148/0.2613, allocations: 138.4 kB / 429 MB, free: 38.64 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.242e-06/0.2613, allocations: 2.375 kB / 429 MB, free: 38.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0004832/0.2618, allocations: 354.7 kB / 429.4 MB, free: 38.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.472e-06/0.2618, allocations: 5.875 kB / 429.4 MB, free: 38.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-06/0.2618, allocations: 2.938 kB / 429.4 MB, free: 38.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004897/0.2623, allocations: 216.2 kB / 429.6 MB, free: 38.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.231e-05/0.2624, allocations: 25.95 kB / 429.6 MB, free: 38.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003872/0.2628, allocations: 0.9722 MB / 430.6 MB, free: 37.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.246e-05/0.2628, allocations: 11.56 kB / 430.6 MB, free: 37.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.2628, allocations: 11.5 kB / 430.6 MB, free: 37.74 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.201e-05/0.2629, allocations: 275.6 kB / 430.9 MB, free: 37.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.839e-05/0.2629, allocations: 39.25 kB / 430.9 MB, free: 37.46 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003716/0.2633, allocations: 389.6 kB / 431.3 MB, free: 37.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.2633, allocations: 7.375 kB / 431.3 MB, free: 37.38 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.2633, allocations: 5.594 kB / 431.3 MB, free: 37.38 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.2633, allocations: 3.609 kB / 431.3 MB, free: 37.38 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006342/0.264, allocations: 0.7594 MB / 432.1 MB, free: 37.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.264, allocations: 3 kB / 432.1 MB, free: 37.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.2641, allocations: 60.02 kB / 432.1 MB, free: 37.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001719/0.2643, allocations: 63.98 kB / 432.2 MB, free: 37.05 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.2643, allocations: 4.906 kB / 432.2 MB, free: 37.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000536/0.2649, allocations: 1.758 MB / 434 MB, free: 35.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2649, allocations: 3.938 kB / 434 MB, free: 35.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004312/0.2653, allocations: 0.5223 MB / 434.5 MB, free: 35.08 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.884e-05/0.2654, allocations: 54.52 kB / 434.5 MB, free: 35.06 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.2654, allocations: 7.188 kB / 434.6 MB, free: 35.06 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.478e-05/0.2655, allocations: 12.16 kB / 434.6 MB, free: 35.06 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.2655, allocations: 30.34 kB / 434.6 MB, free: 35.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.2655, allocations: 10.44 kB / 434.6 MB, free: 35.05 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.644e-05/0.2656, allocations: 216.8 kB / 434.8 MB, free: 34.93 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2656, allocations: 0 / 434.8 MB, free: 34.93 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001544/0.2672, allocations: 0.8798 MB / 435.7 MB, free: 34.35 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.002184/0.2693, allocations: 1.073 MB / 436.8 MB, free: 33.47 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007137/0.2701, allocations: 438.3 kB / 437.2 MB, free: 33.14 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.2701, allocations: 0 / 437.2 MB, free: 33.14 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002216/0.2703, allocations: 300.5 kB / 437.5 MB, free: 32.87 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.2707, allocations: 118 kB / 437.6 MB, free: 32.81 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.2719, allocations: 0.8603 MB / 438.5 MB, free: 32.06 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.508e-05/0.2719, allocations: 102.4 kB / 438.6 MB, free: 31.96 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.517e-05/0.272, allocations: 30 kB / 438.6 MB, free: 31.94 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.96e-05/0.2721, allocations: 30.14 kB / 438.6 MB, free: 31.91 MB / 330.7 MB Notification: Performance of SimCode: time 7.02e-07/0.2721, allocations: 0 / 438.6 MB, free: 31.91 MB / 330.7 MB Notification: Performance of Templates: time 0.02662/0.2987, allocations: 34.37 MB / 473 MB, free: 14.18 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.336767215747386]