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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance") translateModel(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 114.9 kB / 17.75 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 188.4 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205.1 MB / 224.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3035/0.3035, allocations: 48.84 MB / 320.7 MB, free: 11 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 71.89 kB / 451.3 MB, free: 8.434 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1167, allocations: 59.15 MB / 0.4985 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.0174/0.1341, allocations: 15.65 MB / 0.5138 GB, free: 13.43 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3002/0.4344, allocations: 13.79 MB / 0.5273 GB, free: 7.016 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002766/0.4347, allocations: 3.969 kB / 0.5273 GB, free: 7.016 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005761/0.4353, allocations: 138.3 kB / 0.5274 GB, free: 7.016 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007291/0.4361, allocations: 248 kB / 0.5276 GB, free: 7.016 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01727/0.4534, allocations: 5.497 MB / 0.533 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001807/0.4552, allocations: 1.031 MB / 0.534 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.316e-05/0.4553, allocations: 32.55 kB / 0.534 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.4564, allocations: 0.4942 MB / 0.5345 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000804/0.4572, allocations: 460 kB / 0.535 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.4573, allocations: 43.25 kB / 0.535 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01592/0.4732, allocations: 6.36 MB / 0.5412 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003717/0.4736, allocations: 179.8 kB / 0.5414 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005321/0.4742, allocations: 243 kB / 0.5416 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01292/0.4871, allocations: 3.929 MB / 0.5454 GB, free: 6.301 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.4872, allocations: 5.156 kB / 0.5454 GB, free: 6.301 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4872, allocations: 0 / 0.5454 GB, free: 6.301 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.4872, allocations: 0 / 0.5454 GB, free: 6.301 MB / 414.1 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.007186/0.4944, allocations: 1.505 MB / 0.5469 GB, free: 5.414 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.4945, allocations: 9.625 kB / 0.5469 GB, free: 5.414 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001488/0.4959, allocations: 163.3 kB / 0.5471 GB, free: 5.359 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004923/0.4965, allocations: 335.1 kB / 0.5474 GB, free: 5.102 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003177/0.4968, allocations: 126.1 kB / 0.5475 GB, free: 5.047 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/0.4969, allocations: 39.31 kB / 0.5476 GB, free: 5.039 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004752/0.5017, allocations: 1.881 MB / 0.5494 GB, free: 4.324 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.5017, allocations: 1.125 kB / 0.5494 GB, free: 4.324 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/0.5019, allocations: 15.16 kB / 0.5494 GB, free: 4.324 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.754e-05/0.5019, allocations: 14.88 kB / 0.5494 GB, free: 4.324 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006918/0.5088, allocations: 2.654 MB / 0.552 GB, free: 3.098 MB / 414.1 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.004143/0.513, allocations: 4.832 MB / 0.5567 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004071/0.5171, allocations: 1.356 MB / 0.5581 GB, free: 13.62 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002594/0.5197, allocations: 0.9791 MB / 0.559 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1689/0.6886, allocations: 76.33 MB / 0.6336 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.004e-05/0.6887, allocations: 38.89 kB / 0.6336 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 3.296e-06/0.6887, allocations: 0 / 0.6336 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.02344/0.7122, allocations: 5.854 MB / 0.6393 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.7122, allocations: 55.41 kB / 0.6394 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.7124, allocations: 157.6 kB / 0.6395 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001804/0.7126, allocations: 33.7 kB / 0.6395 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.7127, allocations: 148.6 kB / 0.6397 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002353/0.713, allocations: 146.2 kB / 0.6398 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004714/0.7135, allocations: 221.8 kB / 0.64 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.7136, allocations: 334.8 kB / 0.6404 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003675/0.7173, allocations: 1.117 MB / 0.6414 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003824/0.7211, allocations: 1.217 MB / 0.6426 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007136/0.7283, allocations: 1.961 MB / 0.6446 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.7283, allocations: 2.531 kB / 0.6446 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.008055/0.7364, allocations: 2.337 MB / 0.6468 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.7364, allocations: 7.938 kB / 0.6468 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.7365, allocations: 4.312 kB / 0.6468 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/0.7365, allocations: 8.891 kB / 0.6469 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00259/0.7391, allocations: 493.3 kB / 0.6473 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.027e-05/0.7391, allocations: 10.61 kB / 0.6473 GB, free: 104 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001955/0.7411, allocations: 251.6 kB / 0.6476 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002068/0.7413, allocations: 83.86 kB / 0.6477 GB, free: 15.77 MB / 0.5137 GB 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.0006391/0.742, allocations: 180.8 kB / 0.6478 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003159/0.7423, allocations: 19.81 kB / 0.6478 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01147/0.7538, allocations: 7.104 MB / 0.6548 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0101/0.7639, allocations: 6.569 MB / 0.6612 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.595e-05/0.764, allocations: 0 / 0.6612 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-05/0.764, allocations: 3.984 kB / 0.6612 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01445/0.7784, allocations: 10.46 MB / 0.6714 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.7785, allocations: 0 / 0.6714 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002505/0.781, allocations: 498.3 kB / 0.6719 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-05/0.7811, allocations: 4.938 kB / 0.6719 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001802/0.7812, allocations: 47.91 kB / 0.6719 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.017e-05/0.7813, allocations: 4 kB / 0.672 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.7813, allocations: 3.938 kB / 0.672 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01143/0.7927, allocations: 4.503 MB / 0.6764 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005013/0.7933, allocations: 279.8 kB / 0.6766 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001881/0.7935, allocations: 19.98 kB / 0.6766 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00172/0.7952, allocations: 259.4 kB / 0.6769 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001922/0.7954, allocations: 76.78 kB / 0.677 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/0.7955, allocations: 55.91 kB / 0.677 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.762e-05/0.7957, allocations: 107.2 kB / 0.6771 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7957, allocations: 4 kB / 0.6771 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004478/0.8001, allocations: 0.9723 MB / 0.6781 GB, free: 276 kB / 0.5294 GB 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: 8 ($cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.region3boundary,$cse24.region3boundary,$cse25.region3boundary,$cse26.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.006915/0.8071, allocations: 0.9753 MB / 0.679 GB, free: 15.38 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008387/0.8155, allocations: 2.647 MB / 0.6816 GB, free: 12.74 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.8155, allocations: 3.844 kB / 0.6816 GB, free: 12.74 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004086/0.8196, allocations: 1.544 MB / 0.6831 GB, free: 11.21 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.8207, allocations: 98.53 kB / 0.6832 GB, free: 11.12 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005444/0.8261, allocations: 2.18 MB / 0.6853 GB, free: 8.914 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005393/0.8267, allocations: 0.9243 MB / 0.6862 GB, free: 7.965 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/0.8277, allocations: 179.1 kB / 0.6864 GB, free: 7.789 MB / 0.545 GB Notification: Performance of SimCode: time 1.503e-06/0.8278, allocations: 0 / 0.6864 GB, free: 7.789 MB / 0.545 GB Notification: Performance of Templates: time 0.04443/0.8722, allocations: 28.28 MB / 0.714 GB, free: 11.55 MB / 0.5762 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.makefile (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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance.pipe 2>&1)