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.001496/0.001496, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001874/0.001874, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9162/0.9162, allocations: 158.6 MB / 186.4 MB, free: 2.918 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.1711/0.1711, allocations: 36.33 MB / 275.1 MB, free: 10.65 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.282e-06/1.282e-06, allocations: 0 / 353.8 MB, free: 3.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.18e-05, allocations: 5.969 kB / 353.8 MB, free: 3.418 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestSplitRev): time 0.03432/0.03434, allocations: 45.9 MB / 399.7 MB, free: 5.352 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.009249/0.04359, allocations: 8.55 MB / 408.3 MB, free: 12.77 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007014/0.04429, allocations: 31.75 kB / 408.3 MB, free: 12.74 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007839/0.04507, allocations: 325.5 kB / 408.6 MB, free: 12.42 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001046/0.04612, allocations: 0.6865 MB / 409.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01041/0.05652, allocations: 5.273 MB / 414.6 MB, free: 6.438 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002147/0.05867, allocations: 1.921 MB / 416.5 MB, free: 4.508 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000905/0.05958, allocations: 0.6071 MB / 417.1 MB, free: 3.883 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001258/0.06083, allocations: 0.9624 MB / 418.1 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006712/0.0615, allocations: 0.6076 MB / 418.7 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001126/0.06162, allocations: 79.94 kB / 418.7 MB, free: 2.23 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008377/0.06999, allocations: 5.798 MB / 424.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002246/0.07022, allocations: 195.1 kB / 424.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004662/0.07069, allocations: 347.3 kB / 425.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007682/0.07837, allocations: 4.825 MB / 429.9 MB, free: 7.059 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.07837, allocations: 0 / 429.9 MB, free: 7.059 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.07837, allocations: 0 / 429.9 MB, free: 7.059 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.799e-05/0.07839, allocations: 0 / 429.9 MB, free: 7.059 MB / 362.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.003077/0.08147, allocations: 1.79 MB / 431.7 MB, free: 5.203 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.08151, allocations: 12.02 kB / 431.7 MB, free: 5.191 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003551/0.08187, allocations: 216.1 kB / 431.9 MB, free: 4.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005959/0.08246, allocations: 494.7 kB / 432.4 MB, free: 4.469 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.778e-05/0.0825, allocations: 54.38 kB / 432.4 MB, free: 4.414 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.816e-05/0.08257, allocations: 68.38 kB / 432.5 MB, free: 4.348 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.08375, allocations: 0.8705 MB / 433.4 MB, free: 3.398 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.08377, allocations: 4.188 kB / 433.4 MB, free: 3.395 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-05/0.08381, allocations: 31.94 kB / 433.4 MB, free: 3.363 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.08383, allocations: 20 kB / 433.4 MB, free: 3.344 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006941/0.08452, allocations: 407.3 kB / 433.8 MB, free: 2.945 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1304/0.2149, allocations: 3.616 MB / 437.5 MB, free: 69.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008452/0.2158, allocations: 443.1 kB / 437.9 MB, free: 69.72 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.2159, allocations: 120.7 kB / 438 MB, free: 69.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02875/0.2447, allocations: 16.8 MB / 454.8 MB, free: 66.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006664/0.2454, allocations: 392.5 kB / 455.2 MB, free: 65.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.295e-06/0.2454, allocations: 0 / 455.2 MB, free: 65.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.001178/0.2465, allocations: 0.6647 MB / 455.9 MB, free: 65.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.2466, allocations: 92.56 kB / 455.9 MB, free: 65.15 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000279/0.2469, allocations: 484.2 kB / 456.4 MB, free: 64.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.2469, allocations: 37.91 kB / 456.5 MB, free: 64.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.2471, allocations: 456.9 kB / 456.9 MB, free: 64.44 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.516e-05/0.2471, allocations: 127.8 kB / 457 MB, free: 64.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.2472, allocations: 111.7 kB / 457.1 MB, free: 64.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.434e-05/0.2473, allocations: 0.5363 MB / 457.7 MB, free: 63.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.2475, allocations: 211.4 kB / 457.9 MB, free: 63.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/0.2477, allocations: 330.5 kB / 458.2 MB, free: 63.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/0.248, allocations: 407.9 kB / 458.6 MB, free: 62.72 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.248, allocations: 0 / 458.6 MB, free: 62.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0005628/0.2486, allocations: 0.6459 MB / 459.2 MB, free: 62.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.965e-05/0.2486, allocations: 125.5 kB / 459.4 MB, free: 61.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.2486, allocations: 0 / 459.4 MB, free: 61.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.2487, allocations: 8 kB / 459.4 MB, free: 61.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/0.249, allocations: 119.1 kB / 459.5 MB, free: 61.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.249, allocations: 7.984 kB / 459.5 MB, free: 61.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/0.2492, allocations: 70.22 kB / 459.6 MB, free: 61.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/0.2492, allocations: 30.48 kB / 459.6 MB, free: 61.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002149/0.2494, allocations: 324.8 kB / 459.9 MB, free: 61.44 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001654/0.2496, allocations: 334.4 kB / 460.2 MB, free: 61.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002567/0.2499, allocations: 415.4 kB / 460.6 MB, free: 60.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.393e-06/0.2499, allocations: 0 / 460.6 MB, free: 60.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.000459/0.2503, allocations: 0.6229 MB / 461.3 MB, free: 60.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.2504, allocations: 125.4 kB / 461.4 MB, free: 59.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.2504, allocations: 11.94 kB / 461.4 MB, free: 59.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.689e-06/0.2504, allocations: 4 kB / 461.4 MB, free: 59.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.2506, allocations: 121 kB / 461.5 MB, free: 59.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.2506, allocations: 4 kB / 461.5 MB, free: 59.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.2508, allocations: 74.69 kB / 461.6 MB, free: 59.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.2508, allocations: 19.25 kB / 461.6 MB, free: 59.69 MB / 362.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,T3.fluidState.phase,T2.fluidState.phase,T1.fluidState.phase,T6.fluidState.phase,T5.fluidState.phase,T4.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.0001093/0.2509, allocations: 315 kB / 461.9 MB, free: 59.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.213e-05/0.251, allocations: 75.31 kB / 462 MB, free: 59.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007902/0.2518, allocations: 1.051 MB / 463.1 MB, free: 58.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.2518, allocations: 23.53 kB / 463.1 MB, free: 58.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2518, allocations: 0 / 463.1 MB, free: 58.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.2518, allocations: 3.984 kB / 463.1 MB, free: 58.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.2528, allocations: 1.303 MB / 464.4 MB, free: 57.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.2528, allocations: 0 / 464.4 MB, free: 57.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.253, allocations: 84.81 kB / 464.5 MB, free: 57.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.253, allocations: 0 / 464.5 MB, free: 57.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.2531, allocations: 11.12 kB / 464.5 MB, free: 57.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.2531, allocations: 7.469 kB / 464.5 MB, free: 57.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2531, allocations: 0 / 464.5 MB, free: 57.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005917/0.2537, allocations: 0.8211 MB / 465.3 MB, free: 56.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.2538, allocations: 128.5 kB / 465.4 MB, free: 56.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.735e-05/0.2538, allocations: 11.19 kB / 465.4 MB, free: 56.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.254, allocations: 46.52 kB / 465.5 MB, free: 56.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/0.2542, allocations: 89.41 kB / 465.6 MB, free: 56.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.2542, allocations: 19.86 kB / 465.6 MB, free: 56.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001569/0.2544, allocations: 313.2 kB / 465.9 MB, free: 55.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2544, allocations: 4 kB / 465.9 MB, free: 55.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002021/0.2564, allocations: 1.158 MB / 467.1 MB, free: 54.86 MB / 362.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.002736/0.2591, allocations: 1.07 MB / 468.1 MB, free: 53.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009375/0.2601, allocations: 1.172 MB / 469.3 MB, free: 52.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.2601, allocations: 3.281 kB / 469.3 MB, free: 52.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002779/0.2604, allocations: 268 kB / 469.6 MB, free: 52.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008266/0.2612, allocations: 287.4 kB / 469.8 MB, free: 52.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.2633, allocations: 1.616 MB / 471.5 MB, free: 50.69 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.641e-05/0.2634, allocations: 189.6 kB / 471.6 MB, free: 50.49 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004162/0.2638, allocations: 375.4 kB / 472 MB, free: 50.13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.264, allocations: 60.02 kB / 472.1 MB, free: 50.08 MB / 362.7 MB Notification: Performance of SimCode: time 1.423e-06/0.264, allocations: 0 / 472.1 MB, free: 50.08 MB / 362.7 MB Notification: Performance of Templates: time 0.03431/0.2983, allocations: 40.65 MB / 0.5007 GB, free: 9.578 MB / 362.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 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.051559775136411]