Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.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.001044/0.001044, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001144/0.001144, allocations: 161 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.8707/0.8707, allocations: 177.1 MB / 205 MB, free: 5.598 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.1182/0.1182, allocations: 19.73 MB / 281.2 MB, free: 9.238 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.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin") translateModel(ThermoPower.Test.WaterComponents.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.644e-06/1.644e-06, allocations: 0 / 358 MB, free: 6.582 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.458e-05/2.622e-05, allocations: 5.688 kB / 358 MB, free: 6.578 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.02966/0.02969, allocations: 43.4 MB / 401.4 MB, free: 11.02 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008134/0.03782, allocations: 8.475 MB / 409.9 MB, free: 2.512 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005653/0.03839, allocations: 31.69 kB / 409.9 MB, free: 2.48 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007283/0.03912, allocations: 317.5 kB / 410.2 MB, free: 2.168 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008128/0.03993, allocations: 0.6401 MB / 410.8 MB, free: 1.523 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1315/0.1714, allocations: 5.247 MB / 416.1 MB, free: 18.85 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001723/0.1731, allocations: 1.714 MB / 417.8 MB, free: 18.4 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007898/0.1739, allocations: 0.5358 MB / 418.3 MB, free: 18.36 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001053/0.1749, allocations: 0.8652 MB / 419.2 MB, free: 18.28 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006299/0.1756, allocations: 0.549 MB / 419.8 MB, free: 18.21 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.947e-05/0.1757, allocations: 65.84 kB / 419.8 MB, free: 18.21 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008091/0.1838, allocations: 5.801 MB / 425.6 MB, free: 18.19 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002282/0.184, allocations: 174.8 kB / 425.8 MB, free: 18.15 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005372/0.1845, allocations: 304 kB / 426.1 MB, free: 18.12 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007456/0.192, allocations: 4.734 MB / 430.8 MB, free: 17.58 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.192, allocations: 0 / 430.8 MB, free: 17.58 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.192, allocations: 0 / 430.8 MB, free: 17.58 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.669e-05/0.192, allocations: 0 / 430.8 MB, free: 17.58 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.002563/0.1946, allocations: 1.528 MB / 432.3 MB, free: 16.63 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.1946, allocations: 9 kB / 432.4 MB, free: 16.63 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004121/0.195, allocations: 216.5 kB / 432.6 MB, free: 16.56 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004203/0.1954, allocations: 462.9 kB / 433 MB, free: 16.29 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.108e-05/0.1955, allocations: 48.88 kB / 433.1 MB, free: 16.29 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.685e-05/0.1955, allocations: 64.56 kB / 433.1 MB, free: 16.29 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000836/0.1964, allocations: 0.7355 MB / 433.9 MB, free: 15.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.1964, allocations: 10.23 kB / 433.9 MB, free: 15.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-05/0.1964, allocations: 31.56 kB / 433.9 MB, free: 15.9 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.1964, allocations: 19.34 kB / 433.9 MB, free: 15.9 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005717/0.197, allocations: 395.3 kB / 434.3 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001696/0.1987, allocations: 3.312 MB / 437.6 MB, free: 13.28 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006417/0.1993, allocations: 433 kB / 438 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.1995, allocations: 111.1 kB / 438.2 MB, free: 13.1 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02693/0.2264, allocations: 17.53 MB / 455.7 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.2264, allocations: 40.7 kB / 455.7 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 2.084e-06/0.2264, allocations: 0 / 455.7 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.001124/0.2276, allocations: 0.5757 MB / 456.3 MB, free: 156 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/0.2276, allocations: 87.23 kB / 456.4 MB, free: 52 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/0.2279, allocations: 417.5 kB / 456.8 MB, free: 15.69 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.2279, allocations: 30.14 kB / 456.8 MB, free: 15.66 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.2281, allocations: 403.7 kB / 457.2 MB, free: 15.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.699e-05/0.2281, allocations: 118.2 kB / 457.3 MB, free: 15.25 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-05/0.2282, allocations: 77.88 kB / 457.4 MB, free: 15.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.2284, allocations: 0.5319 MB / 457.9 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.2285, allocations: 70.66 kB / 458 MB, free: 14.59 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.2287, allocations: 178.6 kB / 458.2 MB, free: 14.4 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/0.2289, allocations: 238.4 kB / 458.4 MB, free: 14.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2289, allocations: 4 kB / 458.4 MB, free: 14.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004056/0.2293, allocations: 321.1 kB / 458.7 MB, free: 13.92 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.2294, allocations: 4.25 kB / 458.7 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.2294, allocations: 8 kB / 458.7 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.2294, allocations: 4 kB / 458.7 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.2296, allocations: 83.2 kB / 458.8 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.2296, allocations: 7 kB / 458.8 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.2298, allocations: 31.52 kB / 458.9 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.2298, allocations: 15.94 kB / 458.9 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001584/0.2299, allocations: 182.9 kB / 459.1 MB, free: 13.61 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001241/0.2301, allocations: 175.3 kB / 459.2 MB, free: 13.4 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002102/0.2303, allocations: 243.6 kB / 459.5 MB, free: 13.13 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.362e-06/0.2303, allocations: 0 / 459.5 MB, free: 13.13 MB / 346.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0003076/0.2306, allocations: 302.5 kB / 459.8 MB, free: 12.85 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.773e-06/0.2306, allocations: 4 kB / 459.8 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.237e-06/0.2306, allocations: 4 kB / 459.8 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.34e-06/0.2306, allocations: 4 kB / 459.8 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.2307, allocations: 79.42 kB / 459.9 MB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.2308, allocations: 6.688 kB / 459.9 MB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.14e-05/0.2308, allocations: 31.84 kB / 459.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.2309, allocations: 20.86 kB / 459.9 MB, free: 12.71 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (T6.fluidState.phase,T5.fluidState.phase,T4.fluidState.phase,T3.fluidState.phase,T2.fluidState.phase,T1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001235/0.231, allocations: 297 kB / 460.2 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.021e-05/0.2311, allocations: 58.53 kB / 460.3 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009129/0.232, allocations: 0.9856 MB / 461.2 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.945e-05/0.232, allocations: 19.97 kB / 461.3 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.232, allocations: 4 kB / 461.3 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.232, allocations: 4 kB / 461.3 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007014/0.2327, allocations: 0.6515 MB / 461.9 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.2327, allocations: 6 kB / 461.9 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/0.2329, allocations: 63.14 kB / 462 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.2329, allocations: 0 / 462 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.2329, allocations: 8 kB / 462 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.2329, allocations: 4 kB / 462 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2329, allocations: 0 / 462 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.234, allocations: 0.8631 MB / 462.9 MB, free: 9.719 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.2341, allocations: 104.7 kB / 463 MB, free: 9.617 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/0.2341, allocations: 15.98 kB / 463 MB, free: 9.602 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.2343, allocations: 8 kB / 463 MB, free: 9.594 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.2344, allocations: 47.92 kB / 463 MB, free: 9.547 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.2345, allocations: 12 kB / 463.1 MB, free: 9.535 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001929/0.2346, allocations: 275 kB / 463.3 MB, free: 9.273 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2346, allocations: 0 / 463.3 MB, free: 9.273 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002627/0.2373, allocations: 1.103 MB / 464.4 MB, free: 8.168 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002989/0.2403, allocations: 1.079 MB / 465.5 MB, free: 7.164 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006786/0.2409, allocations: 413.6 kB / 465.9 MB, free: 6.777 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.2409, allocations: 0 / 465.9 MB, free: 6.777 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002938/0.2412, allocations: 237.7 kB / 466.1 MB, free: 6.547 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.2423, allocations: 240.2 kB / 466.4 MB, free: 6.312 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/0.2448, allocations: 1.506 MB / 467.9 MB, free: 4.77 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.2449, allocations: 176.7 kB / 468.1 MB, free: 4.578 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005096/0.2454, allocations: 372.8 kB / 468.4 MB, free: 4.227 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.2455, allocations: 44.5 kB / 468.5 MB, free: 4.184 MB / 346.7 MB Notification: Performance of SimCode: time 1.443e-06/0.2455, allocations: 4 kB / 468.5 MB, free: 4.18 MB / 346.7 MB Notification: Performance of Templates: time 0.05359/0.2991, allocations: 43.07 MB / 0.4995 GB, free: 9.387 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.098415729124099]