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.001283/0.001283, allocations: 67.77 kB / 21.69 MB, free: 2.855 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.001407/0.001407, allocations: 166.7 kB / 24.99 MB, free: 8.789 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.7995/0.7995, allocations: 158.6 MB / 186.8 MB, free: 2.906 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.1614/0.1614, allocations: 36.34 MB / 275.4 MB, free: 10.73 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 1.223e-06/1.223e-06, allocations: 0 / 353.8 MB, free: 3.754 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.291e-05/1.413e-05, allocations: 2.312 kB / 353.8 MB, free: 3.75 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestAccumulator): time 0.05243/0.05245, allocations: 33.1 MB / 386.9 MB, free: 2.523 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01734/0.06979, allocations: 7.884 MB / 394.8 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002448/0.07003, allocations: 11.94 kB / 394.8 MB, free: 10.6 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004871/0.07052, allocations: 134.9 kB / 394.9 MB, free: 10.47 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003809/0.0709, allocations: 226.2 kB / 395.1 MB, free: 10.25 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007939/0.07884, allocations: 4.433 MB / 399.6 MB, free: 5.797 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004924/0.07933, allocations: 0.6064 MB / 400.2 MB, free: 5.188 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002684/0.0796, allocations: 199.6 kB / 400.4 MB, free: 4.984 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002618/0.07986, allocations: 311.2 kB / 400.7 MB, free: 4.68 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.08006, allocations: 183.4 kB / 400.9 MB, free: 4.5 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/0.08009, allocations: 28 kB / 400.9 MB, free: 4.473 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006383/0.08647, allocations: 5.755 MB / 406.6 MB, free: 14.71 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.772e-05/0.08653, allocations: 75.67 kB / 406.7 MB, free: 14.64 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.989e-05/0.08663, allocations: 131.7 kB / 406.8 MB, free: 14.51 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00449/0.09112, allocations: 4.381 MB / 411.2 MB, free: 10.12 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.09113, allocations: 0 / 411.2 MB, free: 10.12 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.09113, allocations: 0 / 411.2 MB, free: 10.12 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.09113, allocations: 0 / 411.2 MB, free: 10.12 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.001731/0.09286, allocations: 1.089 MB / 412.3 MB, free: 8.988 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.0929, allocations: 8.031 kB / 412.3 MB, free: 8.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.09307, allocations: 84.62 kB / 412.4 MB, free: 8.898 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.09334, allocations: 252.4 kB / 412.7 MB, free: 8.625 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.09335, allocations: 24.88 kB / 412.7 MB, free: 8.602 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.291e-05/0.0934, allocations: 24.38 kB / 412.7 MB, free: 8.578 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003937/0.09379, allocations: 284.9 kB / 413 MB, free: 8.273 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.0938, allocations: 4.188 kB / 413 MB, free: 8.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.09382, allocations: 11.94 kB / 413 MB, free: 8.258 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.09383, allocations: 8 kB / 413 MB, free: 8.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002298/0.09406, allocations: 126.8 kB / 413.1 MB, free: 8.129 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.0009375/0.095, allocations: 1.062 MB / 414.2 MB, free: 7.016 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002995/0.0953, allocations: 155 kB / 414.3 MB, free: 6.852 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.342e-05/0.09539, allocations: 67.59 kB / 414.4 MB, free: 6.781 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02844/0.1238, allocations: 16.82 MB / 431.2 MB, free: 5.949 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.1239, allocations: 33.39 kB / 431.3 MB, free: 5.906 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 2.134e-06/0.1239, allocations: 0 / 431.3 MB, free: 5.906 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.001439/0.1253, allocations: 0.7507 MB / 432 MB, free: 5.109 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.1253, allocations: 55.41 kB / 432.1 MB, free: 5.043 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.1255, allocations: 306.3 kB / 432.4 MB, free: 4.723 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.1255, allocations: 33.7 kB / 432.4 MB, free: 4.684 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.135e-05/0.1256, allocations: 235.4 kB / 432.6 MB, free: 4.449 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002987/0.1259, allocations: 107.1 kB / 432.7 MB, free: 4.344 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.357e-05/0.126, allocations: 55.36 kB / 432.8 MB, free: 4.281 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.1261, allocations: 0.504 MB / 433.3 MB, free: 3.766 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.169e-05/0.1262, allocations: 63.66 kB / 433.3 MB, free: 3.699 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.1263, allocations: 83.33 kB / 433.4 MB, free: 3.609 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.1265, allocations: 147.8 kB / 433.6 MB, free: 3.457 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1265, allocations: 3.938 kB / 433.6 MB, free: 3.453 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005907/0.1271, allocations: 360.7 kB / 433.9 MB, free: 3.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.1271, allocations: 4 kB / 433.9 MB, free: 3.086 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1271, allocations: 7.984 kB / 433.9 MB, free: 3.078 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006178/0.1277, allocations: 207.5 kB / 434.1 MB, free: 2.871 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.599e-05/0.1278, allocations: 35.92 kB / 434.2 MB, free: 2.836 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006153/0.1284, allocations: 0.9918 MB / 435.2 MB, free: 1.816 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.318e-05/0.1285, allocations: 8 kB / 435.2 MB, free: 1.809 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.1285, allocations: 11.94 kB / 435.2 MB, free: 1.797 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001284/0.1286, allocations: 178.8 kB / 435.4 MB, free: 1.617 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.105e-05/0.1287, allocations: 87.5 kB / 435.5 MB, free: 1.523 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001658/0.1289, allocations: 143.3 kB / 435.6 MB, free: 1.375 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.563e-06/0.1289, allocations: 3.984 kB / 435.6 MB, free: 1.371 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0005249/0.1294, allocations: 357.2 kB / 435.9 MB, free: 1.012 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.823e-06/0.1294, allocations: 4 kB / 435.9 MB, free: 1.008 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-06/0.1294, allocations: 8.031 kB / 436 MB, free: 1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005093/0.1299, allocations: 211.3 kB / 436.2 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.502e-05/0.13, allocations: 27.98 kB / 436.2 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005239/0.1305, allocations: 0.9639 MB / 437.2 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.6e-05/0.1306, allocations: 16.11 kB / 437.2 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.1306, allocations: 8 kB / 437.2 MB, free: 15.74 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 8.99e-05/0.1307, allocations: 280 kB / 437.5 MB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.288e-05/0.1308, allocations: 39.81 kB / 437.5 MB, free: 15.42 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004281/0.1312, allocations: 378.2 kB / 437.9 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.1312, allocations: 8 kB / 437.9 MB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1312, allocations: 3.984 kB / 437.9 MB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1312, allocations: 11.94 kB / 437.9 MB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000712/0.1319, allocations: 0.7608 MB / 438.6 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1319, allocations: 0 / 438.6 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.1321, allocations: 59.95 kB / 438.7 MB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001831/0.1323, allocations: 67.5 kB / 438.8 MB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.1323, allocations: 8 kB / 438.8 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009388/0.1332, allocations: 1.74 MB / 440.5 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1332, allocations: 8.062 kB / 440.5 MB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000489/0.1337, allocations: 0.5353 MB / 441.1 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.043e-05/0.1338, allocations: 47.72 kB / 441.1 MB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.1338, allocations: 4 kB / 441.1 MB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.778e-05/0.1339, allocations: 15.98 kB / 441.1 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.893e-05/0.134, allocations: 23.95 kB / 441.1 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.134, allocations: 11.94 kB / 441.2 MB, free: 11.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001087/0.1341, allocations: 218.9 kB / 441.4 MB, free: 11.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1341, allocations: 0 / 441.4 MB, free: 11.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001492/0.1356, allocations: 0.8814 MB / 442.3 MB, free: 10.44 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.002133/0.1377, allocations: 1.06 MB / 443.3 MB, free: 9.371 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007649/0.1385, allocations: 426.8 kB / 443.7 MB, free: 8.945 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.1385, allocations: 0 / 443.7 MB, free: 8.945 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002576/0.1387, allocations: 298.4 kB / 444 MB, free: 8.633 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.1392, allocations: 116.4 kB / 444.1 MB, free: 8.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.1404, allocations: 0.8821 MB / 445 MB, free: 7.609 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.596e-05/0.1405, allocations: 105.1 kB / 445.1 MB, free: 7.488 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.175e-05/0.1405, allocations: 26.28 kB / 445.1 MB, free: 7.465 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.137e-05/0.1406, allocations: 24.5 kB / 445.2 MB, free: 7.441 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1406, allocations: 0 / 445.2 MB, free: 7.441 MB / 378.7 MB Notification: Performance of Templates: time 0.1311/0.2717, allocations: 34.28 MB / 479.5 MB, free: 85.98 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=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestAccumulator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.160850333049893]