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.001357/0.001357, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001175/0.001175, allocations: 161 kB / 24.56 MB, free: 16 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.8662/0.8662, allocations: 158.6 MB / 186.4 MB, free: 2.926 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.1901/0.1901, allocations: 36.33 MB / 275.1 MB, free: 10.64 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.403e-06/1.403e-06, allocations: 0 / 353.8 MB, free: 3.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.284e-05, allocations: 2.312 kB / 353.8 MB, free: 3.414 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoinRev): time 0.02871/0.02874, allocations: 41.06 MB / 394.9 MB, free: 10.21 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008113/0.03685, allocations: 8.53 MB / 403.4 MB, free: 1.648 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003216/0.03717, allocations: 27.75 kB / 403.4 MB, free: 1.621 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006206/0.03779, allocations: 313.6 kB / 403.7 MB, free: 1.312 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006794/0.03847, allocations: 0.6516 MB / 404.4 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00904/0.04751, allocations: 5.273 MB / 409.7 MB, free: 11.36 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001388/0.0489, allocations: 1.871 MB / 411.5 MB, free: 9.484 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006851/0.04958, allocations: 0.591 MB / 412.1 MB, free: 8.875 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001092/0.05068, allocations: 0.9314 MB / 413.1 MB, free: 7.941 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005155/0.05119, allocations: 0.5959 MB / 413.7 MB, free: 7.344 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.012e-05/0.05128, allocations: 87.88 kB / 413.7 MB, free: 7.258 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006428/0.05771, allocations: 5.798 MB / 419.5 MB, free: 1.453 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004034/0.05811, allocations: 195.2 kB / 419.7 MB, free: 1.262 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002585/0.05837, allocations: 347.3 kB / 420.1 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005101/0.06347, allocations: 4.813 MB / 424.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.06348, allocations: 0 / 424.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.06348, allocations: 0 / 424.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.208e-06/0.06349, allocations: 0 / 424.9 MB, free: 12.1 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.002734/0.06622, allocations: 1.774 MB / 426.7 MB, free: 10.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.06626, allocations: 11.97 kB / 426.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000314/0.06658, allocations: 212.1 kB / 426.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008244/0.0674, allocations: 494.7 kB / 427.4 MB, free: 9.527 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.5e-05/0.06744, allocations: 49.69 kB / 427.4 MB, free: 9.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.42e-05/0.0675, allocations: 64.38 kB / 427.5 MB, free: 9.418 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.06857, allocations: 0.8388 MB / 428.3 MB, free: 8.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.06858, allocations: 3.938 kB / 428.3 MB, free: 8.496 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.421e-05/0.06863, allocations: 28 kB / 428.3 MB, free: 8.469 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/0.06864, allocations: 16 kB / 428.4 MB, free: 8.453 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006192/0.06926, allocations: 395.4 kB / 428.7 MB, free: 8.066 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00215/0.07141, allocations: 3.175 MB / 431.9 MB, free: 4.789 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000711/0.07212, allocations: 450.2 kB / 432.4 MB, free: 4.324 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.07231, allocations: 131.6 kB / 432.5 MB, free: 4.188 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1654/0.2377, allocations: 16.8 MB / 449.3 MB, free: 71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006742/0.2384, allocations: 406 kB / 449.7 MB, free: 70.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 2.114e-06/0.2384, allocations: 3.938 kB / 449.7 MB, free: 70.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.001181/0.2396, allocations: 0.6739 MB / 450.3 MB, free: 70.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.2396, allocations: 88.67 kB / 450.4 MB, free: 70.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002736/0.2399, allocations: 484 kB / 450.9 MB, free: 70.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.2399, allocations: 36.11 kB / 450.9 MB, free: 70.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.2401, allocations: 421.5 kB / 451.4 MB, free: 70.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.66e-05/0.2402, allocations: 145.3 kB / 451.5 MB, free: 70.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.2403, allocations: 100.9 kB / 451.6 MB, free: 70.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.593e-05/0.2404, allocations: 0.5388 MB / 452.1 MB, free: 69.81 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.2406, allocations: 202.8 kB / 452.3 MB, free: 69.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.2407, allocations: 300 kB / 452.6 MB, free: 69.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003234/0.2411, allocations: 384.2 kB / 453 MB, free: 68.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2411, allocations: 0 / 453 MB, free: 68.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005568/0.2416, allocations: 0.6374 MB / 453.6 MB, free: 68.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.914e-05/0.2417, allocations: 117.3 kB / 453.8 MB, free: 68.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.2417, allocations: 4 kB / 453.8 MB, free: 68.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.2417, allocations: 4 kB / 453.8 MB, free: 68.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002913/0.242, allocations: 112.6 kB / 453.9 MB, free: 68.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.242, allocations: 6.625 kB / 453.9 MB, free: 68.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.2422, allocations: 73.17 kB / 453.9 MB, free: 68.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.2423, allocations: 22.84 kB / 454 MB, free: 68.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002153/0.2425, allocations: 329.2 kB / 454.3 MB, free: 67.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001723/0.2427, allocations: 316 kB / 454.6 MB, free: 67.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000263/0.2429, allocations: 412.1 kB / 455 MB, free: 67.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.2429, allocations: 0 / 455 MB, free: 67.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0004807/0.2434, allocations: 0.6145 MB / 455.6 MB, free: 66.51 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.2434, allocations: 122.5 kB / 455.7 MB, free: 66.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.2434, allocations: 4 kB / 455.7 MB, free: 66.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.538e-06/0.2434, allocations: 8 kB / 455.7 MB, free: 66.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/0.2437, allocations: 114.5 kB / 455.9 MB, free: 66.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.2437, allocations: 4 kB / 455.9 MB, free: 66.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.2439, allocations: 74.36 kB / 455.9 MB, free: 66.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.2439, allocations: 19 kB / 456 MB, free: 66.22 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,T6.fluidState.phase,T5.fluidState.phase,T4.fluidState.phase,T3.fluidState.phase,T2.fluidState.phase,T1.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 0.0001106/0.244, allocations: 307 kB / 456.3 MB, free: 65.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.375e-05/0.2441, allocations: 78.86 kB / 456.3 MB, free: 65.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007773/0.2448, allocations: 1.057 MB / 457.4 MB, free: 65.01 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/0.2448, allocations: 21.97 kB / 457.4 MB, free: 65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.2449, allocations: 4 kB / 457.4 MB, free: 65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.2449, allocations: 3.797 kB / 457.4 MB, free: 65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009454/0.2458, allocations: 1.31 MB / 458.7 MB, free: 64.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.2458, allocations: 0 / 458.7 MB, free: 64.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.246, allocations: 90.45 kB / 458.8 MB, free: 63.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.246, allocations: 4 kB / 458.8 MB, free: 63.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.246, allocations: 10.56 kB / 458.8 MB, free: 63.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.246, allocations: 4 kB / 458.8 MB, free: 63.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.246, allocations: 0 / 458.8 MB, free: 63.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005576/0.2466, allocations: 0.8455 MB / 459.7 MB, free: 63.17 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.2467, allocations: 143.2 kB / 459.8 MB, free: 63.06 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.246e-05/0.2468, allocations: 7.812 kB / 459.8 MB, free: 63.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.2469, allocations: 43.52 kB / 459.9 MB, free: 63.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.2471, allocations: 85.5 kB / 460 MB, free: 62.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.2471, allocations: 22.05 kB / 460 MB, free: 62.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001402/0.2472, allocations: 316.1 kB / 460.3 MB, free: 62.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2472, allocations: 0 / 460.3 MB, free: 62.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001592/0.2488, allocations: 1.148 MB / 461.4 MB, free: 61.58 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.002045/0.2509, allocations: 1.071 MB / 462.5 MB, free: 60.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007268/0.2516, allocations: 1.18 MB / 463.7 MB, free: 59.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2516, allocations: 4.391 kB / 463.7 MB, free: 59.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002507/0.2519, allocations: 277 kB / 464 MB, free: 59.15 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007321/0.2526, allocations: 287.8 kB / 464.2 MB, free: 58.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.2543, allocations: 1.604 MB / 465.8 MB, free: 57.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.916e-05/0.2543, allocations: 185.6 kB / 466 MB, free: 57.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000348/0.2547, allocations: 395.2 kB / 466.4 MB, free: 56.83 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.2548, allocations: 59.81 kB / 466.5 MB, free: 56.78 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.2548, allocations: 0 / 466.5 MB, free: 56.78 MB / 362.7 MB Notification: Performance of Templates: time 0.02823/0.283, allocations: 40.97 MB / 0.4955 GB, free: 15.96 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.8943215142935514]