Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.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.001368/0.001368, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.0008911/0.0008911, allocations: 165.3 kB / 24.82 MB, free: 9.27 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.8609/0.8609, allocations: 158.6 MB / 186.7 MB, free: 2.801 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.1642/0.1642, allocations: 36.34 MB / 275.4 MB, free: 10.49 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.TestJoinRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev") translateModel(ThermoPower.Test.WaterComponents.TestJoinRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 354.3 MB, free: 3.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.42e-05, allocations: 2.312 kB / 354.3 MB, free: 3.148 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoinRev): time 0.0281/0.02812, allocations: 40.45 MB / 394.7 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.007929/0.03605, allocations: 8.386 MB / 403.1 MB, free: 2.133 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005133/0.03656, allocations: 27.75 kB / 403.1 MB, free: 2.105 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006453/0.03721, allocations: 301.6 kB / 403.4 MB, free: 1.809 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008169/0.03802, allocations: 0.6633 MB / 404.1 MB, free: 1.141 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01017/0.04819, allocations: 5.276 MB / 409.4 MB, free: 11.84 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001592/0.04978, allocations: 1.863 MB / 411.2 MB, free: 9.973 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007145/0.0505, allocations: 0.591 MB / 411.8 MB, free: 9.363 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001005/0.0515, allocations: 0.9353 MB / 412.8 MB, free: 8.426 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005676/0.05207, allocations: 0.5998 MB / 413.4 MB, free: 7.824 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.318e-05/0.05215, allocations: 83.94 kB / 413.4 MB, free: 7.742 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006981/0.05913, allocations: 5.79 MB / 419.2 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.05927, allocations: 199.1 kB / 419.4 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002698/0.05954, allocations: 347.3 kB / 419.8 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006931/0.06647, allocations: 4.817 MB / 424.6 MB, free: 12.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.06648, allocations: 4 kB / 424.6 MB, free: 12.58 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.06648, allocations: 0 / 424.6 MB, free: 12.58 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.06649, allocations: 0 / 424.6 MB, free: 12.58 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002875/0.06936, allocations: 1.778 MB / 426.4 MB, free: 10.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.0694, allocations: 15.97 kB / 426.4 MB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002983/0.0697, allocations: 208.1 kB / 426.6 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004865/0.07018, allocations: 482.8 kB / 427.1 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.733e-05/0.07022, allocations: 61.67 kB / 427.1 MB, free: 9.957 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.916e-05/0.07028, allocations: 64.38 kB / 427.2 MB, free: 9.895 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009306/0.07121, allocations: 0.784 MB / 428 MB, free: 9.031 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.07123, allocations: 3.938 kB / 428 MB, free: 9.027 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.999e-05/0.07127, allocations: 31.98 kB / 428 MB, free: 8.996 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.07128, allocations: 16 kB / 428 MB, free: 8.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004822/0.07176, allocations: 336.7 kB / 428.3 MB, free: 8.652 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002638/0.0744, allocations: 3.081 MB / 431.4 MB, free: 5.477 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005871/0.07499, allocations: 426.1 kB / 431.8 MB, free: 5.035 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.0751, allocations: 107.6 kB / 431.9 MB, free: 4.922 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1535/0.2286, allocations: 14.7 MB / 446.6 MB, free: 71.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006755/0.2293, allocations: 380.6 kB / 447 MB, free: 71.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 2.605e-06/0.2293, allocations: 0 / 447 MB, free: 71.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.0009854/0.2303, allocations: 0.6282 MB / 447.6 MB, free: 71.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.2303, allocations: 92.3 kB / 447.7 MB, free: 71.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.2306, allocations: 472.2 kB / 448.2 MB, free: 71.03 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.2306, allocations: 40.48 kB / 448.2 MB, free: 71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.2307, allocations: 412.4 kB / 448.6 MB, free: 70.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.025e-05/0.2308, allocations: 156.8 kB / 448.8 MB, free: 70.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.2309, allocations: 100.9 kB / 448.9 MB, free: 70.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.567e-05/0.231, allocations: 0.5455 MB / 449.4 MB, free: 70.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.2311, allocations: 182.4 kB / 449.6 MB, free: 70.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.2313, allocations: 279.8 kB / 449.9 MB, free: 69.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.2315, allocations: 349.8 kB / 450.2 MB, free: 69.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.2315, allocations: 2.375 kB / 450.2 MB, free: 69.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004123/0.2319, allocations: 0.5966 MB / 450.8 MB, free: 69.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.62e-05/0.232, allocations: 121 kB / 450.9 MB, free: 69.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.232, allocations: 3.656 kB / 451 MB, free: 69.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.232, allocations: 3.75 kB / 451 MB, free: 69.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.2322, allocations: 114.5 kB / 451.1 MB, free: 69.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.2322, allocations: 10.59 kB / 451.1 MB, free: 69.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/0.2325, allocations: 68.38 kB / 451.1 MB, free: 69.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.2325, allocations: 22.19 kB / 451.2 MB, free: 69.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001513/0.2326, allocations: 306.5 kB / 451.5 MB, free: 68.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001197/0.2328, allocations: 300.7 kB / 451.8 MB, free: 68.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001954/0.2329, allocations: 384.1 kB / 452.1 MB, free: 68.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.432e-06/0.2329, allocations: 0 / 452.1 MB, free: 68.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0003559/0.2333, allocations: 0.5901 MB / 452.7 MB, free: 68.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/0.2333, allocations: 120.2 kB / 452.8 MB, free: 67.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.115e-06/0.2333, allocations: 3.938 kB / 452.8 MB, free: 67.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.817e-06/0.2333, allocations: 3.938 kB / 452.8 MB, free: 67.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.2335, allocations: 111 kB / 453 MB, free: 67.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.2335, allocations: 6.594 kB / 453 MB, free: 67.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.2337, allocations: 70.03 kB / 453 MB, free: 67.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.2337, allocations: 23.56 kB / 453.1 MB, free: 67.95 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 26 (Sine2.count,$PRE.Sine2.count,Sine2.T_start,$PRE.Sine2.T_start,Sine1.count,$PRE.Sine1.count,Sine1.T_start,$PRE.Sine1.T_start,$whenCondition3,$whenCondition4,Sine4.count,$PRE.Sine4.count,Sine4.T_start,$PRE.Sine4.T_start,Sine3.count,$PRE.Sine3.count,Sine3.T_start,$PRE.Sine3.T_start,$whenCondition1,$whenCondition2,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 (54): * Single equations (assignments): 50 * 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 9.561e-05/0.2338, allocations: 309.8 kB / 453.4 MB, free: 67.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.788e-05/0.2339, allocations: 80.08 kB / 453.4 MB, free: 67.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006067/0.2345, allocations: 0.9502 MB / 454.4 MB, free: 67.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.2345, allocations: 23.58 kB / 454.4 MB, free: 67.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.2345, allocations: 0 / 454.4 MB, free: 67.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.2345, allocations: 3.516 kB / 454.4 MB, free: 67.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007499/0.2353, allocations: 1.172 MB / 455.6 MB, free: 66.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.2353, allocations: 0 / 455.6 MB, free: 66.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.2354, allocations: 83.44 kB / 455.7 MB, free: 66.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.2354, allocations: 4 kB / 455.7 MB, free: 66.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.2355, allocations: 14.36 kB / 455.7 MB, free: 66.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.2355, allocations: 7.469 kB / 455.7 MB, free: 66.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2355, allocations: 0 / 455.7 MB, free: 66.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00044/0.2359, allocations: 0.7832 MB / 456.5 MB, free: 65.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.236, allocations: 133.1 kB / 456.6 MB, free: 65.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.915e-05/0.2361, allocations: 13.72 kB / 456.6 MB, free: 65.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.2362, allocations: 45.06 kB / 456.7 MB, free: 65.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.2363, allocations: 92.03 kB / 456.8 MB, free: 65.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.2364, allocations: 10.81 kB / 456.8 MB, free: 65.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001007/0.2365, allocations: 296.9 kB / 457.1 MB, free: 65.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2365, allocations: 0 / 457.1 MB, free: 65.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001524/0.238, allocations: 1.153 MB / 458.2 MB, free: 64.03 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 24 ($cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$whenCondition2,$whenCondition1,Sine3.T_start,Sine3.count,Sine4.T_start,Sine4.count,$cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$whenCondition4,$whenCondition3,Sine1.T_start,Sine1.count,Sine2.T_start,Sine2.count) * Number of discrete states: 4 (Sine1.count,Sine2.count,Sine4.count,Sine3.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 36 * 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.001818/0.2398, allocations: 1.091 MB / 459.3 MB, free: 63.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005404/0.2404, allocations: 1.117 MB / 460.4 MB, free: 62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2404, allocations: 256 / 460.4 MB, free: 62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.2405, allocations: 252.1 kB / 460.7 MB, free: 61.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006611/0.2412, allocations: 272.5 kB / 460.9 MB, free: 61.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.2426, allocations: 1.582 MB / 462.5 MB, free: 60.28 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.499e-05/0.2427, allocations: 197.6 kB / 462.7 MB, free: 60.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003312/0.243, allocations: 390.4 kB / 463.1 MB, free: 59.88 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003447/0.2434, allocations: 285.1 kB / 463.4 MB, free: 59.66 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.2434, allocations: 0 / 463.4 MB, free: 59.66 MB / 362.7 MB Notification: Performance of Templates: time 0.03382/0.2772, allocations: 46.12 MB / 0.4975 GB, free: 14.02 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.621981068048626]