Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.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.001433/0.001433, allocations: 80.31 kB / 22.21 MB, free: 2.293 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.001684/0.001684, allocations: 167 kB / 25.61 MB, free: 8.551 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.8853/0.8853, allocations: 158.6 MB / 187.5 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.1789/0.1789, allocations: 36.34 MB / 276.2 MB, free: 14.46 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.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance") translateModel(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 355.2 MB, free: 62.53 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.969e-06/1.101e-05, allocations: 2.969 kB / 355.2 MB, free: 62.52 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.01265/0.01266, allocations: 15.54 MB / 370.7 MB, free: 52.52 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.009566/0.02223, allocations: 13.33 MB / 384 MB, free: 41.91 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.02236, allocations: 0 / 384 MB, free: 41.91 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000384/0.02274, allocations: 119.2 kB / 384.2 MB, free: 41.79 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004785/0.02322, allocations: 254.8 kB / 384.4 MB, free: 41.54 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01089/0.03412, allocations: 5.527 MB / 389.9 MB, free: 35.99 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006966/0.03481, allocations: 1.045 MB / 391 MB, free: 34.94 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.774e-05/0.03486, allocations: 16.92 kB / 391 MB, free: 34.92 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005903/0.03545, allocations: 0.5962 MB / 391.6 MB, free: 34.32 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003853/0.03584, allocations: 439.1 kB / 392 MB, free: 33.89 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.19e-05/0.0359, allocations: 44 kB / 392.1 MB, free: 33.85 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007343/0.04324, allocations: 6.104 MB / 398.2 MB, free: 27.74 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.04338, allocations: 191.5 kB / 398.3 MB, free: 27.55 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.04353, allocations: 211.5 kB / 398.6 MB, free: 27.34 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004709/0.04824, allocations: 4.962 MB / 403.5 MB, free: 22.37 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.04824, allocations: 0 / 403.5 MB, free: 22.37 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.04824, allocations: 4 kB / 403.5 MB, free: 22.37 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.04825, allocations: 0 / 403.5 MB, free: 22.37 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.00241/0.05066, allocations: 1.48 MB / 405 MB, free: 20.85 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.932e-05/0.05068, allocations: 8.031 kB / 405 MB, free: 20.84 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008088/0.05149, allocations: 267.8 kB / 405.3 MB, free: 20.58 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.05176, allocations: 268 kB / 405.5 MB, free: 20.29 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001662/0.05192, allocations: 302.8 kB / 405.8 MB, free: 19.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-05/0.05201, allocations: 32.38 kB / 405.9 MB, free: 19.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/0.05358, allocations: 1.45 MB / 407.3 MB, free: 18.39 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.05359, allocations: 7.938 kB / 407.3 MB, free: 18.38 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.716e-05/0.05364, allocations: 12 kB / 407.3 MB, free: 18.37 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/0.05367, allocations: 8.656 kB / 407.3 MB, free: 18.36 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001455/0.05512, allocations: 1.333 MB / 408.7 MB, free: 17.03 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00178/0.0569, allocations: 3.771 MB / 412.4 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.05792, allocations: 0.8875 MB / 413.3 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003486/0.05827, allocations: 468 kB / 413.8 MB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06312/0.1214, allocations: 36.49 MB / 450.3 MB, free: 6.984 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.1214, allocations: 41.72 kB / 450.3 MB, free: 6.934 MB / 362.7 MB Notification: Performance of pre-optimization done (n=40): time 2.224e-06/0.1214, allocations: 0 / 450.3 MB, free: 6.934 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.005518/0.1269, allocations: 3.055 MB / 453.4 MB, free: 3.844 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.127, allocations: 55.41 kB / 453.4 MB, free: 3.777 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.1271, allocations: 217 kB / 453.6 MB, free: 3.551 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.604e-05/0.1272, allocations: 41.64 kB / 453.7 MB, free: 3.504 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.641e-05/0.1272, allocations: 203.6 kB / 453.9 MB, free: 3.301 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.1274, allocations: 158.6 kB / 454 MB, free: 3.145 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004853/0.1279, allocations: 223.5 kB / 454.2 MB, free: 2.918 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.128, allocations: 0.5118 MB / 454.8 MB, free: 2.395 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005609/0.1285, allocations: 0.5302 MB / 455.3 MB, free: 1.863 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00062/0.1292, allocations: 0.654 MB / 455.9 MB, free: 1.164 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009947/0.1302, allocations: 0.8959 MB / 456.8 MB, free: 228 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1302, allocations: 4 kB / 456.8 MB, free: 224 kB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001572/0.1317, allocations: 1.22 MB / 458.1 MB, free: 14.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1318, allocations: 12.25 kB / 458.1 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1318, allocations: 4 kB / 458.1 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.1318, allocations: 8 kB / 458.1 MB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.1328, allocations: 383.4 kB / 458.5 MB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1328, allocations: 7.938 kB / 458.5 MB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006328/0.1334, allocations: 155.8 kB / 458.6 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.1335, allocations: 75.86 kB / 458.7 MB, free: 14.36 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 4 (bubble.phase,dew.phase,fluid[1].phase,fluid[2].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002315/0.1338, allocations: 184.5 kB / 458.9 MB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/0.134, allocations: 36.73 kB / 458.9 MB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003364/0.1373, allocations: 3.636 MB / 462.5 MB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002327/0.1397, allocations: 3.088 MB / 465.6 MB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.1397, allocations: 4 kB / 465.6 MB, free: 7.391 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.505e-06/0.1397, allocations: 3.984 kB / 465.6 MB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004505/0.1442, allocations: 5.594 MB / 471.2 MB, free: 1.484 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1442, allocations: 3.938 kB / 471.2 MB, free: 1.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.1452, allocations: 386.6 kB / 471.6 MB, free: 1.105 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.76e-06/0.1452, allocations: 8 kB / 471.6 MB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.749e-05/0.1453, allocations: 47.91 kB / 471.7 MB, free: 1.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.1453, allocations: 4 kB / 471.7 MB, free: 1.047 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1453, allocations: 0 / 471.7 MB, free: 1.047 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/0.1474, allocations: 1.941 MB / 473.6 MB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002501/0.1477, allocations: 171.1 kB / 473.8 MB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.157e-05/0.1478, allocations: 15.94 kB / 473.8 MB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006061/0.1484, allocations: 159.8 kB / 474 MB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.1485, allocations: 76.81 kB / 474 MB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.708e-05/0.1486, allocations: 47.91 kB / 474.1 MB, free: 14.62 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.828e-05/0.1486, allocations: 143.2 kB / 474.2 MB, free: 14.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1486, allocations: 0 / 474.2 MB, free: 14.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002169/0.1508, allocations: 0.9751 MB / 475.2 MB, free: 13.51 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rhobar_check[1]) * Number of discrete variables: 6 ($cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.region3boundary,$cse24.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.002884/0.1537, allocations: 1.121 MB / 476.3 MB, free: 12.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001409/0.1551, allocations: 1.312 MB / 477.6 MB, free: 11.06 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1551, allocations: 0 / 477.6 MB, free: 11.06 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006835/0.1558, allocations: 0.7148 MB / 478.3 MB, free: 10.34 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005151/0.1563, allocations: 179.7 kB / 478.5 MB, free: 10.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.1581, allocations: 1.252 MB / 479.8 MB, free: 8.875 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.1583, allocations: 168.8 kB / 479.9 MB, free: 8.691 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001266/0.1595, allocations: 1.165 MB / 481.1 MB, free: 7.527 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008426/0.1604, allocations: 305.9 kB / 481.4 MB, free: 7.227 MB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1604, allocations: 0 / 481.4 MB, free: 7.227 MB / 394.7 MB Notification: Performance of Templates: time 0.1661/0.3265, allocations: 51.52 MB / 0.5204 GB, free: 129.5 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.193418601993471]