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.0013/0.0013, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.0009919/0.0009919, allocations: 168.3 kB / 24.81 MB, free: 9.27 MB / 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.9306/0.9306, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.08826/0.08826, allocations: 19.75 MB / 281.6 MB, free: 9.109 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.322e-06/1.322e-06, allocations: 0 / 358.4 MB, free: 7.383 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.337e-05, allocations: 2.312 kB / 358.4 MB, free: 7.379 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.01756/0.01758, allocations: 21.32 MB / 379.8 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007005/0.02459, allocations: 7.771 MB / 387.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002858/0.02487, allocations: 7.938 kB / 387.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004184/0.02529, allocations: 119 kB / 387.7 MB, free: 10.05 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003709/0.02566, allocations: 218.3 kB / 387.9 MB, free: 9.84 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008861/0.03452, allocations: 4.444 MB / 392.3 MB, free: 5.379 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007515/0.03527, allocations: 0.6142 MB / 392.9 MB, free: 4.762 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002985/0.03557, allocations: 195.6 kB / 393.1 MB, free: 4.566 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003354/0.03591, allocations: 319.2 kB / 393.4 MB, free: 4.254 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.03613, allocations: 175.5 kB / 393.6 MB, free: 4.082 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.436e-05/0.03617, allocations: 28 kB / 393.6 MB, free: 4.055 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007575/0.04374, allocations: 5.771 MB / 399.4 MB, free: 14.28 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.921e-05/0.04383, allocations: 75.67 kB / 399.5 MB, free: 14.2 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001801/0.04401, allocations: 135.7 kB / 399.6 MB, free: 14.07 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007128/0.05114, allocations: 4.396 MB / 404 MB, free: 9.664 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.05115, allocations: 0 / 404 MB, free: 9.664 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.05115, allocations: 0 / 404 MB, free: 9.664 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.05115, allocations: 0 / 404 MB, free: 9.664 MB / 378.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.002126/0.05328, allocations: 1.097 MB / 405.1 MB, free: 8.527 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.05332, allocations: 12.03 kB / 405.1 MB, free: 8.516 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.05348, allocations: 72.7 kB / 405.2 MB, free: 8.445 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.05374, allocations: 248.5 kB / 405.4 MB, free: 8.172 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.05376, allocations: 24.81 kB / 405.4 MB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.0538, allocations: 24.38 kB / 405.5 MB, free: 8.125 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003764/0.05417, allocations: 269 kB / 405.7 MB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.05418, allocations: 4.188 kB / 405.7 MB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.0542, allocations: 15.94 kB / 405.8 MB, free: 7.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.05421, allocations: 8 kB / 405.8 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.05438, allocations: 103.3 kB / 405.9 MB, free: 7.707 MB / 378.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.000932/0.05531, allocations: 1.027 MB / 406.9 MB, free: 6.641 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002435/0.05556, allocations: 154.8 kB / 407 MB, free: 6.477 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.757e-05/0.05561, allocations: 51.66 kB / 407.1 MB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02601/0.08163, allocations: 15.42 MB / 422.5 MB, free: 6.977 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.08166, allocations: 37.39 kB / 422.5 MB, free: 6.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=23): time 2.204e-06/0.08166, allocations: 0 / 422.5 MB, free: 6.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.00127/0.08293, allocations: 0.6666 MB / 423.2 MB, free: 6.223 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/0.08295, allocations: 55.41 kB / 423.3 MB, free: 6.156 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.08312, allocations: 298.2 kB / 423.6 MB, free: 5.844 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.08314, allocations: 29.7 kB / 423.6 MB, free: 5.809 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.381e-05/0.08323, allocations: 247.3 kB / 423.8 MB, free: 5.562 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.121e-05/0.08329, allocations: 103.1 kB / 423.9 MB, free: 5.461 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.635e-05/0.08336, allocations: 59.34 kB / 424 MB, free: 5.395 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.08348, allocations: 0.5156 MB / 424.5 MB, free: 4.867 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.257e-05/0.08355, allocations: 43.66 kB / 424.5 MB, free: 4.82 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.707e-05/0.08361, allocations: 67.31 kB / 424.6 MB, free: 4.746 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.08374, allocations: 127.8 kB / 424.7 MB, free: 4.613 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.08374, allocations: 3.938 kB / 424.7 MB, free: 4.609 MB / 394.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005398/0.08428, allocations: 344.5 kB / 425.1 MB, free: 4.262 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.0843, allocations: 4 kB / 425.1 MB, free: 4.258 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.0843, allocations: 0 / 425.1 MB, free: 4.258 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005823/0.08488, allocations: 215.5 kB / 425.3 MB, free: 4.043 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.365e-05/0.08496, allocations: 31.98 kB / 425.3 MB, free: 4.012 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005904/0.08555, allocations: 0.9702 MB / 426.3 MB, free: 3.012 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.502e-05/0.08564, allocations: 11.98 kB / 426.3 MB, free: 3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.08566, allocations: 12 kB / 426.3 MB, free: 2.988 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001197/0.08578, allocations: 178.8 kB / 426.5 MB, free: 2.809 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.275e-05/0.08584, allocations: 63.31 kB / 426.6 MB, free: 2.738 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001163/0.08596, allocations: 120.1 kB / 426.7 MB, free: 2.613 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.21e-07/0.08596, allocations: 0 / 426.7 MB, free: 2.613 MB / 394.7 MB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0004653/0.08642, allocations: 332.7 kB / 427 MB, free: 2.277 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.316e-06/0.08643, allocations: 4 kB / 427 MB, free: 2.273 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-06/0.08643, allocations: 0 / 427 MB, free: 2.273 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004856/0.08692, allocations: 207.4 kB / 427.2 MB, free: 2.066 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.437e-05/0.08698, allocations: 31.92 kB / 427.2 MB, free: 2.035 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004792/0.08746, allocations: 0.9589 MB / 428.2 MB, free: 1.047 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.936e-05/0.08754, allocations: 20.05 kB / 428.2 MB, free: 1.027 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.08755, allocations: 8 kB / 428.2 MB, free: 1.02 MB / 394.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 9.906e-05/0.08765, allocations: 280 kB / 428.5 MB, free: 0.7383 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/0.0877, allocations: 39.75 kB / 428.5 MB, free: 0.6992 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003681/0.08807, allocations: 334.2 kB / 428.9 MB, free: 372 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.08807, allocations: 15.98 kB / 428.9 MB, free: 356 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.08808, allocations: 4 kB / 428.9 MB, free: 352 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.08808, allocations: 0 / 428.9 MB, free: 352 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006758/0.08876, allocations: 0.691 MB / 429.6 MB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.08876, allocations: 4 kB / 429.6 MB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.08893, allocations: 63.89 kB / 429.6 MB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001787/0.08911, allocations: 59.62 kB / 429.7 MB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.08912, allocations: 4 kB / 429.7 MB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007313/0.08985, allocations: 1.737 MB / 431.4 MB, free: 13.63 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.08985, allocations: 0 / 431.4 MB, free: 13.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004066/0.09026, allocations: 499 kB / 431.9 MB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.47e-05/0.09032, allocations: 47.73 kB / 432 MB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.09034, allocations: 8 kB / 432 MB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.298e-05/0.09044, allocations: 11.98 kB / 432 MB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.09049, allocations: 27.95 kB / 432 MB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.0905, allocations: 8.062 kB / 432 MB, free: 13.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.967e-05/0.09059, allocations: 210.9 kB / 432.2 MB, free: 12.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.09059, allocations: 0 / 432.2 MB, free: 12.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00181/0.0924, allocations: 0.8852 MB / 433.1 MB, free: 11.93 MB / 410.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.002481/0.09488, allocations: 1.091 MB / 434.2 MB, free: 10.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006685/0.09555, allocations: 407.2 kB / 434.6 MB, free: 10.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.09555, allocations: 0 / 434.6 MB, free: 10.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002389/0.09579, allocations: 293.4 kB / 434.9 MB, free: 10.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.0962, allocations: 125.2 kB / 435 MB, free: 9.984 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.09746, allocations: 0.8478 MB / 435.9 MB, free: 9.102 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.815e-05/0.09752, allocations: 105.1 kB / 436 MB, free: 8.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001035/0.09762, allocations: 22.3 kB / 436 MB, free: 8.961 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.0978, allocations: 158.1 kB / 436.1 MB, free: 8.805 MB / 410.7 MB Notification: Performance of SimCode: time 8.41e-07/0.0978, allocations: 0 / 436.1 MB, free: 8.805 MB / 410.7 MB Notification: Performance of Templates: time 0.1535/0.2513, allocations: 38.61 MB / 474.8 MB, free: 96.68 MB / 410.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.516779887955636]