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.001509/0.001509, 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.001805/0.001805, allocations: 169.1 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.8891/0.8891, allocations: 158.6 MB / 186.8 MB, free: 2.766 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.1892/0.1892, allocations: 36.34 MB / 275.4 MB, free: 10.54 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.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.242e-06/1.242e-06, allocations: 0 / 305.2 MB, free: 14.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.915e-05/2.039e-05, allocations: 2.312 kB / 305.2 MB, free: 14.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.02991/0.02993, allocations: 42.97 MB / 348.2 MB, free: 9.035 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008819/0.03875, allocations: 8.432 MB / 356.6 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.03985, allocations: 27.75 kB / 356.6 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.04088, allocations: 301.6 kB / 356.9 MB, free: 256 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001403/0.04228, allocations: 0.6362 MB / 357.6 MB, free: 15.61 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0123/0.05458, allocations: 5.253 MB / 362.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002063/0.05665, allocations: 1.703 MB / 364.5 MB, free: 8.625 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007843/0.05743, allocations: 0.5342 MB / 365.1 MB, free: 8.07 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009715/0.0584, allocations: 0.8534 MB / 365.9 MB, free: 7.215 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005336/0.05894, allocations: 0.5179 MB / 366.4 MB, free: 6.695 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.697e-05/0.05901, allocations: 64 kB / 366.5 MB, free: 6.633 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007837/0.06685, allocations: 5.782 MB / 372.3 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002141/0.06706, allocations: 171.2 kB / 372.4 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003938/0.06746, allocations: 303.4 kB / 372.7 MB, free: 388 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007632/0.07509, allocations: 4.712 MB / 377.5 MB, free: 11.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.0751, allocations: 4 kB / 377.5 MB, free: 11.65 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.0751, allocations: 0 / 377.5 MB, free: 11.65 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.07511, allocations: 0 / 377.5 MB, free: 11.65 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.002765/0.07788, allocations: 1.42 MB / 378.9 MB, free: 10.2 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.07791, allocations: 8.031 kB / 378.9 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002706/0.07818, allocations: 168.7 kB / 379 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004507/0.07863, allocations: 375.3 kB / 379.4 MB, free: 9.637 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.468e-05/0.07867, allocations: 49.69 kB / 379.5 MB, free: 9.586 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.546e-05/0.07872, allocations: 60.38 kB / 379.5 MB, free: 9.527 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007957/0.07952, allocations: 0.6745 MB / 380.2 MB, free: 8.797 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.07953, allocations: 192 / 380.2 MB, free: 8.797 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.553e-05/0.07957, allocations: 31.94 kB / 380.2 MB, free: 8.766 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.07958, allocations: 16 kB / 380.2 MB, free: 8.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005051/0.08009, allocations: 312.7 kB / 380.5 MB, free: 8.441 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001994/0.08208, allocations: 2.316 MB / 382.9 MB, free: 6.047 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008604/0.08294, allocations: 374 kB / 383.2 MB, free: 5.664 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.08306, allocations: 78.27 kB / 383.3 MB, free: 5.582 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1162/0.1993, allocations: 58.26 MB / 441.6 MB, free: 11.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.1993, allocations: 38.55 kB / 441.6 MB, free: 11.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 2.054e-06/0.1993, allocations: 0 / 441.6 MB, free: 11.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.0009672/0.2003, allocations: 483.8 kB / 442.1 MB, free: 10.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.2003, allocations: 85.05 kB / 442.2 MB, free: 10.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/0.2006, allocations: 351.2 kB / 442.5 MB, free: 10.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.2006, allocations: 29.7 kB / 442.5 MB, free: 10.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.2007, allocations: 309.4 kB / 442.8 MB, free: 9.934 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.518e-05/0.2008, allocations: 114.9 kB / 442.9 MB, free: 9.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.791e-05/0.2009, allocations: 69.94 kB / 443 MB, free: 9.742 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.201, allocations: 358.7 kB / 443.4 MB, free: 9.383 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.872e-05/0.201, allocations: 54.16 kB / 443.4 MB, free: 9.328 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.743e-05/0.2011, allocations: 109.8 kB / 443.5 MB, free: 9.191 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.2013, allocations: 191.7 kB / 443.7 MB, free: 8.977 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2013, allocations: 0 / 443.7 MB, free: 8.977 MB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000253/0.2016, allocations: 221.1 kB / 443.9 MB, free: 8.758 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.2016, allocations: 7.938 kB / 443.9 MB, free: 8.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.2016, allocations: 4 kB / 443.9 MB, free: 8.746 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.2016, allocations: 4 kB / 443.9 MB, free: 8.742 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.2018, allocations: 75.89 kB / 444 MB, free: 8.668 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.2018, allocations: 11.92 kB / 444 MB, free: 8.656 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.202, allocations: 35.72 kB / 444.1 MB, free: 8.621 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.202, allocations: 11.98 kB / 444.1 MB, free: 8.609 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001294/0.2021, allocations: 121 kB / 444.2 MB, free: 8.488 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.124e-05/0.2022, allocations: 128 kB / 444.3 MB, free: 8.324 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001455/0.2024, allocations: 192.4 kB / 444.5 MB, free: 8.098 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.963e-06/0.2024, allocations: 4 kB / 444.5 MB, free: 8.094 MB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0001978/0.2026, allocations: 199.3 kB / 444.7 MB, free: 7.895 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.187e-06/0.2026, allocations: 10.81 kB / 444.7 MB, free: 7.887 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.2026, allocations: 4 kB / 444.7 MB, free: 7.883 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.56e-06/0.2026, allocations: 8.281 kB / 444.7 MB, free: 7.875 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.2027, allocations: 79.89 kB / 444.8 MB, free: 7.797 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.2027, allocations: 4 kB / 444.8 MB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.25e-05/0.2028, allocations: 31.81 kB / 444.8 MB, free: 7.762 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.2028, allocations: 12 kB / 444.9 MB, free: 7.75 MB / 410.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 0.0001091/0.203, allocations: 200.1 kB / 445 MB, free: 7.547 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.22e-05/0.203, allocations: 43.95 kB / 445.1 MB, free: 7.504 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008014/0.2038, allocations: 0.9051 MB / 446 MB, free: 6.594 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/0.2038, allocations: 19.97 kB / 446 MB, free: 6.574 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.165e-06/0.2038, allocations: 0 / 446 MB, free: 6.574 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.2038, allocations: 7.984 kB / 446 MB, free: 6.566 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005001/0.2043, allocations: 0.5126 MB / 446.5 MB, free: 6.035 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.2043, allocations: 3.938 kB / 446.5 MB, free: 6.031 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.2045, allocations: 59.95 kB / 446.6 MB, free: 5.973 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.2045, allocations: 8 kB / 446.6 MB, free: 5.965 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.2045, allocations: 4 kB / 446.6 MB, free: 5.961 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.2045, allocations: 8 kB / 446.6 MB, free: 5.953 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.2045, allocations: 7.875 kB / 446.6 MB, free: 5.945 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004518/0.205, allocations: 0.6972 MB / 447.3 MB, free: 5.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.339e-05/0.2051, allocations: 95.14 kB / 447.4 MB, free: 5.137 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.2051, allocations: 8 kB / 447.4 MB, free: 5.129 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.2052, allocations: 11.98 kB / 447.4 MB, free: 5.117 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.004e-05/0.2053, allocations: 55.86 kB / 447.5 MB, free: 5.062 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.2053, allocations: 8 kB / 447.5 MB, free: 5.055 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.657e-05/0.2054, allocations: 148.7 kB / 447.6 MB, free: 4.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2054, allocations: 0 / 447.6 MB, free: 4.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00227/0.2077, allocations: 1.091 MB / 448.7 MB, free: 3.816 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.002444/0.2101, allocations: 1.121 MB / 449.9 MB, free: 2.691 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004678/0.2106, allocations: 332.6 kB / 450.2 MB, free: 2.359 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.383e-06/0.2106, allocations: 4 kB / 450.2 MB, free: 2.355 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.2108, allocations: 189.2 kB / 450.4 MB, free: 2.168 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006796/0.2115, allocations: 237 kB / 450.6 MB, free: 1.945 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.2134, allocations: 1.484 MB / 452.1 MB, free: 424 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.2135, allocations: 176.7 kB / 452.3 MB, free: 232 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004373/0.2139, allocations: 377.3 kB / 452.6 MB, free: 15.85 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003048/0.2142, allocations: 181.2 kB / 452.8 MB, free: 15.68 MB / 426.7 MB Notification: Performance of SimCode: time 9.62e-07/0.2142, allocations: 0 / 452.8 MB, free: 15.68 MB / 426.7 MB Notification: Performance of Templates: time 0.1551/0.3693, allocations: 41.37 MB / 494.2 MB, free: 121.4 MB / 426.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.558438377920538]