Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.0006414/0.0006414, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008714/0.001513, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006664/0.0006664, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008867/0.001553, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.8409/0.8409, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06657/0.9074, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.09115/0.09115, allocations: 19.78 MB / 263.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009847/0.101, allocations: 7.561 MB / 271.5 MB, free: 3.344 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_ThermoPower.Test.WaterComponents.TestJoin") translateModel(ThermoPower.Test.WaterComponents.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 272.8 MB, free: 2.023 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.223e-05/1.356e-05, allocations: 6.109 kB / 272.8 MB, free: 2.02 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.1324/0.1324, allocations: 43.26 MB / 316.1 MB, free: 2.238 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008247/0.1407, allocations: 8.545 MB / 324.7 MB, free: 9.664 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004065/0.1411, allocations: 31.69 kB / 324.7 MB, free: 9.633 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005108/0.1416, allocations: 305.6 kB / 325 MB, free: 9.332 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006939/0.1423, allocations: 0.6556 MB / 325.6 MB, free: 8.672 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008571/0.1509, allocations: 4.802 MB / 330.4 MB, free: 3.855 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001546/0.1524, allocations: 1.715 MB / 332.2 MB, free: 2.133 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004761/0.1529, allocations: 0.5304 MB / 332.7 MB, free: 1.586 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006826/0.1536, allocations: 0.9071 MB / 333.6 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004011/0.154, allocations: 0.5101 MB / 334.1 MB, free: 168 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.907e-05/0.154, allocations: 64 kB / 334.2 MB, free: 104 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006981/0.161, allocations: 6.226 MB / 340.4 MB, free: 9.871 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.506e-05/0.1611, allocations: 135.4 kB / 340.5 MB, free: 9.738 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.1613, allocations: 263.5 kB / 340.8 MB, free: 9.48 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003117/0.1644, allocations: 3.606 MB / 344.4 MB, free: 5.867 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.1644, allocations: 4 kB / 344.4 MB, free: 5.863 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1644, allocations: 0 / 344.4 MB, free: 5.863 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.1644, allocations: 0 / 344.4 MB, free: 5.863 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.002085/0.1665, allocations: 1.878 MB / 346.3 MB, free: 3.938 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.319e-05/0.1665, allocations: 8.031 kB / 346.3 MB, free: 3.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003466/0.1669, allocations: 196.6 kB / 346.5 MB, free: 3.738 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003626/0.1672, allocations: 391.3 kB / 346.9 MB, free: 3.332 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.1673, allocations: 51 kB / 346.9 MB, free: 3.281 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.814e-05/0.1673, allocations: 60.38 kB / 347 MB, free: 3.223 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006969/0.168, allocations: 0.6628 MB / 347.6 MB, free: 2.508 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.168, allocations: 8.125 kB / 347.6 MB, free: 2.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.308e-05/0.168, allocations: 31.94 kB / 347.7 MB, free: 2.469 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.1681, allocations: 16 kB / 347.7 MB, free: 2.453 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004393/0.1685, allocations: 320.8 kB / 348 MB, free: 2.137 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.17, allocations: 2.316 MB / 350.3 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000535/0.1705, allocations: 373 kB / 350.7 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.022e-05/0.1706, allocations: 77.69 kB / 350.7 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1086/0.2792, allocations: 58.36 MB / 409.1 MB, free: 4.852 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.2792, allocations: 34.56 kB / 409.1 MB, free: 4.809 MB / 394.7 MB Notification: Performance of pre-optimization done (n=32): time 2.375e-06/0.2792, allocations: 0 / 409.1 MB, free: 4.809 MB / 394.7 MB Notification: Performance of matching and sorting (n=32): time 0.0009333/0.2801, allocations: 482.8 kB / 409.6 MB, free: 4.332 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.2802, allocations: 85.11 kB / 409.7 MB, free: 4.23 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.2804, allocations: 367.1 kB / 410 MB, free: 3.859 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.2804, allocations: 29.7 kB / 410.1 MB, free: 3.824 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.2805, allocations: 309.5 kB / 410.4 MB, free: 3.516 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.462e-05/0.2806, allocations: 115 kB / 410.5 MB, free: 3.402 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.811e-05/0.2806, allocations: 61.98 kB / 410.6 MB, free: 3.332 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003291/0.281, allocations: 358.7 kB / 410.9 MB, free: 2.973 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.137e-05/0.281, allocations: 50.14 kB / 411 MB, free: 2.922 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.912e-05/0.2811, allocations: 126.4 kB / 411.1 MB, free: 2.77 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.2813, allocations: 202.8 kB / 411.3 MB, free: 2.547 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2813, allocations: 0 / 411.3 MB, free: 2.547 MB / 394.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002309/0.2816, allocations: 209.3 kB / 411.5 MB, free: 2.336 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.2816, allocations: 11.94 kB / 411.5 MB, free: 2.324 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2816, allocations: 8.188 kB / 411.5 MB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.2816, allocations: 4 kB / 411.5 MB, free: 2.312 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/0.2818, allocations: 103.9 kB / 411.6 MB, free: 2.211 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.2818, allocations: 4 kB / 411.6 MB, free: 2.207 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.282, allocations: 27.78 kB / 411.6 MB, free: 2.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.282, allocations: 15.98 kB / 411.7 MB, free: 2.164 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.895e-05/0.2821, allocations: 112.8 kB / 411.8 MB, free: 2.051 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.453e-05/0.2822, allocations: 135.3 kB / 411.9 MB, free: 1.879 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001363/0.2823, allocations: 189 kB / 412.1 MB, free: 1.656 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.649e-06/0.2823, allocations: 4 kB / 412.1 MB, free: 1.652 MB / 394.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0001784/0.2825, allocations: 206.2 kB / 412.3 MB, free: 1.445 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.124e-06/0.2825, allocations: 8 kB / 412.3 MB, free: 1.438 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/0.2825, allocations: 4 kB / 412.3 MB, free: 1.434 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.519e-06/0.2825, allocations: 7.938 kB / 412.3 MB, free: 1.426 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.2826, allocations: 95.88 kB / 412.4 MB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.2826, allocations: 14.23 kB / 412.4 MB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.051e-05/0.2827, allocations: 23.84 kB / 412.4 MB, free: 1.297 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.2827, allocations: 15.98 kB / 412.4 MB, free: 1.281 MB / 394.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 (T1.fluidState.phase,T2.fluidState.phase,T3.fluidState.phase,T4.fluidState.phase,T5.fluidState.phase,T6.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 8.356e-05/0.2828, allocations: 199.3 kB / 412.6 MB, free: 1.082 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.385e-05/0.2829, allocations: 39.95 kB / 412.7 MB, free: 1.043 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005913/0.2835, allocations: 0.9051 MB / 413.6 MB, free: 136 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.2835, allocations: 27.95 kB / 413.6 MB, free: 108 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.2835, allocations: 7.938 kB / 413.6 MB, free: 100 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.2835, allocations: 4 kB / 413.6 MB, free: 96 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004541/0.2839, allocations: 0.5088 MB / 414.1 MB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.284, allocations: 0 / 414.1 MB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.2841, allocations: 76.77 kB / 414.2 MB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.991e-05/0.2842, allocations: 91.16 kB / 414.3 MB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2842, allocations: 4 kB / 414.3 MB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.2842, allocations: 11.94 kB / 414.3 MB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.2842, allocations: 7.984 kB / 414.3 MB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2842, allocations: 4 kB / 414.3 MB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003972/0.2846, allocations: 0.6933 MB / 415 MB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.2846, allocations: 13.61 kB / 415 MB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.2848, allocations: 12 kB / 415 MB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.918e-05/0.2848, allocations: 47.86 kB / 415.1 MB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.2848, allocations: 8 kB / 415.1 MB, free: 14.58 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.59e-05/0.2849, allocations: 152.7 kB / 415.2 MB, free: 14.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2849, allocations: 4 kB / 415.3 MB, free: 14.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001465/0.2864, allocations: 1.099 MB / 416.4 MB, free: 13.32 MB / 410.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.002096/0.2885, allocations: 1.138 MB / 417.5 MB, free: 12.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003376/0.2888, allocations: 344.1 kB / 417.8 MB, free: 11.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/0.2888, allocations: 12.09 kB / 417.8 MB, free: 11.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003914/0.2892, allocations: 204.5 kB / 418 MB, free: 11.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008116/0.29, allocations: 0.9594 MB / 419 MB, free: 10.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007709/0.2977, allocations: 1.519 MB / 420.5 MB, free: 8.957 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.082e-05/0.2978, allocations: 176.7 kB / 420.7 MB, free: 8.766 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00032/0.2982, allocations: 361.9 kB / 421 MB, free: 8.418 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002895/0.2984, allocations: 201.2 kB / 421.2 MB, free: 8.219 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.2984, allocations: 0 / 421.2 MB, free: 8.219 MB / 410.7 MB Notification: Performance of Templates: time 0.1358/0.4343, allocations: 36.58 MB / 457.8 MB, free: 108.5 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestJoin -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.686483711004257]