Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.001848/0.001848, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002497/0.002497, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 158.6 MB / 186.1 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.3036/0.3036, allocations: 36.35 MB / 274.7 MB, free: 10.71 MB / 266.7 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_ThermoPower.Test.WaterComponents.TestAccumulator") translateModel(ThermoPower.Test.WaterComponents.TestAccumulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 353.1 MB, free: 3.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.167e-05, allocations: 5.688 kB / 353.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.03817/0.03819, allocations: 29.59 MB / 382.7 MB, free: 6.074 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01154/0.04973, allocations: 7.155 MB / 389.8 MB, free: 14.89 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002796/0.05, allocations: 7.938 kB / 389.8 MB, free: 14.88 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005574/0.05056, allocations: 134.9 kB / 389.9 MB, free: 14.75 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004967/0.05106, allocations: 214.3 kB / 390.2 MB, free: 14.54 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01326/0.06432, allocations: 4.429 MB / 394.6 MB, free: 10.09 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009864/0.0653, allocations: 0.6102 MB / 395.2 MB, free: 9.484 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004028/0.0657, allocations: 191.8 kB / 395.4 MB, free: 9.289 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004668/0.06617, allocations: 315.1 kB / 395.7 MB, free: 8.98 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004627/0.06663, allocations: 179.5 kB / 395.9 MB, free: 8.805 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.573e-05/0.06669, allocations: 28 kB / 395.9 MB, free: 8.777 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01205/0.07874, allocations: 5.766 MB / 401.7 MB, free: 3.004 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.07888, allocations: 71.67 kB / 401.7 MB, free: 2.934 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003084/0.07919, allocations: 135.7 kB / 401.9 MB, free: 2.801 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01004/0.08923, allocations: 4.459 MB / 406.3 MB, free: 14.33 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.08924, allocations: 3.938 kB / 406.3 MB, free: 14.33 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.08924, allocations: 4 kB / 406.3 MB, free: 14.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.08925, allocations: 0 / 406.3 MB, free: 14.32 MB / 346.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.002893/0.09214, allocations: 0.986 MB / 407.3 MB, free: 13.3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.09219, allocations: 8.031 kB / 407.3 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003067/0.09249, allocations: 80.69 kB / 407.4 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005224/0.09302, allocations: 261.5 kB / 407.7 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/0.09305, allocations: 16.88 kB / 407.7 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.808e-05/0.09312, allocations: 32.38 kB / 407.7 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007154/0.09384, allocations: 316.9 kB / 408 MB, free: 12.56 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.09385, allocations: 4.188 kB / 408 MB, free: 12.56 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.691e-05/0.09389, allocations: 15.94 kB / 408 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.0939, allocations: 7.984 kB / 408 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006312/0.09453, allocations: 237.8 kB / 408.3 MB, free: 12.3 MB / 346.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.001579/0.09611, allocations: 0.8864 MB / 409.2 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005922/0.0967, allocations: 214.5 kB / 409.4 MB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002755/0.09698, allocations: 112.8 kB / 409.5 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06131/0.1583, allocations: 16.82 MB / 426.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.162e-05/0.1583, allocations: 34.56 kB / 426.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 2.254e-06/0.1583, allocations: 0 / 426.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.003197/0.1615, allocations: 0.9861 MB / 427.3 MB, free: 9.141 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.048e-05/0.1616, allocations: 55.41 kB / 427.4 MB, free: 9.074 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003894/0.162, allocations: 268.5 kB / 427.6 MB, free: 8.801 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/0.162, allocations: 29.7 kB / 427.7 MB, free: 8.766 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.1622, allocations: 188.7 kB / 427.9 MB, free: 8.578 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.1623, allocations: 99.12 kB / 427.9 MB, free: 8.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.1625, allocations: 49.7 kB / 428 MB, free: 8.426 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005153/0.163, allocations: 342.8 kB / 428.3 MB, free: 8.082 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002834/0.1633, allocations: 116.8 kB / 428.4 MB, free: 7.965 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002985/0.1636, allocations: 125.6 kB / 428.6 MB, free: 7.836 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005732/0.1641, allocations: 245.6 kB / 428.8 MB, free: 7.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1641, allocations: 8 kB / 428.8 MB, free: 7.582 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001425/0.1656, allocations: 482.3 kB / 429.3 MB, free: 7.102 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.1656, allocations: 12.03 kB / 429.3 MB, free: 7.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.1656, allocations: 3.984 kB / 429.3 MB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001282/0.1669, allocations: 248.6 kB / 429.5 MB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.167, allocations: 39.91 kB / 429.6 MB, free: 6.801 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001305/0.1683, allocations: 0.8162 MB / 430.4 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.1686, allocations: 16.05 kB / 430.4 MB, free: 5.945 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.942e-05/0.1686, allocations: 7.938 kB / 430.4 MB, free: 5.938 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004124/0.169, allocations: 208.1 kB / 430.6 MB, free: 5.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002958/0.1693, allocations: 137.6 kB / 430.8 MB, free: 5.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000555/0.1698, allocations: 234.4 kB / 431 MB, free: 5.355 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.223e-06/0.1699, allocations: 0 / 431 MB, free: 5.355 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.001383/0.1712, allocations: 473.9 kB / 431.5 MB, free: 4.883 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.1713, allocations: 8 kB / 431.5 MB, free: 4.875 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.1713, allocations: 0 / 431.5 MB, free: 4.875 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/0.1724, allocations: 248.5 kB / 431.7 MB, free: 4.629 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.1726, allocations: 43.91 kB / 431.7 MB, free: 4.586 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00113/0.1737, allocations: 0.7785 MB / 432.5 MB, free: 3.785 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.1739, allocations: 16.05 kB / 432.5 MB, free: 3.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.174, allocations: 15.98 kB / 432.6 MB, free: 3.754 MB / 362.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 0.0001923/0.1741, allocations: 200.1 kB / 432.8 MB, free: 3.551 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.772e-05/0.1742, allocations: 35.81 kB / 432.8 MB, free: 3.516 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.1755, allocations: 0.5578 MB / 433.3 MB, free: 2.941 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.1755, allocations: 7.984 kB / 433.4 MB, free: 2.934 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.1755, allocations: 256 / 433.4 MB, free: 2.934 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.1755, allocations: 7.938 kB / 433.4 MB, free: 2.926 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/0.1773, allocations: 0.9396 MB / 434.3 MB, free: 1.949 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.1773, allocations: 0 / 434.3 MB, free: 1.949 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003872/0.1777, allocations: 63.95 kB / 434.4 MB, free: 1.887 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003855/0.1781, allocations: 68.73 kB / 434.4 MB, free: 1.816 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/0.1781, allocations: 7.984 kB / 434.4 MB, free: 1.809 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001813/0.1799, allocations: 1.307 MB / 435.7 MB, free: 412 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1799, allocations: 0 / 435.7 MB, free: 412 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001487/0.1814, allocations: 0.7146 MB / 436.5 MB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.1816, allocations: 55.78 kB / 436.5 MB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.899e-05/0.1816, allocations: 4 kB / 436.5 MB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.1818, allocations: 15.98 kB / 436.5 MB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.468e-05/0.1819, allocations: 23.95 kB / 436.6 MB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/0.182, allocations: 15.92 kB / 436.6 MB, free: 15.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002253/0.1822, allocations: 187.1 kB / 436.8 MB, free: 15.37 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1822, allocations: 0 / 436.8 MB, free: 15.37 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00269/0.1849, allocations: 0.8735 MB / 437.6 MB, free: 14.5 MB / 378.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.003775/0.1886, allocations: 1.064 MB / 438.7 MB, free: 13.42 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001944/0.1906, allocations: 0.5541 MB / 439.2 MB, free: 12.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1906, allocations: 0 / 439.2 MB, free: 12.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006615/0.1913, allocations: 307.2 kB / 439.5 MB, free: 12.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008233/0.1921, allocations: 126.3 kB / 439.7 MB, free: 12.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.1939, allocations: 0.8788 MB / 440.5 MB, free: 11.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.1941, allocations: 203.6 kB / 440.7 MB, free: 11.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001445/0.1943, allocations: 30.28 kB / 440.8 MB, free: 11.28 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.197e-05/0.1943, allocations: 28.48 kB / 440.8 MB, free: 11.25 MB / 378.7 MB Notification: Performance of SimCode: time 7.32e-07/0.1943, allocations: 0 / 440.8 MB, free: 11.25 MB / 378.7 MB Notification: Performance of Templates: time 0.1769/0.3713, allocations: 33.61 MB / 474.4 MB, free: 90.94 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.264005854958668]