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.0009304/0.0009304, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001475/0.001475, allocations: 165.9 kB / 24.99 MB, free: 8.336 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.7757/0.7757, allocations: 158.6 MB / 186.8 MB, free: 2.918 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.1549/0.1549, allocations: 36.34 MB / 275.4 MB, free: 10.73 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.413e-06/1.413e-06, allocations: 0 / 353.9 MB, free: 3.664 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.36e-05/1.501e-05, allocations: 3.438 kB / 353.9 MB, free: 3.66 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.01101/0.01103, allocations: 15.73 MB / 369.6 MB, free: 3.875 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01021/0.02124, allocations: 13.54 MB / 383.2 MB, free: 6.289 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.183e-05/0.02132, allocations: 3.938 kB / 383.2 MB, free: 6.285 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003223/0.02164, allocations: 115.2 kB / 383.3 MB, free: 6.172 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004107/0.02206, allocations: 262.3 kB / 383.5 MB, free: 5.914 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008264/0.03032, allocations: 5.52 MB / 389 MB, free: 380 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007652/0.03108, allocations: 1.041 MB / 390.1 MB, free: 15.32 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.227e-05/0.03114, allocations: 12.94 kB / 390.1 MB, free: 15.31 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000599/0.03174, allocations: 0.5884 MB / 390.7 MB, free: 14.72 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006774/0.03241, allocations: 443.1 kB / 391.1 MB, free: 14.29 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.64e-05/0.03248, allocations: 44 kB / 391.2 MB, free: 14.24 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006114/0.03859, allocations: 6.101 MB / 397.3 MB, free: 8.133 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.03874, allocations: 191.5 kB / 397.5 MB, free: 7.945 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001735/0.03892, allocations: 211.5 kB / 397.7 MB, free: 7.738 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004557/0.04347, allocations: 4.962 MB / 402.6 MB, free: 2.766 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.04348, allocations: 0 / 402.6 MB, free: 2.766 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.04348, allocations: 0 / 402.6 MB, free: 2.766 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.04348, allocations: 0 / 402.6 MB, free: 2.766 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.002723/0.04621, allocations: 1.538 MB / 404.2 MB, free: 1.188 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.04624, allocations: 12.03 kB / 404.2 MB, free: 1.176 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.04727, allocations: 271.8 kB / 404.4 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.04762, allocations: 292 kB / 404.7 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002199/0.04784, allocations: 302.8 kB / 405 MB, free: 260 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.547e-05/0.04793, allocations: 32.38 kB / 405.1 MB, free: 228 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002296/0.05023, allocations: 1.565 MB / 406.6 MB, free: 14.58 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.05024, allocations: 7.938 kB / 406.6 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.099e-05/0.05031, allocations: 16 kB / 406.6 MB, free: 14.56 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/0.05034, allocations: 8.656 kB / 406.6 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/0.05245, allocations: 1.537 MB / 408.2 MB, free: 13.02 MB / 346.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.002611/0.05506, allocations: 3.843 MB / 412 MB, free: 8.777 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001669/0.05673, allocations: 1.007 MB / 413 MB, free: 7.758 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005517/0.05728, allocations: 0.5392 MB / 413.6 MB, free: 7.215 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1837/0.241, allocations: 42.25 MB / 455.8 MB, free: 107.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.241, allocations: 46.98 kB / 455.9 MB, free: 107.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=40): time 2.335e-06/0.241, allocations: 1.375 kB / 455.9 MB, free: 107.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.006152/0.2472, allocations: 3.445 MB / 459.3 MB, free: 107.1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.2472, allocations: 56.09 kB / 459.4 MB, free: 107 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.819e-05/0.2473, allocations: 224.7 kB / 459.6 MB, free: 106.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.903e-05/0.2474, allocations: 33.77 kB / 459.6 MB, free: 106.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.094e-05/0.2474, allocations: 203 kB / 459.8 MB, free: 106.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.2476, allocations: 157.7 kB / 460 MB, free: 106.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002569/0.2478, allocations: 218.9 kB / 460.2 MB, free: 106.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.231e-05/0.2478, allocations: 0.51 MB / 460.7 MB, free: 105.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006158/0.2485, allocations: 0.6267 MB / 461.3 MB, free: 105.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006804/0.2491, allocations: 0.7605 MB / 462.1 MB, free: 105.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.2502, allocations: 1.029 MB / 463.1 MB, free: 104.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2502, allocations: 0 / 463.1 MB, free: 104.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001651/0.2518, allocations: 1.383 MB / 464.5 MB, free: 103.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.2519, allocations: 8 kB / 464.5 MB, free: 103.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.2519, allocations: 4 kB / 464.5 MB, free: 103.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.2519, allocations: 4 kB / 464.5 MB, free: 103.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000979/0.2529, allocations: 423.6 kB / 464.9 MB, free: 102.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.2529, allocations: 4 kB / 464.9 MB, free: 102.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006349/0.2535, allocations: 183.8 kB / 465.1 MB, free: 102.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-05/0.2536, allocations: 79.86 kB / 465.2 MB, free: 102.5 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 (fluid[2].phase,fluid[1].phase,dew.phase,bubble.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.0002043/0.2538, allocations: 186.6 kB / 465.4 MB, free: 102.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/0.254, allocations: 35.19 kB / 465.4 MB, free: 102.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003084/0.2571, allocations: 4.263 MB / 469.7 MB, free: 97.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002272/0.2594, allocations: 3.713 MB / 473.4 MB, free: 94.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2594, allocations: 3.984 kB / 473.4 MB, free: 94.26 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.2594, allocations: 3.984 kB / 473.4 MB, free: 94.26 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003858/0.2632, allocations: 6.306 MB / 479.7 MB, free: 87.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.2632, allocations: 0 / 479.7 MB, free: 87.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009861/0.2642, allocations: 415.3 kB / 480.1 MB, free: 87.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.2642, allocations: 7.844 kB / 480.1 MB, free: 87.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.858e-05/0.2643, allocations: 47.91 kB / 480.2 MB, free: 87.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.2643, allocations: 0 / 480.2 MB, free: 87.22 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2643, allocations: 7.875 kB / 480.2 MB, free: 87.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002261/0.2666, allocations: 2.273 MB / 482.4 MB, free: 84.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002376/0.2668, allocations: 177.9 kB / 482.6 MB, free: 84.76 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.245e-05/0.2669, allocations: 19.98 kB / 482.6 MB, free: 84.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005942/0.2675, allocations: 187.8 kB / 482.8 MB, free: 84.56 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.2676, allocations: 80.19 kB / 482.9 MB, free: 84.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.644e-05/0.2677, allocations: 57.11 kB / 482.9 MB, free: 84.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.137e-05/0.2677, allocations: 143.2 kB / 483.1 MB, free: 84.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2677, allocations: 0 / 483.1 MB, free: 84.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001632/0.2693, allocations: 0.9804 MB / 484.1 MB, free: 83.34 MB / 378.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.002071/0.2714, allocations: 1.094 MB / 485.2 MB, free: 82.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001448/0.2728, allocations: 1.52 MB / 486.7 MB, free: 80.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2728, allocations: 0 / 486.7 MB, free: 80.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007108/0.2736, allocations: 0.828 MB / 487.5 MB, free: 79.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004851/0.274, allocations: 174.9 kB / 487.7 MB, free: 79.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/0.2757, allocations: 1.301 MB / 489 MB, free: 78.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.939e-05/0.2758, allocations: 176.5 kB / 489.2 MB, free: 78.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001002/0.2768, allocations: 1.227 MB / 490.4 MB, free: 77.06 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004903/0.2773, allocations: 160.2 kB / 490.5 MB, free: 76.91 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/0.2773, allocations: 0 / 490.5 MB, free: 76.91 MB / 378.7 MB Notification: Performance of Templates: time 0.02923/0.3065, allocations: 45.05 MB / 0.523 GB, free: 31.8 MB / 378.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: 4.299059231998399]