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.001845/0.001845, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.001972/0.001972, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 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 1.54/1.54, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.1514/0.1514, allocations: 19.74 MB / 280.8 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.473e-06/1.473e-06, allocations: 0 / 357.3 MB, free: 6.871 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.73e-05, allocations: 6.25 kB / 357.3 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.02232/0.02235, allocations: 15.76 MB / 373.1 MB, free: 7.035 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01995/0.0423, allocations: 13.55 MB / 386.6 MB, free: 9.438 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.04246, allocations: 0 / 386.6 MB, free: 9.438 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004684/0.04293, allocations: 119.2 kB / 386.7 MB, free: 9.32 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006532/0.04358, allocations: 242.4 kB / 387 MB, free: 9.082 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01495/0.05853, allocations: 5.544 MB / 392.5 MB, free: 3.52 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001543/0.06008, allocations: 1.053 MB / 393.6 MB, free: 2.465 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.924e-05/0.06015, allocations: 16.88 kB / 393.6 MB, free: 2.445 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001231/0.06138, allocations: 0.5846 MB / 394.2 MB, free: 1.859 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008829/0.06226, allocations: 443.1 kB / 394.6 MB, free: 1.426 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001734/0.06243, allocations: 44 kB / 394.6 MB, free: 1.383 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01292/0.07536, allocations: 6.129 MB / 400.8 MB, free: 11.25 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003853/0.07574, allocations: 179.5 kB / 400.9 MB, free: 11.07 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004824/0.07623, allocations: 207.6 kB / 401.2 MB, free: 10.87 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01113/0.08736, allocations: 5.032 MB / 406.2 MB, free: 5.824 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.08736, allocations: 0 / 406.2 MB, free: 5.824 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.08737, allocations: 0 / 406.2 MB, free: 5.824 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.08738, allocations: 4 kB / 406.2 MB, free: 5.82 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.005656/0.09304, allocations: 1.538 MB / 407.7 MB, free: 4.242 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.09308, allocations: 12.62 kB / 407.7 MB, free: 4.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003014/0.09609, allocations: 491.5 kB / 408.2 MB, free: 3.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007742/0.09687, allocations: 288 kB / 408.5 MB, free: 3.441 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004377/0.09731, allocations: 306.8 kB / 408.8 MB, free: 3.094 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.09745, allocations: 32.38 kB / 408.8 MB, free: 3.062 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005122/0.1026, allocations: 1.916 MB / 410.7 MB, free: 1.074 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.1026, allocations: 3.938 kB / 410.8 MB, free: 1.07 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.1027, allocations: 12 kB / 410.8 MB, free: 1.059 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.289e-05/0.1027, allocations: 12.66 kB / 410.8 MB, free: 1.047 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1283/0.231, allocations: 2.387 MB / 413.2 MB, free: 63.24 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.003378/0.2344, allocations: 3.932 MB / 417.1 MB, free: 59.76 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003581/0.238, allocations: 1.211 MB / 418.3 MB, free: 59.59 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002157/0.2401, allocations: 0.8445 MB / 419.1 MB, free: 59.49 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1414/0.3815, allocations: 44 MB / 463.1 MB, free: 21.14 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.3816, allocations: 41.16 kB / 463.2 MB, free: 21.09 MB / 330.7 MB Notification: Performance of pre-optimization done (n=40): time 2.785e-06/0.3816, allocations: 0 / 463.2 MB, free: 21.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.01706/0.3986, allocations: 4.907 MB / 468.1 MB, free: 16.15 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.3987, allocations: 55.41 kB / 468.1 MB, free: 16.08 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.3988, allocations: 228.6 kB / 468.4 MB, free: 15.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001061/0.3989, allocations: 33.7 kB / 468.4 MB, free: 15.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.74e-05/0.399, allocations: 199.6 kB / 468.6 MB, free: 15.61 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/0.3992, allocations: 161.6 kB / 468.8 MB, free: 15.45 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004425/0.3996, allocations: 227.6 kB / 469 MB, free: 15.22 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.315e-05/0.3997, allocations: 0.5079 MB / 469.5 MB, free: 14.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002549/0.4022, allocations: 0.9417 MB / 470.4 MB, free: 13.76 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002652/0.4049, allocations: 1.067 MB / 471.5 MB, free: 12.64 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004828/0.4097, allocations: 1.62 MB / 473.1 MB, free: 10.97 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.4097, allocations: 4 kB / 473.1 MB, free: 10.97 MB / 330.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.005836/0.4155, allocations: 1.988 MB / 475.1 MB, free: 8.973 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.4156, allocations: 11.98 kB / 475.1 MB, free: 8.961 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.4156, allocations: 12.25 kB / 475.1 MB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.4156, allocations: 4 kB / 475.1 MB, free: 8.945 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002097/0.4177, allocations: 419.3 kB / 475.5 MB, free: 8.535 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.4177, allocations: 7.938 kB / 475.6 MB, free: 8.527 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.4191, allocations: 179.8 kB / 475.7 MB, free: 8.352 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001778/0.4193, allocations: 79.86 kB / 475.8 MB, free: 8.273 MB / 330.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.0003623/0.4197, allocations: 212.4 kB / 476 MB, free: 8.055 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003498/0.42, allocations: 35.91 kB / 476 MB, free: 8.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007441/0.4275, allocations: 4.743 MB / 480.8 MB, free: 3.277 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006826/0.4343, allocations: 4.22 MB / 485 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.4343, allocations: 3.984 kB / 485 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.4343, allocations: 3.984 kB / 485 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01316/0.4475, allocations: 6.787 MB / 491.8 MB, free: 7.965 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.4475, allocations: 7.984 kB / 491.8 MB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002425/0.4499, allocations: 419.3 kB / 492.2 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.527e-05/0.4499, allocations: 0 / 492.2 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001866/0.4501, allocations: 47.91 kB / 492.3 MB, free: 7.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.01e-05/0.4501, allocations: 4 kB / 492.3 MB, free: 7.496 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4501, allocations: 0 / 492.3 MB, free: 7.496 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01004/0.4602, allocations: 3.439 MB / 495.7 MB, free: 4.035 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006457/0.4608, allocations: 183.2 kB / 495.9 MB, free: 3.855 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001639/0.461, allocations: 16 kB / 495.9 MB, free: 3.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/0.4625, allocations: 184.7 kB / 496.1 MB, free: 3.66 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002288/0.4627, allocations: 80.8 kB / 496.2 MB, free: 3.578 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001571/0.4628, allocations: 51.91 kB / 496.2 MB, free: 3.527 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001453/0.463, allocations: 155.1 kB / 496.4 MB, free: 3.375 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.463, allocations: 3.938 kB / 496.4 MB, free: 3.371 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003021/0.466, allocations: 0.9828 MB / 497.4 MB, free: 2.387 MB / 346.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.004854/0.4709, allocations: 1.116 MB / 498.5 MB, free: 1.363 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007059/0.4779, allocations: 2.178 MB / 0.4889 GB, free: 15.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.4779, allocations: 0 / 0.4889 GB, free: 15.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003454/0.4814, allocations: 1.179 MB / 0.4901 GB, free: 13.99 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.4824, allocations: 178.6 kB / 0.4902 GB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00469/0.4871, allocations: 1.646 MB / 0.4918 GB, free: 12.15 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.4874, allocations: 291.5 kB / 0.4921 GB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002451/0.4899, allocations: 1.219 MB / 0.4933 GB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008247/0.4907, allocations: 164.2 kB / 0.4935 GB, free: 10.46 MB / 362.7 MB Notification: Performance of SimCode: time 1.843e-06/0.4907, allocations: 0 / 0.4935 GB, free: 10.46 MB / 362.7 MB Notification: Performance of Templates: time 0.07754/0.5682, allocations: 45.13 MB / 0.5375 GB, free: 13.43 MB / 410.7 MB " [Timeout remaining time 659] 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: 7.844481306965463]