Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.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.0008054/0.0008054, allocations: 83.58 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.0009213/0.0009213, 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 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.922/0.922, allocations: 177.1 MB / 205 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1137/0.1137, allocations: 19.74 MB / 281.2 MB, free: 9.273 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin") translateModel(ThermoPower.Test.WaterComponents.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 358 MB, free: 6.605 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.233e-05/1.339e-05, allocations: 2.312 kB / 358 MB, free: 6.602 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.03065/0.03066, allocations: 43.41 MB / 401.4 MB, free: 11.04 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008517/0.03918, allocations: 8.479 MB / 409.9 MB, free: 2.527 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006153/0.03979, allocations: 31.69 kB / 409.9 MB, free: 2.496 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000712/0.04051, allocations: 309.6 kB / 410.2 MB, free: 2.191 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000749/0.04125, allocations: 0.6401 MB / 410.8 MB, free: 1.547 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1361/0.1773, allocations: 5.247 MB / 416.1 MB, free: 18.77 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001811/0.1791, allocations: 1.709 MB / 417.8 MB, free: 18.31 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008166/0.18, allocations: 0.5376 MB / 418.3 MB, free: 18.27 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.181, allocations: 0.8691 MB / 419.2 MB, free: 18.2 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000704/0.1817, allocations: 0.548 MB / 419.7 MB, free: 18.13 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.1818, allocations: 66.34 kB / 419.8 MB, free: 18.13 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007874/0.1897, allocations: 5.801 MB / 425.6 MB, free: 18.1 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001602/0.1899, allocations: 179.5 kB / 425.8 MB, free: 18.06 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003843/0.1903, allocations: 299 kB / 426.1 MB, free: 18.04 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005735/0.196, allocations: 4.73 MB / 430.8 MB, free: 17.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.196, allocations: 0 / 430.8 MB, free: 17.55 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.196, allocations: 0 / 430.8 MB, free: 17.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.559e-05/0.196, allocations: 4 kB / 430.8 MB, free: 17.55 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.002547/0.1986, allocations: 1.527 MB / 432.3 MB, free: 16.59 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.1986, allocations: 8.906 kB / 432.4 MB, free: 16.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005738/0.1992, allocations: 222.2 kB / 432.6 MB, free: 16.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005361/0.1997, allocations: 457.6 kB / 433 MB, free: 16.25 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.512e-05/0.1998, allocations: 46.78 kB / 433.1 MB, free: 16.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.944e-05/0.1998, allocations: 63.22 kB / 433.1 MB, free: 16.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.2009, allocations: 0.7484 MB / 433.9 MB, free: 15.87 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.201, allocations: 384 / 433.9 MB, free: 15.87 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.9e-05/0.201, allocations: 29.47 kB / 433.9 MB, free: 15.86 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.201, allocations: 17.38 kB / 433.9 MB, free: 15.86 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000818/0.2018, allocations: 398.3 kB / 434.3 MB, free: 15.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002121/0.204, allocations: 3.305 MB / 437.6 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008485/0.2048, allocations: 435.1 kB / 438 MB, free: 13.1 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.205, allocations: 111.8 kB / 438.1 MB, free: 13.06 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03568/0.2407, allocations: 17.54 MB / 455.7 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.2407, allocations: 37.39 kB / 455.7 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 2.405e-06/0.2407, allocations: 0 / 455.7 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.001439/0.2421, allocations: 0.5741 MB / 456.3 MB, free: 112 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/0.2422, allocations: 85.05 kB / 456.4 MB, free: 12 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003868/0.2426, allocations: 423.2 kB / 456.8 MB, free: 15.64 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.2426, allocations: 37.64 kB / 456.8 MB, free: 15.61 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.2428, allocations: 396.2 kB / 457.2 MB, free: 15.3 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.915e-05/0.2429, allocations: 117.5 kB / 457.3 MB, free: 15.2 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.243, allocations: 81.12 kB / 457.4 MB, free: 15.14 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.2432, allocations: 0.5333 MB / 457.9 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.2433, allocations: 72.14 kB / 458 MB, free: 14.55 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.2435, allocations: 167.8 kB / 458.2 MB, free: 14.36 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003569/0.2439, allocations: 242.6 kB / 458.4 MB, free: 14.14 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2439, allocations: 4 kB / 458.4 MB, free: 14.13 MB / 346.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005451/0.2444, allocations: 316.8 kB / 458.7 MB, free: 13.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.2445, allocations: 4 kB / 458.7 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.2445, allocations: 4 kB / 458.7 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.2445, allocations: 4 kB / 458.7 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000291/0.2448, allocations: 86.36 kB / 458.8 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.2448, allocations: 7.984 kB / 458.8 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.245, allocations: 38.47 kB / 458.9 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-05/0.245, allocations: 19.67 kB / 458.9 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001879/0.2452, allocations: 173.5 kB / 459.1 MB, free: 13.57 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001632/0.2454, allocations: 178.1 kB / 459.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002803/0.2457, allocations: 255.3 kB / 459.5 MB, free: 13.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.933e-06/0.2457, allocations: 2.422 kB / 459.5 MB, free: 13.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0004077/0.2461, allocations: 291.1 kB / 459.8 MB, free: 12.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.306e-06/0.2461, allocations: 4 kB / 459.8 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.2461, allocations: 4 kB / 459.8 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.969e-06/0.2461, allocations: 4 kB / 459.8 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.2463, allocations: 82.98 kB / 459.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.2463, allocations: 8 kB / 459.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.2464, allocations: 27.83 kB / 459.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.2464, allocations: 19.31 kB / 459.9 MB, free: 12.68 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (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 (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * 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.0001336/0.2466, allocations: 302.3 kB / 460.2 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.797e-05/0.2467, allocations: 55.72 kB / 460.3 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/0.2477, allocations: 0.9822 MB / 461.2 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.01e-05/0.2478, allocations: 23.97 kB / 461.3 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.289e-06/0.2478, allocations: 0 / 461.3 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.2478, allocations: 7.984 kB / 461.3 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007127/0.2485, allocations: 0.649 MB / 461.9 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.2485, allocations: 4 kB / 461.9 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.2487, allocations: 58.3 kB / 462 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.2487, allocations: 7.938 kB / 462 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.2487, allocations: 4 kB / 462 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.2487, allocations: 4 kB / 462 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2487, allocations: 0 / 462 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007963/0.2495, allocations: 0.8576 MB / 462.9 MB, free: 9.695 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.2497, allocations: 119.1 kB / 463 MB, free: 9.578 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.29e-05/0.2497, allocations: 8 kB / 463 MB, free: 9.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.2499, allocations: 10.33 kB / 463 MB, free: 9.562 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.25, allocations: 51.92 kB / 463 MB, free: 9.512 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/0.25, allocations: 11.98 kB / 463.1 MB, free: 9.5 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002042/0.2502, allocations: 275.1 kB / 463.3 MB, free: 9.238 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2502, allocations: 0 / 463.3 MB, free: 9.238 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002682/0.2529, allocations: 1.107 MB / 464.4 MB, free: 8.129 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * 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.003161/0.2561, allocations: 1.064 MB / 465.5 MB, free: 7.145 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000718/0.2568, allocations: 416.3 kB / 465.9 MB, free: 6.754 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2568, allocations: 0 / 465.9 MB, free: 6.754 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003083/0.2571, allocations: 235.4 kB / 466.1 MB, free: 6.527 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.2582, allocations: 235.4 kB / 466.4 MB, free: 6.297 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.2607, allocations: 1.513 MB / 467.9 MB, free: 4.746 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.2609, allocations: 176.7 kB / 468 MB, free: 4.555 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000496/0.2614, allocations: 376.4 kB / 468.4 MB, free: 4.199 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.2615, allocations: 56.48 kB / 468.5 MB, free: 4.145 MB / 346.7 MB Notification: Performance of SimCode: time 9.01e-07/0.2615, allocations: 0 / 468.5 MB, free: 4.145 MB / 346.7 MB Notification: Performance of Templates: time 0.03913/0.3006, allocations: 37.47 MB / 0.4941 GB, free: 14.96 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.523999168071896]