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.001098/0.001098, allocations: 77.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005006/0.006103, allocations: 449.8 kB / 10.44 MB, free: 248 kB / 10.45 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.001135/0.001135, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001627/0.002762, allocations: 479.5 kB / 11.82 MB, free: 2.34 MB / 13.93 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 1.083/1.083, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1023/1.186, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.09913/0.09913, allocations: 19.78 MB / 263.9 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0152/0.1143, allocations: 7.557 MB / 271.5 MB, free: 3.355 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_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.763e-06/1.763e-06, allocations: 0 / 272.9 MB, free: 1.934 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.465e-05/3.642e-05, allocations: 6.109 kB / 272.9 MB, free: 1.93 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.1578/0.1579, allocations: 15.86 MB / 288.8 MB, free: 10.02 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01628/0.1742, allocations: 13.58 MB / 302.4 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002299/0.1744, allocations: 5.406 kB / 302.4 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005868/0.175, allocations: 116.4 kB / 302.5 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008266/0.1758, allocations: 249.4 kB / 302.7 MB, free: 15.65 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01875/0.1945, allocations: 5.053 MB / 307.8 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00152/0.1961, allocations: 1.07 MB / 308.9 MB, free: 9.535 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.162e-05/0.1962, allocations: 14.91 kB / 308.9 MB, free: 9.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.1972, allocations: 0.5885 MB / 309.5 MB, free: 8.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005769/0.1977, allocations: 439.1 kB / 309.9 MB, free: 8.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.859e-05/0.1978, allocations: 47.94 kB / 309.9 MB, free: 8.453 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01354/0.2114, allocations: 6.563 MB / 316.5 MB, free: 1.883 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002995/0.2117, allocations: 103.8 kB / 316.6 MB, free: 1.781 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004781/0.2122, allocations: 127.8 kB / 316.7 MB, free: 1.656 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01078/0.2229, allocations: 3.743 MB / 320.5 MB, free: 13.9 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.648e-05/0.223, allocations: 4 kB / 320.5 MB, free: 13.9 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.457e-06/0.223, allocations: 0 / 320.5 MB, free: 13.9 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.119e-05/0.223, allocations: 0 / 320.5 MB, free: 13.9 MB / 314.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.004739/0.2277, allocations: 1.712 MB / 322.2 MB, free: 12.14 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.2278, allocations: 8.922 kB / 322.2 MB, free: 12.13 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001585/0.2293, allocations: 0.4958 MB / 322.7 MB, free: 11.64 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000455/0.2298, allocations: 237.3 kB / 322.9 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002813/0.2301, allocations: 298.8 kB / 323.2 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.2302, allocations: 36.36 kB / 323.3 MB, free: 11 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/0.2321, allocations: 1.416 MB / 324.7 MB, free: 9.523 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.2321, allocations: 3.938 kB / 324.7 MB, free: 9.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.49e-05/0.2322, allocations: 12 kB / 324.7 MB, free: 9.508 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.057e-05/0.2322, allocations: 16.66 kB / 324.7 MB, free: 9.492 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001614/0.2338, allocations: 1.17 MB / 325.9 MB, free: 8.32 MB / 314.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.004161/0.238, allocations: 1.706 MB / 327.6 MB, free: 6.562 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001812/0.2398, allocations: 0.7804 MB / 328.4 MB, free: 5.777 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005747/0.2403, allocations: 385.4 kB / 328.7 MB, free: 5.398 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4155/0.6559, allocations: 124.5 MB / 453.2 MB, free: 113 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.6559, allocations: 30.89 kB / 453.3 MB, free: 112.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 2.395e-06/0.6559, allocations: 0 / 453.3 MB, free: 112.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.005996/0.6619, allocations: 2.952 MB / 456.2 MB, free: 110.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.175e-05/0.6619, allocations: 59.39 kB / 456.3 MB, free: 110.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.509e-05/0.662, allocations: 147.2 kB / 456.4 MB, free: 110 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.362e-05/0.6621, allocations: 37.39 kB / 456.5 MB, free: 109.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.739e-05/0.6622, allocations: 149.4 kB / 456.6 MB, free: 109.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.6623, allocations: 163.3 kB / 456.8 MB, free: 109.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002492/0.6626, allocations: 164.9 kB / 456.9 MB, free: 109.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.221e-05/0.6626, allocations: 334.8 kB / 457.3 MB, free: 109.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003973/0.663, allocations: 449.7 kB / 457.7 MB, free: 108.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004243/0.6634, allocations: 0.5275 MB / 458.2 MB, free: 108.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000692/0.6641, allocations: 0.7914 MB / 459 MB, free: 107.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.6641, allocations: 0 / 459 MB, free: 107.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009114/0.665, allocations: 0.9071 MB / 459.9 MB, free: 106.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.6651, allocations: 8 kB / 459.9 MB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.423e-06/0.6651, allocations: 4 kB / 459.9 MB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.6651, allocations: 9.172 kB / 459.9 MB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.6661, allocations: 468.2 kB / 460.4 MB, free: 106.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.6661, allocations: 4 kB / 460.4 MB, free: 106.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005584/0.6667, allocations: 163.4 kB / 460.6 MB, free: 106 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.093e-05/0.6668, allocations: 62.08 kB / 460.6 MB, free: 106 MB / 410.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.0002003/0.667, allocations: 138.2 kB / 460.8 MB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.6671, allocations: 32.02 kB / 460.8 MB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002498/0.6696, allocations: 3.438 MB / 464.2 MB, free: 102.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001683/0.6713, allocations: 2.851 MB / 467.1 MB, free: 99.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.6713, allocations: 0 / 467.1 MB, free: 99.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.6713, allocations: 7.969 kB / 467.1 MB, free: 99.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003191/0.6745, allocations: 4.197 MB / 471.3 MB, free: 95.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.6745, allocations: 3.984 kB / 471.3 MB, free: 95.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.6755, allocations: 451.8 kB / 471.7 MB, free: 95.49 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002444/0.6758, allocations: 134.7 kB / 471.9 MB, free: 95.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.006e-06/0.6758, allocations: 4 kB / 471.9 MB, free: 95.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.218e-05/0.6759, allocations: 38.03 kB / 471.9 MB, free: 95.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.6759, allocations: 7.75 kB / 471.9 MB, free: 95.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.6759, allocations: 0 / 471.9 MB, free: 95.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001598/0.6775, allocations: 1.677 MB / 473.6 MB, free: 93.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.425e-05/0.6776, allocations: 19.06 kB / 473.6 MB, free: 93.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005103/0.6781, allocations: 158.8 kB / 473.8 MB, free: 93.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.6782, allocations: 80.11 kB / 473.8 MB, free: 93.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.234e-05/0.6782, allocations: 35.47 kB / 473.9 MB, free: 93.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.928e-05/0.6783, allocations: 34.58 kB / 473.9 MB, free: 93.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.6783, allocations: 1.859 kB / 473.9 MB, free: 93.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0025/0.6808, allocations: 0.982 MB / 474.9 MB, free: 92.51 MB / 410.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.002878/0.6836, allocations: 1.188 MB / 476.1 MB, free: 91.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00109/0.6847, allocations: 1.117 MB / 477.2 MB, free: 90.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.45e-05/0.6848, allocations: 4 kB / 477.2 MB, free: 90.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000567/0.6853, allocations: 0.6669 MB / 477.9 MB, free: 89.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004774/0.6858, allocations: 233.1 kB / 478.1 MB, free: 89.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004901/0.6907, allocations: 1.264 MB / 479.4 MB, free: 88.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.03e-05/0.6908, allocations: 168.4 kB / 479.5 MB, free: 88.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001004/0.6918, allocations: 1.166 MB / 480.7 MB, free: 87.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007852/0.6926, allocations: 241.3 kB / 480.9 MB, free: 86.82 MB / 410.7 MB Notification: Performance of SimCode: time 1.903e-06/0.6926, allocations: 0 / 480.9 MB, free: 86.82 MB / 410.7 MB Notification: Performance of Templates: time 0.04879/0.7414, allocations: 45.61 MB / 0.5142 GB, free: 41.64 MB / 410.7 MB " [Timeout remaining time 659] 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.9668340645730495]