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.0006814/0.0006814, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000919/0.0016, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006805/0.0006805, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009064/0.001587, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.9032/0.9032, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07976/0.9829, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.08244/0.08244, allocations: 19.75 MB / 263.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01022/0.09266, allocations: 7.56 MB / 271.3 MB, free: 3.473 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.002e-06/1.002e-06, allocations: 0 / 272.6 MB, free: 2.176 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.666e-06/9.668e-06, allocations: 6.312 kB / 272.6 MB, free: 2.168 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.1333/0.1333, allocations: 43.26 MB / 315.9 MB, free: 2.027 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009135/0.1424, allocations: 8.549 MB / 324.4 MB, free: 9.445 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000624/0.1431, allocations: 31.69 kB / 324.4 MB, free: 9.414 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005712/0.1436, allocations: 313.6 kB / 324.7 MB, free: 9.105 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001014/0.1447, allocations: 0.6362 MB / 325.4 MB, free: 8.465 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01015/0.1548, allocations: 4.807 MB / 330.2 MB, free: 3.645 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001428/0.1562, allocations: 1.715 MB / 331.9 MB, free: 1.922 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009109/0.1571, allocations: 0.5382 MB / 332.4 MB, free: 1.363 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008543/0.158, allocations: 0.8954 MB / 333.3 MB, free: 476 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004294/0.1584, allocations: 0.5179 MB / 333.9 MB, free: 15.95 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.004e-05/0.1585, allocations: 64 kB / 333.9 MB, free: 15.88 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007429/0.1659, allocations: 6.221 MB / 340.1 MB, free: 9.656 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.166, allocations: 131.4 kB / 340.3 MB, free: 9.527 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002155/0.1662, allocations: 259.6 kB / 340.5 MB, free: 9.273 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004277/0.1705, allocations: 3.626 MB / 344.1 MB, free: 5.641 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.249e-05/0.1705, allocations: 0 / 344.1 MB, free: 5.641 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1705, allocations: 0 / 344.1 MB, free: 5.641 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.869e-05/0.1706, allocations: 0 / 344.1 MB, free: 5.641 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.002053/0.1726, allocations: 1.882 MB / 346 MB, free: 3.711 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.1726, allocations: 8.031 kB / 346 MB, free: 3.703 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003452/0.173, allocations: 196.6 kB / 346.2 MB, free: 3.512 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003866/0.1734, allocations: 387.3 kB / 346.6 MB, free: 3.105 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.1734, allocations: 49.69 kB / 346.7 MB, free: 3.055 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.626e-05/0.1734, allocations: 68.3 kB / 346.7 MB, free: 2.988 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009289/0.1744, allocations: 0.6667 MB / 347.4 MB, free: 2.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.1744, allocations: 8.125 kB / 347.4 MB, free: 2.262 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.11e-05/0.1744, allocations: 31.94 kB / 347.4 MB, free: 2.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.1744, allocations: 16 kB / 347.4 MB, free: 2.215 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004082/0.1748, allocations: 312.8 kB / 347.7 MB, free: 1.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001619/0.1765, allocations: 2.32 MB / 350.1 MB, free: 15.51 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005456/0.177, allocations: 372.8 kB / 350.4 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.209e-05/0.1771, allocations: 77.69 kB / 350.5 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09266/0.2697, allocations: 58.36 MB / 408.9 MB, free: 4.625 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.2698, allocations: 43.36 kB / 408.9 MB, free: 4.574 MB / 394.7 MB Notification: Performance of pre-optimization done (n=32): time 1.944e-06/0.2698, allocations: 0 / 408.9 MB, free: 4.574 MB / 394.7 MB Notification: Performance of matching and sorting (n=32): time 0.0008789/0.2707, allocations: 482.6 kB / 409.4 MB, free: 4.098 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.2707, allocations: 85.11 kB / 409.5 MB, free: 3.996 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.2709, allocations: 355.2 kB / 409.8 MB, free: 3.637 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.2709, allocations: 29.7 kB / 409.8 MB, free: 3.602 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.271, allocations: 309.5 kB / 410.1 MB, free: 3.293 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.431e-05/0.2711, allocations: 115 kB / 410.3 MB, free: 3.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.074e-05/0.2712, allocations: 65.98 kB / 410.3 MB, free: 3.105 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.556e-05/0.2712, allocations: 358.7 kB / 410.7 MB, free: 2.746 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.856e-05/0.2713, allocations: 46.14 kB / 410.7 MB, free: 2.699 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.482e-05/0.2714, allocations: 130.4 kB / 410.8 MB, free: 2.543 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.2716, allocations: 190.9 kB / 411 MB, free: 2.328 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2716, allocations: 0 / 411 MB, free: 2.328 MB / 394.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002222/0.2718, allocations: 213.3 kB / 411.2 MB, free: 2.113 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.2718, allocations: 8.188 kB / 411.2 MB, free: 2.105 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.2718, allocations: 9.625 kB / 411.3 MB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.2718, allocations: 7.984 kB / 411.3 MB, free: 2.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000256/0.2721, allocations: 99.81 kB / 411.4 MB, free: 1.992 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.2721, allocations: 7.984 kB / 411.4 MB, free: 1.984 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.2722, allocations: 27.84 kB / 411.4 MB, free: 1.957 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.2722, allocations: 11.98 kB / 411.4 MB, free: 1.945 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001004/0.2723, allocations: 120.8 kB / 411.5 MB, free: 1.824 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.899e-05/0.2724, allocations: 125.3 kB / 411.6 MB, free: 1.664 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001361/0.2726, allocations: 194.6 kB / 411.8 MB, free: 1.438 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.82e-07/0.2726, allocations: 0 / 411.8 MB, free: 1.438 MB / 394.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0003589/0.2729, allocations: 206.7 kB / 412 MB, free: 1.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.392e-06/0.2729, allocations: 4 kB / 412 MB, free: 1.227 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.2729, allocations: 4 kB / 412 MB, free: 1.223 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.038e-06/0.2729, allocations: 7.938 kB / 412.1 MB, free: 1.215 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.2731, allocations: 96.22 kB / 412.1 MB, free: 1.121 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.2731, allocations: 11.94 kB / 412.2 MB, free: 1.109 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.507e-05/0.2732, allocations: 35.77 kB / 412.2 MB, free: 1.074 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.2732, allocations: 12 kB / 412.2 MB, free: 1.062 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.31e-05/0.2733, allocations: 196.2 kB / 412.4 MB, free: 0.8633 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.226e-05/0.2733, allocations: 42.2 kB / 412.4 MB, free: 0.8242 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000599/0.2739, allocations: 0.909 MB / 413.3 MB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/0.2739, allocations: 27.97 kB / 413.4 MB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.644e-06/0.2739, allocations: 0 / 413.4 MB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.2739, allocations: 3.984 kB / 413.4 MB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004676/0.2744, allocations: 0.5088 MB / 413.9 MB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.2744, allocations: 0 / 413.9 MB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.2746, allocations: 75.88 kB / 414 MB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.217e-05/0.2747, allocations: 91.17 kB / 414.1 MB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2747, allocations: 0 / 414.1 MB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.2747, allocations: 15.92 kB / 414.1 MB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2747, allocations: 0 / 414.1 MB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2747, allocations: 4 kB / 414.1 MB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003964/0.2751, allocations: 0.7048 MB / 414.8 MB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.055e-05/0.2751, allocations: 8 kB / 414.8 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.2752, allocations: 8 kB / 414.8 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.038e-05/0.2753, allocations: 51.86 kB / 414.8 MB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.2753, allocations: 13.17 kB / 414.9 MB, free: 14.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.306e-05/0.2754, allocations: 152.6 kB / 415 MB, free: 14.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2754, allocations: 8 kB / 415 MB, free: 14.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001513/0.2769, allocations: 1.099 MB / 416.1 MB, free: 13.1 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.001933/0.2788, allocations: 1.15 MB / 417.3 MB, free: 11.94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003267/0.2792, allocations: 333.2 kB / 417.6 MB, free: 11.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/0.2792, allocations: 16.17 kB / 417.6 MB, free: 11.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.2793, allocations: 176.6 kB / 417.8 MB, free: 11.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006504/0.28, allocations: 286.7 kB / 418.1 MB, free: 11.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008402/0.2884, allocations: 1.527 MB / 419.6 MB, free: 9.582 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.602e-05/0.2885, allocations: 180.7 kB / 419.8 MB, free: 9.387 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003655/0.2888, allocations: 366.5 kB / 420.1 MB, free: 9.031 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002812/0.2891, allocations: 185.2 kB / 420.3 MB, free: 8.848 MB / 410.7 MB Notification: Performance of SimCode: time 6.12e-07/0.2891, allocations: 4 kB / 420.3 MB, free: 8.844 MB / 410.7 MB Notification: Performance of Templates: time 0.1317/0.4208, allocations: 41.87 MB / 462.2 MB, free: 103 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: 4.188496594317257]