Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.0009061/0.0009061, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009065/0.0009065, allocations: 163.9 kB / 24.99 MB, free: 9.285 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.8863/0.8863, allocations: 177.1 MB / 205.3 MB, free: 5.602 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.09013/0.09013, allocations: 19.73 MB / 281.5 MB, free: 9.312 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.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance") translateModel(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 358 MB, free: 6.848 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.618e-05/1.76e-05, allocations: 9.344 kB / 358 MB, free: 6.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.01243/0.01245, allocations: 15.82 MB / 373.9 MB, free: 6.953 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01059/0.02304, allocations: 13.53 MB / 387.4 MB, free: 9.371 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.836e-05/0.02313, allocations: 0 / 387.4 MB, free: 9.371 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003596/0.02349, allocations: 111.2 kB / 387.5 MB, free: 9.262 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004425/0.02393, allocations: 258.3 kB / 387.8 MB, free: 9.008 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008613/0.03255, allocations: 5.541 MB / 393.3 MB, free: 3.445 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001043/0.03359, allocations: 1.042 MB / 394.3 MB, free: 2.402 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.846e-05/0.03364, allocations: 12.94 kB / 394.4 MB, free: 2.387 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005871/0.03422, allocations: 0.5962 MB / 395 MB, free: 1.789 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004161/0.03464, allocations: 443.1 kB / 395.4 MB, free: 1.355 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.562e-05/0.03471, allocations: 44 kB / 395.4 MB, free: 1.312 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006932/0.04164, allocations: 6.118 MB / 401.5 MB, free: 11.19 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.04179, allocations: 195.5 kB / 401.7 MB, free: 11 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001699/0.04196, allocations: 207.6 kB / 401.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004428/0.04639, allocations: 4.973 MB / 406.9 MB, free: 5.809 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.04639, allocations: 3.938 kB / 406.9 MB, free: 5.805 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.04639, allocations: 0 / 406.9 MB, free: 5.805 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.0464, allocations: 0 / 406.9 MB, free: 5.805 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.00285/0.04925, allocations: 1.542 MB / 408.5 MB, free: 4.223 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.04929, allocations: 16.62 kB / 408.5 MB, free: 4.207 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001632/0.05092, allocations: 475.6 kB / 408.9 MB, free: 3.742 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003577/0.05127, allocations: 292 kB / 409.2 MB, free: 3.43 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002175/0.05149, allocations: 310.8 kB / 409.5 MB, free: 3.078 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.432e-05/0.05159, allocations: 28.38 kB / 409.6 MB, free: 3.051 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002069/0.05366, allocations: 1.573 MB / 411.1 MB, free: 1.406 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.05367, allocations: 3.938 kB / 411.1 MB, free: 1.402 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.337e-05/0.05374, allocations: 16 kB / 411.1 MB, free: 1.387 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.71e-05/0.05377, allocations: 16.64 kB / 411.2 MB, free: 1.371 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1184/0.1721, allocations: 1.527 MB / 412.7 MB, free: 32.54 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.00224/0.1744, allocations: 3.828 MB / 416.5 MB, free: 29.38 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/0.1759, allocations: 0.9963 MB / 417.5 MB, free: 29.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005989/0.1765, allocations: 0.5359 MB / 418 MB, free: 29.33 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07005/0.2466, allocations: 43.99 MB / 462 MB, free: 3.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.2466, allocations: 45.39 kB / 462.1 MB, free: 3.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=40): time 2.354e-06/0.2466, allocations: 0 / 462.1 MB, free: 3.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.006019/0.2526, allocations: 3.451 MB / 465.5 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.2527, allocations: 63.09 kB / 465.6 MB, free: 436 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.19e-05/0.2527, allocations: 214.6 kB / 465.8 MB, free: 224 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.467e-05/0.2528, allocations: 33.58 kB / 465.8 MB, free: 192 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.2529, allocations: 201.3 kB / 466 MB, free: 15.99 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/0.253, allocations: 159.4 kB / 466.2 MB, free: 15.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000284/0.2533, allocations: 222.4 kB / 466.4 MB, free: 15.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.2535, allocations: 0.5068 MB / 466.9 MB, free: 15.17 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007271/0.2542, allocations: 0.6328 MB / 467.6 MB, free: 14.6 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007922/0.255, allocations: 0.7535 MB / 468.3 MB, free: 13.87 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.2563, allocations: 1.027 MB / 469.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2563, allocations: 0 / 469.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001871/0.2582, allocations: 1.388 MB / 470.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.2582, allocations: 8.312 kB / 470.7 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.2582, allocations: 6.516 kB / 470.7 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.2582, allocations: 8 kB / 470.7 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.2593, allocations: 416.8 kB / 471.1 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.2593, allocations: 8 kB / 471.2 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006663/0.26, allocations: 175.2 kB / 471.3 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.2601, allocations: 90.84 kB / 471.4 MB, free: 11.14 MB / 346.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.0002298/0.2603, allocations: 186.2 kB / 471.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000205/0.2605, allocations: 35.66 kB / 471.6 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003717/0.2642, allocations: 4.256 MB / 475.9 MB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003067/0.2673, allocations: 3.715 MB / 479.6 MB, free: 3.371 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2673, allocations: 4 kB / 479.6 MB, free: 3.367 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.2673, allocations: 3.984 kB / 479.6 MB, free: 3.363 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005045/0.2723, allocations: 6.312 MB / 485.9 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.2724, allocations: 3.984 kB / 485.9 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/0.2734, allocations: 419.3 kB / 486.3 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.2734, allocations: 4 kB / 486.3 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.989e-05/0.2735, allocations: 47.91 kB / 486.4 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.2735, allocations: 4 kB / 486.4 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2735, allocations: 0 / 486.4 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002676/0.2762, allocations: 2.275 MB / 488.7 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002757/0.2764, allocations: 183.2 kB / 488.8 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.2765, allocations: 12 kB / 488.9 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006481/0.2772, allocations: 187.8 kB / 489 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.2773, allocations: 76.8 kB / 489.1 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.882e-05/0.2774, allocations: 51.91 kB / 489.2 MB, free: 9.984 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.033e-05/0.2775, allocations: 147.2 kB / 489.3 MB, free: 9.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2775, allocations: 0 / 489.3 MB, free: 9.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002349/0.2798, allocations: 0.9867 MB / 490.3 MB, free: 8.852 MB / 362.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.002283/0.2821, allocations: 1.111 MB / 491.4 MB, free: 7.844 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001956/0.2841, allocations: 1.523 MB / 492.9 MB, free: 6.328 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2841, allocations: 0 / 492.9 MB, free: 6.328 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008629/0.2849, allocations: 0.817 MB / 493.7 MB, free: 5.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000525/0.2855, allocations: 189.4 kB / 493.9 MB, free: 5.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/0.2874, allocations: 1.311 MB / 495.2 MB, free: 4.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.881e-05/0.2875, allocations: 172.7 kB / 495.4 MB, free: 3.824 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001233/0.2887, allocations: 1.22 MB / 496.6 MB, free: 2.621 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005199/0.2893, allocations: 156.2 kB / 496.8 MB, free: 2.469 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/0.2893, allocations: 0 / 496.8 MB, free: 2.469 MB / 362.7 MB Notification: Performance of Templates: time 0.03934/0.3286, allocations: 45.13 MB / 0.5292 GB, free: 5.582 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.349432849092409]