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.0009229/0.0009229, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001003/0.001003, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 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.8916/0.8916, allocations: 177.1 MB / 206 MB, free: 4.48 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.1071/0.1071, allocations: 19.73 MB / 282.3 MB, free: 12.25 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.513e-06/1.513e-06, allocations: 0 / 359.2 MB, free: 44.14 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.712e-05/1.864e-05, allocations: 2.969 kB / 359.2 MB, free: 44.13 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.02758/0.0276, allocations: 42.73 MB / 401.9 MB, free: 2.031 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007615/0.03521, allocations: 8.35 MB / 410.3 MB, free: 9.66 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004754/0.03569, allocations: 31.69 kB / 410.3 MB, free: 9.629 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006342/0.03632, allocations: 305.6 kB / 410.6 MB, free: 9.328 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009399/0.03726, allocations: 0.6518 MB / 411.3 MB, free: 8.672 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009113/0.04637, allocations: 5.255 MB / 416.5 MB, free: 3.398 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001347/0.04772, allocations: 1.707 MB / 418.2 MB, free: 1.684 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005417/0.04826, allocations: 0.5402 MB / 418.8 MB, free: 1.125 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009721/0.04923, allocations: 0.8689 MB / 419.7 MB, free: 260 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004833/0.04972, allocations: 0.5463 MB / 420.2 MB, free: 15.71 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.198e-05/0.04978, allocations: 64 kB / 420.3 MB, free: 15.64 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006746/0.05652, allocations: 5.803 MB / 426.1 MB, free: 9.836 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003976/0.05692, allocations: 171.3 kB / 426.2 MB, free: 9.668 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002139/0.05714, allocations: 307.3 kB / 426.5 MB, free: 9.367 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004738/0.06187, allocations: 4.727 MB / 431.3 MB, free: 4.629 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.06188, allocations: 0 / 431.3 MB, free: 4.629 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.06188, allocations: 0 / 431.3 MB, free: 4.629 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.024e-06/0.06189, allocations: 0 / 431.3 MB, free: 4.629 MB / 346.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.001907/0.06379, allocations: 1.533 MB / 432.8 MB, free: 3.051 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.06383, allocations: 8.031 kB / 432.8 MB, free: 3.043 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003857/0.06421, allocations: 224.2 kB / 433 MB, free: 2.824 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006667/0.06488, allocations: 460.7 kB / 433.5 MB, free: 2.348 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/0.06491, allocations: 49.69 kB / 433.5 MB, free: 2.301 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.164e-05/0.06496, allocations: 60.38 kB / 433.6 MB, free: 2.242 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007673/0.06573, allocations: 0.7003 MB / 434.3 MB, free: 1.473 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.06574, allocations: 192 / 434.3 MB, free: 1.473 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.832e-05/0.06578, allocations: 31.94 kB / 434.3 MB, free: 1.441 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.06579, allocations: 19.98 kB / 434.3 MB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004754/0.06627, allocations: 340.7 kB / 434.7 MB, free: 1.09 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001896/0.06816, allocations: 3.22 MB / 437.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005945/0.06876, allocations: 408.4 kB / 438.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.06886, allocations: 95.27 kB / 438.4 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02751/0.09638, allocations: 15.34 MB / 453.7 MB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.09641, allocations: 37.39 kB / 453.7 MB, free: 13.83 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 2.004e-06/0.09641, allocations: 0 / 453.7 MB, free: 13.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.001092/0.0975, allocations: 0.5307 MB / 454.3 MB, free: 13.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.09754, allocations: 89.03 kB / 454.4 MB, free: 13.19 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.09778, allocations: 418.4 kB / 454.8 MB, free: 12.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.0978, allocations: 29.7 kB / 454.8 MB, free: 12.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004139/0.09821, allocations: 403.2 kB / 455.2 MB, free: 12.33 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.48e-05/0.09828, allocations: 126.9 kB / 455.3 MB, free: 12.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.195e-05/0.09837, allocations: 79.64 kB / 455.4 MB, free: 12.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.09849, allocations: 0.5312 MB / 455.9 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.808e-05/0.09858, allocations: 56.95 kB / 456 MB, free: 11.51 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.09871, allocations: 158 kB / 456.1 MB, free: 11.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.09892, allocations: 215.5 kB / 456.4 MB, free: 11.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.09892, allocations: 7.984 kB / 456.4 MB, free: 11.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003392/0.09926, allocations: 288.9 kB / 456.6 MB, free: 10.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.09927, allocations: 4 kB / 456.6 MB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.09928, allocations: 4 kB / 456.6 MB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.09929, allocations: 12.25 kB / 456.7 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.09951, allocations: 83.88 kB / 456.7 MB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.09952, allocations: 7.938 kB / 456.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.09967, allocations: 27.84 kB / 456.8 MB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.09969, allocations: 19.92 kB / 456.8 MB, free: 10.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001319/0.09983, allocations: 163.5 kB / 457 MB, free: 10.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001025/0.09993, allocations: 168.1 kB / 457.1 MB, free: 10.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000172/0.1001, allocations: 233.3 kB / 457.3 MB, free: 9.953 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.112e-06/0.1001, allocations: 4 kB / 457.4 MB, free: 9.949 MB / 378.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0002686/0.1004, allocations: 276 kB / 457.6 MB, free: 9.676 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.275e-06/0.1004, allocations: 8 kB / 457.6 MB, free: 9.668 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-06/0.1004, allocations: 0 / 457.6 MB, free: 9.668 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.797e-06/0.1004, allocations: 4 kB / 457.6 MB, free: 9.664 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.1005, allocations: 83.89 kB / 457.7 MB, free: 9.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.1005, allocations: 4 kB / 457.7 MB, free: 9.578 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.682e-05/0.1006, allocations: 27.83 kB / 457.7 MB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.1006, allocations: 20.34 kB / 457.8 MB, free: 9.531 MB / 378.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 (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 (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.0001075/0.1008, allocations: 284 kB / 458 MB, free: 9.246 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.651e-05/0.1008, allocations: 71.59 kB / 458.1 MB, free: 9.176 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000697/0.1015, allocations: 0.8676 MB / 459 MB, free: 8.293 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.746e-05/0.1015, allocations: 23.97 kB / 459 MB, free: 8.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.1015, allocations: 0 / 459 MB, free: 8.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1016, allocations: 3.984 kB / 459 MB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004927/0.102, allocations: 0.5659 MB / 459.6 MB, free: 7.676 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.102, allocations: 7.984 kB / 459.6 MB, free: 7.668 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.1022, allocations: 59.91 kB / 459.6 MB, free: 7.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1022, allocations: 0 / 459.6 MB, free: 7.609 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.1022, allocations: 11.98 kB / 459.7 MB, free: 7.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1022, allocations: 4 kB / 459.7 MB, free: 7.594 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1022, allocations: 0 / 459.7 MB, free: 7.594 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005501/0.1028, allocations: 0.8011 MB / 460.5 MB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.1029, allocations: 115.1 kB / 460.6 MB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.1029, allocations: 8 kB / 460.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.1031, allocations: 11.98 kB / 460.6 MB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.936e-05/0.1031, allocations: 55.88 kB / 460.6 MB, free: 6.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.1032, allocations: 8 kB / 460.7 MB, free: 6.582 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001231/0.1033, allocations: 263 kB / 460.9 MB, free: 6.328 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1033, allocations: 0 / 460.9 MB, free: 6.328 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00216/0.1054, allocations: 1.099 MB / 462 MB, free: 5.227 MB / 378.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.002555/0.108, allocations: 1.09 MB / 463.1 MB, free: 4.125 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004455/0.1084, allocations: 364 kB / 463.5 MB, free: 3.762 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1084, allocations: 1.188 kB / 463.5 MB, free: 3.762 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.1086, allocations: 211.3 kB / 463.7 MB, free: 3.551 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008502/0.1095, allocations: 252.6 kB / 463.9 MB, free: 3.312 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.1114, allocations: 1.484 MB / 465.4 MB, free: 1.785 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.985e-05/0.1115, allocations: 176.7 kB / 465.6 MB, free: 1.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003693/0.1118, allocations: 374.3 kB / 465.9 MB, free: 1.227 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003191/0.1122, allocations: 234.1 kB / 466.2 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1122, allocations: 0 / 466.2 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of Templates: time 0.1474/0.2596, allocations: 42.61 MB / 0.4968 GB, free: 118.5 MB / 410.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: 5.164628801867366]