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.000929/0.000929, allocations: 80.8 kB / 21.5 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.001024/0.001024, allocations: 172.3 kB / 24.91 MB, free: 8.77 MB / 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 1.058/1.058, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.107/0.107, allocations: 19.74 MB / 281.6 MB, free: 9.152 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.452e-06/1.452e-06, allocations: 0 / 305.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.242e-05/1.388e-05, allocations: 8.703 kB / 305.2 MB, free: 13.1 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.03852/0.03853, allocations: 43.16 MB / 348.4 MB, free: 2.945 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008437/0.04697, allocations: 8.497 MB / 356.9 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003731/0.04734, allocations: 31.75 kB / 356.9 MB, free: 10.38 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005389/0.04788, allocations: 297.6 kB / 357.2 MB, free: 10.09 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000807/0.04869, allocations: 0.6401 MB / 357.8 MB, free: 9.445 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008204/0.05689, allocations: 4.84 MB / 362.7 MB, free: 4.586 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001256/0.05815, allocations: 1.703 MB / 364.4 MB, free: 2.871 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007403/0.05889, allocations: 0.5342 MB / 364.9 MB, free: 2.316 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000662/0.05955, allocations: 0.8572 MB / 365.8 MB, free: 1.457 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004303/0.05998, allocations: 0.514 MB / 366.3 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.021e-05/0.06004, allocations: 68 kB / 366.4 MB, free: 0.875 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006932/0.06697, allocations: 6.2 MB / 372.6 MB, free: 10.67 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.06709, allocations: 175.2 kB / 372.7 MB, free: 10.5 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.06727, allocations: 299.4 kB / 373 MB, free: 10.2 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003872/0.07114, allocations: 4.735 MB / 377.8 MB, free: 5.457 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.07115, allocations: 3.938 kB / 377.8 MB, free: 5.453 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.07115, allocations: 0 / 377.8 MB, free: 5.453 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.07115, allocations: 0 / 377.8 MB, free: 5.453 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.00211/0.07326, allocations: 1.432 MB / 379.2 MB, free: 3.992 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.07329, allocations: 12.03 kB / 379.2 MB, free: 3.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003718/0.07367, allocations: 200.6 kB / 379.4 MB, free: 3.785 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004444/0.07411, allocations: 391.3 kB / 379.8 MB, free: 3.379 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.07414, allocations: 45.69 kB / 379.8 MB, free: 3.332 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.195e-05/0.07419, allocations: 68.38 kB / 379.9 MB, free: 3.266 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007471/0.07494, allocations: 0.6628 MB / 380.6 MB, free: 2.547 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.07496, allocations: 8.125 kB / 380.6 MB, free: 2.539 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/0.07499, allocations: 27.94 kB / 380.6 MB, free: 2.512 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.075, allocations: 20 kB / 380.6 MB, free: 2.492 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004593/0.07546, allocations: 308.8 kB / 380.9 MB, free: 2.188 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001624/0.07709, allocations: 2.32 MB / 383.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00056/0.07765, allocations: 368.9 kB / 383.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.641e-05/0.07773, allocations: 77.66 kB / 383.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1172/0.1949, allocations: 58.37 MB / 442 MB, free: 4.887 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/0.195, allocations: 38.56 kB / 442.1 MB, free: 4.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 2.554e-06/0.195, allocations: 0 / 442.1 MB, free: 4.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.00136/0.1963, allocations: 476.3 kB / 442.5 MB, free: 4.371 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.1964, allocations: 85.11 kB / 442.6 MB, free: 4.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002871/0.1967, allocations: 359.2 kB / 443 MB, free: 3.902 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.1967, allocations: 37.7 kB / 443 MB, free: 3.859 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.1968, allocations: 309.5 kB / 443.3 MB, free: 3.555 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.588e-05/0.1969, allocations: 111 kB / 443.4 MB, free: 3.445 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.992e-05/0.1969, allocations: 73.94 kB / 443.5 MB, free: 3.363 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.803e-05/0.197, allocations: 354.7 kB / 443.8 MB, free: 3.008 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.665e-05/0.1971, allocations: 46.16 kB / 443.9 MB, free: 2.961 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.1972, allocations: 117.7 kB / 444 MB, free: 2.816 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004374/0.1977, allocations: 194.5 kB / 444.2 MB, free: 2.598 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.1977, allocations: 0 / 444.2 MB, free: 2.598 MB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003414/0.198, allocations: 217.3 kB / 444.4 MB, free: 2.379 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.198, allocations: 7.938 kB / 444.4 MB, free: 2.371 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.198, allocations: 4 kB / 444.4 MB, free: 2.367 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.198, allocations: 4 kB / 444.4 MB, free: 2.363 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002576/0.1983, allocations: 96 kB / 444.5 MB, free: 2.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1983, allocations: 7.984 kB / 444.5 MB, free: 2.262 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.1984, allocations: 27.84 kB / 444.5 MB, free: 2.234 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.1984, allocations: 11.98 kB / 444.6 MB, free: 2.223 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001106/0.1986, allocations: 112.8 kB / 444.7 MB, free: 2.109 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.508e-05/0.1986, allocations: 127.4 kB / 444.8 MB, free: 1.945 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001481/0.1988, allocations: 190.9 kB / 445 MB, free: 1.723 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.984e-06/0.1988, allocations: 3.984 kB / 445 MB, free: 1.719 MB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.000216/0.199, allocations: 217.9 kB / 445.2 MB, free: 1.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.592e-06/0.199, allocations: 4 kB / 445.2 MB, free: 1.496 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.199, allocations: 4 kB / 445.2 MB, free: 1.492 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.019e-06/0.199, allocations: 7.938 kB / 445.2 MB, free: 1.484 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.1992, allocations: 87.88 kB / 445.3 MB, free: 1.398 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1992, allocations: 7.938 kB / 445.3 MB, free: 1.391 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.452e-05/0.1993, allocations: 19.89 kB / 445.3 MB, free: 1.371 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.1993, allocations: 20.27 kB / 445.3 MB, free: 1.352 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.0001014/0.1994, allocations: 196.2 kB / 445.5 MB, free: 1.152 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.141e-05/0.1995, allocations: 39.95 kB / 445.6 MB, free: 1.113 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006645/0.2001, allocations: 0.9154 MB / 446.5 MB, free: 196 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.2002, allocations: 23.97 kB / 446.5 MB, free: 172 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.2002, allocations: 0 / 446.5 MB, free: 172 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.2002, allocations: 0 / 446.5 MB, free: 172 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1408/0.3409, allocations: 0.5132 MB / 447 MB, free: 120.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.341, allocations: 1.438 kB / 447 MB, free: 120.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002884/0.3412, allocations: 65.22 kB / 447.1 MB, free: 120.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.3412, allocations: 1.5 kB / 447.1 MB, free: 120.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.3413, allocations: 11.41 kB / 447.1 MB, free: 120.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.3413, allocations: 2.609 kB / 447.1 MB, free: 120.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.3413, allocations: 5.297 kB / 447.1 MB, free: 120.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006432/0.3419, allocations: 0.6973 MB / 447.8 MB, free: 120.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.342, allocations: 94.42 kB / 447.9 MB, free: 120.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.358e-05/0.3421, allocations: 8.703 kB / 447.9 MB, free: 120.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.3422, allocations: 15.5 kB / 447.9 MB, free: 120.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.222e-05/0.3423, allocations: 46.77 kB / 448 MB, free: 120.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.3423, allocations: 13.34 kB / 448 MB, free: 120.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001332/0.3425, allocations: 150.4 kB / 448.1 MB, free: 120.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3425, allocations: 0.5625 kB / 448.1 MB, free: 120.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002366/0.3448, allocations: 1.102 MB / 449.2 MB, free: 120.5 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.00251/0.3473, allocations: 1.128 MB / 450.4 MB, free: 120.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004661/0.3478, allocations: 331 kB / 450.7 MB, free: 120.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/0.3478, allocations: 4.188 kB / 450.7 MB, free: 120.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001901/0.348, allocations: 190.1 kB / 450.9 MB, free: 120.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007198/0.3487, allocations: 248.1 kB / 451.1 MB, free: 120.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.3507, allocations: 1.49 MB / 452.6 MB, free: 119.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/0.3509, allocations: 178.2 kB / 452.8 MB, free: 119.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005504/0.3514, allocations: 371.8 kB / 453.1 MB, free: 119.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000361/0.3518, allocations: 196.2 kB / 453.3 MB, free: 119.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.3518, allocations: 1.656 kB / 453.3 MB, free: 119.6 MB / 410.7 MB Notification: Performance of Templates: time 0.03655/0.3883, allocations: 41.5 MB / 494.8 MB, free: 89.36 MB / 410.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.545328295789659]