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.001244/0.001244, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001404/0.001404, 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.8328/0.8328, allocations: 158.6 MB / 186.4 MB, free: 2.934 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.1705/0.1705, allocations: 36.34 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.633e-06/1.633e-06, allocations: 0 / 353.8 MB, free: 3.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.541e-05, allocations: 10.31 kB / 353.8 MB, free: 3.418 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestSplitRev): time 0.02969/0.02971, allocations: 45.91 MB / 399.7 MB, free: 5.34 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008017/0.03773, allocations: 8.534 MB / 408.3 MB, free: 12.78 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004764/0.03821, allocations: 27.75 kB / 408.3 MB, free: 12.75 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007235/0.03893, allocations: 325.5 kB / 408.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008323/0.03976, allocations: 0.6865 MB / 409.3 MB, free: 11.74 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009561/0.04932, allocations: 5.273 MB / 414.6 MB, free: 6.445 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001507/0.05083, allocations: 1.929 MB / 416.5 MB, free: 4.508 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006183/0.05145, allocations: 0.6032 MB / 417.1 MB, free: 3.887 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.05246, allocations: 0.9624 MB / 418.1 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005069/0.05297, allocations: 0.6153 MB / 418.7 MB, free: 2.305 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.784e-05/0.05304, allocations: 80 kB / 418.8 MB, free: 2.227 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006652/0.0597, allocations: 5.798 MB / 424.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001449/0.05984, allocations: 199.1 kB / 424.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003071/0.06015, allocations: 347.3 kB / 425.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005901/0.06605, allocations: 4.821 MB / 429.9 MB, free: 7.055 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.06605, allocations: 0 / 429.9 MB, free: 7.055 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.06606, allocations: 0 / 429.9 MB, free: 7.055 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.618e-05/0.06607, allocations: 0 / 429.9 MB, free: 7.055 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.003084/0.06916, allocations: 1.794 MB / 431.7 MB, free: 5.195 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.0692, allocations: 12.02 kB / 431.7 MB, free: 5.184 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003396/0.06954, allocations: 208.1 kB / 431.9 MB, free: 4.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005455/0.07009, allocations: 498.6 kB / 432.4 MB, free: 4.465 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003215/0.07041, allocations: 50.38 kB / 432.5 MB, free: 4.414 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.962e-05/0.07048, allocations: 72.38 kB / 432.5 MB, free: 4.344 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.07159, allocations: 0.8667 MB / 433.4 MB, free: 3.398 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.07161, allocations: 4.125 kB / 433.4 MB, free: 3.395 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.488e-05/0.07165, allocations: 31.94 kB / 433.4 MB, free: 3.363 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.07167, allocations: 19.98 kB / 433.4 MB, free: 3.344 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006456/0.07231, allocations: 403.4 kB / 433.8 MB, free: 2.949 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1199/0.1922, allocations: 3.619 MB / 437.5 MB, free: 69.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007904/0.193, allocations: 444.7 kB / 437.9 MB, free: 69.53 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.1932, allocations: 120 kB / 438 MB, free: 69.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02745/0.2206, allocations: 16.81 MB / 454.8 MB, free: 65.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006229/0.2212, allocations: 390.2 kB / 455.2 MB, free: 65.53 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.504e-06/0.2212, allocations: 4 kB / 455.2 MB, free: 65.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.001117/0.2223, allocations: 0.6644 MB / 455.9 MB, free: 65.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.2224, allocations: 85.11 kB / 455.9 MB, free: 64.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/0.2227, allocations: 488.9 kB / 456.4 MB, free: 64.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.627e-05/0.2227, allocations: 36.77 kB / 456.5 MB, free: 64.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.2229, allocations: 446.6 kB / 456.9 MB, free: 64.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.594e-05/0.2229, allocations: 137.5 kB / 457 MB, free: 64.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.223, allocations: 111 kB / 457.1 MB, free: 64.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.485e-05/0.2231, allocations: 0.5363 MB / 457.7 MB, free: 63.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.2233, allocations: 211 kB / 457.9 MB, free: 63.31 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.2235, allocations: 325.8 kB / 458.2 MB, free: 62.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.2238, allocations: 411.3 kB / 458.6 MB, free: 62.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.2238, allocations: 4 kB / 458.6 MB, free: 62.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0005417/0.2243, allocations: 0.643 MB / 459.2 MB, free: 61.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.028e-05/0.2244, allocations: 118.7 kB / 459.4 MB, free: 61.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.2244, allocations: 7.984 kB / 459.4 MB, free: 61.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.2244, allocations: 4 kB / 459.4 MB, free: 61.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002796/0.2247, allocations: 122.3 kB / 459.5 MB, free: 61.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.2247, allocations: 8.312 kB / 459.5 MB, free: 61.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.2249, allocations: 77.84 kB / 459.6 MB, free: 61.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.2249, allocations: 19.88 kB / 459.6 MB, free: 61.58 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000207/0.2251, allocations: 327.6 kB / 459.9 MB, free: 61.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001597/0.2253, allocations: 337.5 kB / 460.2 MB, free: 60.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000251/0.2256, allocations: 417.3 kB / 460.7 MB, free: 60.44 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.843e-06/0.2256, allocations: 0 / 460.7 MB, free: 60.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0004457/0.226, allocations: 0.6225 MB / 461.3 MB, free: 59.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.226, allocations: 118.7 kB / 461.4 MB, free: 59.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.226, allocations: 7.938 kB / 461.4 MB, free: 59.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.13e-06/0.226, allocations: 11.98 kB / 461.4 MB, free: 59.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.2262, allocations: 114.5 kB / 461.5 MB, free: 59.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.828e-06/0.2262, allocations: 8 kB / 461.5 MB, free: 59.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.2264, allocations: 70.34 kB / 461.6 MB, free: 59.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.2265, allocations: 27.48 kB / 461.6 MB, free: 59.5 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.0001089/0.2266, allocations: 300.9 kB / 461.9 MB, free: 59.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.209e-05/0.2266, allocations: 86.55 kB / 462 MB, free: 59.15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007313/0.2274, allocations: 1.037 MB / 463 MB, free: 58.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.2274, allocations: 27.52 kB / 463.1 MB, free: 58.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2274, allocations: 11.12 kB / 463.1 MB, free: 58.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.2274, allocations: 3.828 kB / 463.1 MB, free: 58.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009156/0.2283, allocations: 1.299 MB / 464.4 MB, free: 57.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.2283, allocations: 0 / 464.4 MB, free: 57.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/0.2285, allocations: 86.59 kB / 464.5 MB, free: 57.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.2285, allocations: 0 / 464.5 MB, free: 57.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.2285, allocations: 14.59 kB / 464.5 MB, free: 57.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.2285, allocations: 4 kB / 464.5 MB, free: 57.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2285, allocations: 32 / 464.5 MB, free: 57.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005174/0.2291, allocations: 0.824 MB / 465.3 MB, free: 56.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.2292, allocations: 128.3 kB / 465.4 MB, free: 56.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.882e-05/0.2292, allocations: 11.25 kB / 465.4 MB, free: 56.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.2294, allocations: 42.83 kB / 465.5 MB, free: 56.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.2295, allocations: 94.05 kB / 465.6 MB, free: 56.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.2296, allocations: 15.88 kB / 465.6 MB, free: 56.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001384/0.2297, allocations: 315.7 kB / 465.9 MB, free: 55.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2297, allocations: 4 kB / 465.9 MB, free: 55.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00173/0.2314, allocations: 1.157 MB / 467.1 MB, free: 54.71 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.002254/0.2337, allocations: 1.066 MB / 468.1 MB, free: 53.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007372/0.2344, allocations: 1.181 MB / 469.3 MB, free: 52.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2344, allocations: 4.062 kB / 469.3 MB, free: 52.51 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000241/0.2347, allocations: 266.7 kB / 469.6 MB, free: 52.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007111/0.2354, allocations: 278.3 kB / 469.8 MB, free: 52.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.2371, allocations: 1.616 MB / 471.5 MB, free: 50.56 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.785e-05/0.2371, allocations: 193.6 kB / 471.7 MB, free: 50.35 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003684/0.2375, allocations: 363.7 kB / 472 MB, free: 50 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.2376, allocations: 66.8 kB / 472.1 MB, free: 49.95 MB / 362.7 MB Notification: Performance of SimCode: time 1.282e-06/0.2376, allocations: 4.547 kB / 472.1 MB, free: 49.95 MB / 362.7 MB Notification: Performance of Templates: time 0.03466/0.2723, allocations: 46.43 MB / 0.5064 GB, free: 3.664 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.025860161054879]