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.001289/0.001289, allocations: 110.9 kB / 17.74 MB, free: 5.316 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.001241/0.001241, allocations: 184.5 kB / 18.67 MB, free: 4.398 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.448/1.448, allocations: 205.1 MB / 224.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2892/0.2892, 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.001658/0.001658, allocations: 71.91 kB / 451.3 MB, free: 8.441 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1407, allocations: 59.17 MB / 0.4985 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.02356/0.1643, allocations: 15.64 MB / 0.5138 GB, free: 13.43 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2763/0.4407, allocations: 13.79 MB / 0.5273 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002895/0.441, allocations: 2.812 kB / 0.5273 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004897/0.4415, allocations: 137.3 kB / 0.5274 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005724/0.4421, allocations: 252.4 kB / 0.5276 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01498/0.4571, allocations: 5.491 MB / 0.533 GB, free: 6.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001698/0.4588, allocations: 1.032 MB / 0.534 GB, free: 6.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.687e-05/0.4589, allocations: 35.05 kB / 0.534 GB, free: 6.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009656/0.4599, allocations: 0.4995 MB / 0.5345 GB, free: 6.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007524/0.4606, allocations: 452.6 kB / 0.535 GB, free: 6.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.4608, allocations: 43.44 kB / 0.535 GB, free: 6.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01541/0.4762, allocations: 6.357 MB / 0.5412 GB, free: 6.949 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003248/0.4765, allocations: 184.2 kB / 0.5414 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005224/0.4771, allocations: 249.5 kB / 0.5416 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01418/0.4913, allocations: 3.922 MB / 0.5454 GB, free: 6.316 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.4913, allocations: 1.406 kB / 0.5454 GB, free: 6.316 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4913, allocations: 0 / 0.5454 GB, free: 6.316 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.4913, allocations: 0 / 0.5454 GB, free: 6.316 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.006691/0.498, allocations: 1.5 MB / 0.5469 GB, free: 5.434 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.4981, allocations: 13.25 kB / 0.5469 GB, free: 5.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001486/0.4996, allocations: 163.7 kB / 0.5471 GB, free: 5.375 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000524/0.5001, allocations: 337.1 kB / 0.5474 GB, free: 5.117 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003093/0.5004, allocations: 132.1 kB / 0.5475 GB, free: 5.062 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.5006, allocations: 33.66 kB / 0.5476 GB, free: 5.059 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004552/0.5051, allocations: 1.88 MB / 0.5494 GB, free: 4.344 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.5052, allocations: 0 / 0.5494 GB, free: 4.344 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.687e-05/0.5053, allocations: 20.77 kB / 0.5494 GB, free: 4.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.872e-05/0.5053, allocations: 13.44 kB / 0.5494 GB, free: 4.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006741/0.5121, allocations: 2.649 MB / 0.552 GB, free: 3.105 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.004186/0.5163, allocations: 4.837 MB / 0.5567 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003878/0.5202, allocations: 1.35 MB / 0.5581 GB, free: 13.63 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002489/0.5227, allocations: 0.9868 MB / 0.559 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1582/0.6809, allocations: 76.33 MB / 0.6336 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/0.681, allocations: 41.14 kB / 0.6336 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.315e-06/0.681, allocations: 0 / 0.6336 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.02308/0.7041, allocations: 5.852 MB / 0.6393 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.7042, allocations: 59.41 kB / 0.6394 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/0.7044, allocations: 157.6 kB / 0.6395 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002159/0.7046, allocations: 33.7 kB / 0.6395 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.7048, allocations: 148.6 kB / 0.6397 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003064/0.7051, allocations: 140.2 kB / 0.6398 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005696/0.7057, allocations: 225.8 kB / 0.64 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001846/0.7059, allocations: 330.8 kB / 0.6404 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003854/0.7098, allocations: 1.123 MB / 0.6415 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00383/0.7136, allocations: 1.197 MB / 0.6426 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007101/0.7207, allocations: 1.98 MB / 0.6446 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.7208, allocations: 0 / 0.6446 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00804/0.7288, allocations: 2.335 MB / 0.6468 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.7289, allocations: 11.94 kB / 0.6468 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.7289, allocations: 0 / 0.6468 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.7289, allocations: 8.312 kB / 0.6469 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002662/0.7316, allocations: 497.4 kB / 0.6473 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.788e-05/0.7316, allocations: 7.094 kB / 0.6473 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/0.7335, allocations: 255.6 kB / 0.6476 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002437/0.7338, allocations: 82.98 kB / 0.6477 GB, free: 15.78 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.0004928/0.7343, allocations: 180.3 kB / 0.6478 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003136/0.7346, allocations: 19.81 kB / 0.6478 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01155/0.7462, allocations: 7.102 MB / 0.6548 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01022/0.7564, allocations: 6.575 MB / 0.6612 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.501e-05/0.7565, allocations: 0 / 0.6612 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-05/0.7565, allocations: 3.984 kB / 0.6612 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01442/0.7709, allocations: 10.46 MB / 0.6714 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.771, allocations: 0 / 0.6714 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002476/0.7734, allocations: 500 kB / 0.6719 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.612e-05/0.7735, allocations: 0 / 0.6719 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001779/0.7737, allocations: 47.91 kB / 0.6719 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.237e-06/0.7737, allocations: 4 kB / 0.6719 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.7737, allocations: 3.938 kB / 0.672 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0113/0.785, allocations: 4.499 MB / 0.6763 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005295/0.7856, allocations: 283.8 kB / 0.6766 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/0.7857, allocations: 16 kB / 0.6766 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001721/0.7875, allocations: 267 kB / 0.6769 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002183/0.7877, allocations: 76.78 kB / 0.677 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/0.7879, allocations: 51.91 kB / 0.677 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.263e-05/0.788, allocations: 115.1 kB / 0.6771 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.788, allocations: 0 / 0.6771 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004379/0.7924, allocations: 0.9723 MB / 0.6781 GB, free: 280 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.006836/0.7992, allocations: 0.9821 MB / 0.679 GB, free: 15.38 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008199/0.8074, allocations: 2.644 MB / 0.6816 GB, free: 12.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.8075, allocations: 0 / 0.6816 GB, free: 12.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003892/0.8114, allocations: 1.543 MB / 0.6831 GB, free: 11.22 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009539/0.8123, allocations: 103.5 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.005082/0.8174, allocations: 2.181 MB / 0.6853 GB, free: 8.914 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/0.8179, allocations: 0.9281 MB / 0.6863 GB, free: 7.961 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001017/0.8189, allocations: 179.1 kB / 0.6864 GB, free: 7.785 MB / 0.545 GB Notification: Performance of SimCode: time 7.31e-07/0.8189, allocations: 0 / 0.6864 GB, free: 7.785 MB / 0.545 GB Notification: Performance of Templates: time 0.04237/0.8613, allocations: 28.35 MB / 0.7141 GB, free: 11.47 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)