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.00101/0.00101, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001833/0.001833, allocations: 170.4 kB / 24.91 MB, free: 9.199 MB / 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 0.9893/0.9893, allocations: 158.6 MB / 186.8 MB, free: 2.777 MB / 170.7 MB " [Timeout remaining time 179] 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.2147/0.2147, allocations: 36.34 MB / 275.4 MB, free: 10.55 MB / 266.7 MB " [Timeout remaining time 180] 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 3.316e-06/3.316e-06, allocations: 1.094 kB / 305.2 MB, free: 14.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.086e-05/3.417e-05, allocations: 2.312 kB / 305.2 MB, free: 14.04 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.02395/0.02398, allocations: 21.46 MB / 326.7 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008658/0.03264, allocations: 7.888 MB / 334.6 MB, free: 6.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002636/0.03291, allocations: 7.938 kB / 334.6 MB, free: 6.652 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004608/0.03337, allocations: 115 kB / 334.7 MB, free: 6.539 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00043/0.0338, allocations: 222.3 kB / 334.9 MB, free: 6.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01139/0.04518, allocations: 4.007 MB / 338.9 MB, free: 2.293 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007361/0.04592, allocations: 0.6103 MB / 339.5 MB, free: 1.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003463/0.04627, allocations: 196.3 kB / 339.7 MB, free: 1.477 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004202/0.04669, allocations: 311.2 kB / 340 MB, free: 1.172 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002808/0.04697, allocations: 179.4 kB / 340.2 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.019e-05/0.04701, allocations: 24 kB / 340.2 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01022/0.05722, allocations: 6.172 MB / 346.4 MB, free: 10.79 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.478e-05/0.05731, allocations: 75.66 kB / 346.5 MB, free: 10.72 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.05745, allocations: 127.7 kB / 346.6 MB, free: 10.59 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006591/0.06404, allocations: 4.385 MB / 351 MB, free: 6.199 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.06405, allocations: 4 kB / 351 MB, free: 6.195 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.06405, allocations: 0 / 351 MB, free: 6.195 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.06405, allocations: 0 / 351 MB, free: 6.195 MB / 314.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.002303/0.06635, allocations: 0.9608 MB / 351.9 MB, free: 5.207 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.06639, allocations: 20.02 kB / 352 MB, free: 5.188 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/0.06656, allocations: 60.89 kB / 352 MB, free: 5.129 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.06684, allocations: 225.7 kB / 352.2 MB, free: 4.879 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.06686, allocations: 16.88 kB / 352.3 MB, free: 4.863 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.108e-05/0.0669, allocations: 36.31 kB / 352.3 MB, free: 4.828 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003875/0.06729, allocations: 261.6 kB / 352.6 MB, free: 4.551 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.0673, allocations: 4 kB / 352.6 MB, free: 4.551 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.06732, allocations: 15.88 kB / 352.6 MB, free: 4.535 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.06733, allocations: 12 kB / 352.6 MB, free: 4.523 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001991/0.06753, allocations: 95.36 kB / 352.7 MB, free: 4.434 MB / 314.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.0008737/0.06841, allocations: 0.715 MB / 353.4 MB, free: 3.691 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002788/0.06868, allocations: 149.2 kB / 353.5 MB, free: 3.539 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.236e-05/0.06876, allocations: 44.84 kB / 353.6 MB, free: 3.492 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1171/0.1859, allocations: 58.25 MB / 411.8 MB, free: 9.172 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.032e-05/0.1859, allocations: 34.56 kB / 411.9 MB, free: 9.129 MB / 378.7 MB Notification: Performance of pre-optimization done (n=23): time 4.088e-06/0.1859, allocations: 0 / 411.9 MB, free: 9.129 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.001746/0.1877, allocations: 0.6269 MB / 412.5 MB, free: 8.461 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.1877, allocations: 59.39 kB / 412.6 MB, free: 8.391 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.1879, allocations: 247 kB / 412.8 MB, free: 8.141 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.188, allocations: 29.7 kB / 412.8 MB, free: 8.105 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.493e-05/0.188, allocations: 165.3 kB / 413 MB, free: 7.941 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.444e-05/0.1881, allocations: 99.14 kB / 413.1 MB, free: 7.844 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.687e-05/0.1882, allocations: 53.64 kB / 413.1 MB, free: 7.785 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1883, allocations: 342.8 kB / 413.5 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.97e-05/0.1884, allocations: 40.78 kB / 413.5 MB, free: 7.398 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.096e-05/0.1884, allocations: 65.64 kB / 413.6 MB, free: 7.328 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.1886, allocations: 110.1 kB / 413.7 MB, free: 7.215 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1886, allocations: 0 / 413.7 MB, free: 7.215 MB / 378.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005017/0.1891, allocations: 286 kB / 414 MB, free: 6.926 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.1891, allocations: 8.031 kB / 414 MB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.1891, allocations: 0 / 414 MB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006378/0.1897, allocations: 199.6 kB / 414.2 MB, free: 6.723 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.987e-05/0.1898, allocations: 31.98 kB / 414.2 MB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005756/0.1904, allocations: 0.6829 MB / 414.9 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.1905, allocations: 12 kB / 414.9 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.1905, allocations: 11.98 kB / 414.9 MB, free: 5.961 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001259/0.1907, allocations: 112.1 kB / 415 MB, free: 5.848 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.952e-05/0.1907, allocations: 57.94 kB / 415.1 MB, free: 5.785 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001194/0.1908, allocations: 109.6 kB / 415.2 MB, free: 5.672 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.362e-06/0.1908, allocations: 4 kB / 415.2 MB, free: 5.668 MB / 378.7 MB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0004577/0.1913, allocations: 274.5 kB / 415.4 MB, free: 5.391 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1913, allocations: 11.98 kB / 415.5 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.1913, allocations: 0 / 415.5 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005057/0.1918, allocations: 192.6 kB / 415.6 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.117e-05/0.1919, allocations: 35.98 kB / 415.7 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004343/0.1923, allocations: 0.659 MB / 416.3 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.874e-05/0.1924, allocations: 15.98 kB / 416.4 MB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.1924, allocations: 12 kB / 416.4 MB, free: 4.441 MB / 378.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.0001022/0.1925, allocations: 184.3 kB / 416.5 MB, free: 4.254 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.927e-05/0.1925, allocations: 27.97 kB / 416.6 MB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003827/0.1929, allocations: 359.1 kB / 416.9 MB, free: 3.867 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.1929, allocations: 4.125 kB / 416.9 MB, free: 3.863 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1929, allocations: 8 kB / 416.9 MB, free: 3.855 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1929, allocations: 3.984 kB / 416.9 MB, free: 3.852 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000665/0.1936, allocations: 0.5941 MB / 417.5 MB, free: 3.227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.1936, allocations: 3.938 kB / 417.5 MB, free: 3.223 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/0.1939, allocations: 83.88 kB / 417.6 MB, free: 3.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001737/0.194, allocations: 48.8 kB / 417.7 MB, free: 3.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.194, allocations: 8 kB / 417.7 MB, free: 3.082 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006873/0.1947, allocations: 1.17 MB / 418.8 MB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1947, allocations: 4.125 kB / 418.8 MB, free: 1.812 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003874/0.1951, allocations: 438.7 kB / 419.3 MB, free: 1.367 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.243e-05/0.1952, allocations: 39.69 kB / 419.3 MB, free: 1.328 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/0.1952, allocations: 8 kB / 419.3 MB, free: 1.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.1954, allocations: 8 kB / 419.3 MB, free: 1.312 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.601e-05/0.1954, allocations: 31.89 kB / 419.4 MB, free: 1.281 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.1954, allocations: 11.98 kB / 419.4 MB, free: 1.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.805e-05/0.1955, allocations: 92.62 kB / 419.5 MB, free: 1.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1955, allocations: 0 / 419.5 MB, free: 1.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002287/0.1978, allocations: 0.8774 MB / 420.3 MB, free: 308 kB / 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.003911/0.2017, allocations: 1.121 MB / 421.5 MB, free: 15.17 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009511/0.2027, allocations: 378.2 kB / 421.8 MB, free: 14.79 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.444e-05/0.2027, allocations: 4 kB / 421.8 MB, free: 14.79 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002973/0.203, allocations: 224.2 kB / 422.1 MB, free: 14.55 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005253/0.2035, allocations: 125.5 kB / 422.2 MB, free: 14.44 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.2052, allocations: 0.7991 MB / 423 MB, free: 13.61 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.2053, allocations: 109.1 kB / 423.1 MB, free: 13.48 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001614/0.2055, allocations: 30.27 kB / 423.1 MB, free: 13.45 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002071/0.2057, allocations: 121.3 kB / 423.2 MB, free: 13.33 MB / 394.7 MB Notification: Performance of SimCode: time 1.844e-06/0.2057, allocations: 4 kB / 423.2 MB, free: 13.33 MB / 394.7 MB Notification: Performance of Templates: time 0.0468/0.2525, allocations: 37.66 MB / 460.9 MB, free: 7.645 MB / 426.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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.835050722118467]