Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.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.001004/0.001004, 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.001127/0.001127, allocations: 168.3 kB / 24.91 MB, free: 8.777 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.8991/0.8991, allocations: 158.6 MB / 186.8 MB, free: 2.758 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.1682/0.1682, 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.TestSplitRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev") translateModel(ThermoPower.Test.WaterComponents.TestSplitRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 1.094 kB / 305.2 MB, free: 14.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.905e-05/2.05e-05, allocations: 2.312 kB / 305.2 MB, free: 14.01 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestSplitRev): time 0.03243/0.03245, allocations: 45.63 MB / 350.9 MB, free: 6.309 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009486/0.04194, allocations: 8.56 MB / 359.4 MB, free: 13.72 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006816/0.04262, allocations: 27.75 kB / 359.5 MB, free: 13.69 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007582/0.04338, allocations: 321.4 kB / 359.8 MB, free: 13.38 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.04445, allocations: 0.6827 MB / 360.5 MB, free: 12.69 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0109/0.05536, allocations: 4.855 MB / 365.3 MB, free: 7.812 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002098/0.05745, allocations: 1.917 MB / 367.2 MB, free: 5.887 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008395/0.05829, allocations: 0.605 MB / 367.8 MB, free: 5.258 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001122/0.05942, allocations: 0.9547 MB / 368.8 MB, free: 4.301 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007844/0.0602, allocations: 0.5764 MB / 369.4 MB, free: 3.723 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.913e-05/0.06028, allocations: 80 kB / 369.4 MB, free: 3.645 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008481/0.06876, allocations: 6.204 MB / 375.7 MB, free: 13.43 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002384/0.069, allocations: 199.2 kB / 375.8 MB, free: 13.24 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005055/0.0695, allocations: 359.3 kB / 376.2 MB, free: 12.89 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008677/0.07818, allocations: 4.813 MB / 381 MB, free: 8.062 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.07819, allocations: 4 kB / 381 MB, free: 8.059 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.07819, allocations: 0 / 381 MB, free: 8.059 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.0782, allocations: 0 / 381 MB, free: 8.059 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.003062/0.08126, allocations: 1.7 MB / 382.7 MB, free: 6.305 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.0813, allocations: 8.031 kB / 382.7 MB, free: 6.297 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002886/0.08159, allocations: 168.7 kB / 382.9 MB, free: 6.133 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004815/0.08207, allocations: 417.3 kB / 383.3 MB, free: 5.699 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.645e-05/0.08211, allocations: 58.36 kB / 383.4 MB, free: 5.641 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.306e-05/0.08217, allocations: 68.38 kB / 383.4 MB, free: 5.574 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.0834, allocations: 0.7948 MB / 384.2 MB, free: 4.719 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.08342, allocations: 192 / 384.2 MB, free: 4.719 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.114e-05/0.08346, allocations: 39.92 kB / 384.3 MB, free: 4.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.08347, allocations: 20 kB / 384.3 MB, free: 4.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000511/0.08398, allocations: 320.7 kB / 384.6 MB, free: 4.348 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001994/0.08598, allocations: 2.526 MB / 387.1 MB, free: 1.73 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006409/0.08662, allocations: 367.7 kB / 387.5 MB, free: 1.355 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.08672, allocations: 81.69 kB / 387.6 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1064/0.1931, allocations: 58.25 MB / 445.8 MB, free: 6.949 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006626/0.1938, allocations: 377.8 kB / 446.2 MB, free: 6.555 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.854e-06/0.1938, allocations: 0 / 446.2 MB, free: 6.555 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0009972/0.1948, allocations: 0.5165 MB / 446.7 MB, free: 6.031 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.1948, allocations: 89.11 kB / 446.8 MB, free: 5.926 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002787/0.1951, allocations: 419.1 kB / 447.2 MB, free: 5.504 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.1951, allocations: 41.7 kB / 447.2 MB, free: 5.457 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.1953, allocations: 325.7 kB / 447.5 MB, free: 5.133 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.577e-05/0.1954, allocations: 142.8 kB / 447.7 MB, free: 4.992 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.1955, allocations: 94.12 kB / 447.8 MB, free: 4.895 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.817e-05/0.1956, allocations: 374.7 kB / 448.1 MB, free: 4.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.1957, allocations: 177.6 kB / 448.3 MB, free: 4.316 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004484/0.1962, allocations: 262 kB / 448.6 MB, free: 4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.1964, allocations: 357.2 kB / 448.9 MB, free: 3.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1964, allocations: 0 / 448.9 MB, free: 3.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0004103/0.1969, allocations: 0.5025 MB / 449.4 MB, free: 3.031 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.668e-05/0.1969, allocations: 121.8 kB / 449.5 MB, free: 2.891 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.1969, allocations: 7.938 kB / 449.5 MB, free: 2.883 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1969, allocations: 4 kB / 449.6 MB, free: 2.879 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003345/0.1973, allocations: 124.2 kB / 449.7 MB, free: 2.758 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1973, allocations: 11.88 kB / 449.7 MB, free: 2.746 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/0.1975, allocations: 71.73 kB / 449.8 MB, free: 2.676 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.109e-05/0.1976, allocations: 15.98 kB / 449.8 MB, free: 2.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002139/0.1978, allocations: 251.9 kB / 450 MB, free: 2.387 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001539/0.1979, allocations: 271.7 kB / 450.3 MB, free: 2.055 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002301/0.1981, allocations: 346.5 kB / 450.6 MB, free: 1.648 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.926e-06/0.1982, allocations: 4 kB / 450.6 MB, free: 1.645 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0003461/0.1985, allocations: 0.4908 MB / 451.1 MB, free: 1.098 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.129e-05/0.1985, allocations: 122.8 kB / 451.2 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.1985, allocations: 4 kB / 451.2 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.94e-06/0.1985, allocations: 4 kB / 451.2 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/0.1988, allocations: 132.2 kB / 451.4 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1988, allocations: 8 kB / 451.4 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.199, allocations: 67.69 kB / 451.4 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.199, allocations: 19.98 kB / 451.5 MB, free: 0.7227 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 (Sine4.count,$PRE.Sine4.count,Sine4.T_start,$PRE.Sine4.T_start,Sine3.count,$PRE.Sine3.count,Sine3.T_start,$PRE.Sine3.T_start,$whenCondition3,$whenCondition4,Sine2.count,$PRE.Sine2.count,Sine2.T_start,$PRE.Sine2.T_start,Sine1.count,$PRE.Sine1.count,Sine1.T_start,$PRE.Sine1.T_start,$whenCondition1,$whenCondition2,T4.fluidState.phase,T5.fluidState.phase,T6.fluidState.phase,T1.fluidState.phase,T2.fluidState.phase,T3.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 4 * 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.0001297/0.1992, allocations: 214.1 kB / 451.7 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.758e-05/0.1992, allocations: 55.88 kB / 451.7 MB, free: 464 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007146/0.1999, allocations: 0.8645 MB / 452.6 MB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.839e-05/0.2, allocations: 23.97 kB / 452.6 MB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.2, allocations: 0 / 452.6 MB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.2, allocations: 4 kB / 452.6 MB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009238/0.2009, allocations: 0.9948 MB / 453.6 MB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.2009, allocations: 3.984 kB / 453.6 MB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002289/0.2011, allocations: 87.88 kB / 453.7 MB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.2011, allocations: 8.031 kB / 453.7 MB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.2012, allocations: 11.98 kB / 453.7 MB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.165e-06/0.2012, allocations: 4 kB / 453.7 MB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.2012, allocations: 3.984 kB / 453.7 MB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004668/0.2016, allocations: 0.6294 MB / 454.4 MB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.2017, allocations: 99.17 kB / 454.5 MB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.422e-05/0.2018, allocations: 8 kB / 454.5 MB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.202, allocations: 47.95 kB / 454.5 MB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.2021, allocations: 91.75 kB / 454.6 MB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.2021, allocations: 15.98 kB / 454.6 MB, free: 13.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001316/0.2023, allocations: 180.4 kB / 454.8 MB, free: 13.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2023, allocations: 0 / 454.8 MB, free: 13.32 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002649/0.2049, allocations: 1.165 MB / 456 MB, free: 12.15 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$whenCondition2,$whenCondition1,Sine1.T_start,Sine1.count,Sine2.T_start,Sine2.count,$cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$whenCondition4,$whenCondition3,Sine3.T_start,Sine3.count,Sine4.T_start,Sine4.count) * Number of discrete states: 4 (Sine3.count,Sine4.count,Sine2.count,Sine1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 8 * 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.003061/0.208, allocations: 1.125 MB / 457.1 MB, free: 11.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009993/0.209, allocations: 1.075 MB / 458.2 MB, free: 9.789 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.177e-05/0.209, allocations: 4 kB / 458.2 MB, free: 9.785 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002436/0.2092, allocations: 218.2 kB / 458.4 MB, free: 9.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007829/0.21, allocations: 284.6 kB / 458.7 MB, free: 9.297 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.2122, allocations: 1.591 MB / 460.2 MB, free: 7.656 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.2123, allocations: 185.6 kB / 460.4 MB, free: 7.453 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004767/0.2128, allocations: 359.9 kB / 460.8 MB, free: 7.098 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004319/0.2132, allocations: 241.2 kB / 461 MB, free: 6.863 MB / 426.7 MB Notification: Performance of SimCode: time 1.553e-06/0.2132, allocations: 3.938 kB / 461 MB, free: 6.859 MB / 426.7 MB Notification: Performance of Templates: time 0.1623/0.3755, allocations: 44.56 MB / 0.4937 GB, free: 109.1 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.955101927742362]