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.001561/0.001561, allocations: 112.7 kB / 17.74 MB, free: 5.176 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.001747/0.001747, allocations: 191 kB / 18.67 MB, free: 4.262 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.283/1.283, 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.2564/0.2564, allocations: 48.84 MB / 320.7 MB, free: 11.01 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.001505/0.001505, allocations: 71.83 kB / 451.3 MB, free: 8.438 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09536/0.09687, allocations: 59.16 MB / 0.4985 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.CheckFlow1DFV2phMassBalance): time 0.01777/0.1147, allocations: 15.64 MB / 0.5138 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2292/0.3439, allocations: 13.8 MB / 0.5273 GB, free: 7.012 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002235/0.3442, allocations: 2.594 kB / 0.5273 GB, free: 7.012 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004615/0.3446, allocations: 133.2 kB / 0.5274 GB, free: 7.012 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005782/0.3453, allocations: 254.9 kB / 0.5276 GB, free: 7.012 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01363/0.3589, allocations: 5.492 MB / 0.533 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001439/0.3604, allocations: 1.028 MB / 0.534 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.64e-05/0.3605, allocations: 33.2 kB / 0.534 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008399/0.3613, allocations: 0.5034 MB / 0.5345 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007334/0.362, allocations: 454.6 kB / 0.535 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.3622, allocations: 42.31 kB / 0.535 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01297/0.3752, allocations: 6.359 MB / 0.5412 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002791/0.3755, allocations: 182 kB / 0.5414 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005268/0.376, allocations: 246.1 kB / 0.5416 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0103/0.3863, allocations: 3.923 MB / 0.5455 GB, free: 6.301 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3863, allocations: 1.25 kB / 0.5455 GB, free: 6.301 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3864, allocations: 3.844 kB / 0.5455 GB, free: 6.301 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.3864, allocations: 0 / 0.5455 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.006211/0.3926, allocations: 1.503 MB / 0.5469 GB, free: 5.414 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.3927, allocations: 11.78 kB / 0.5469 GB, free: 5.414 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001509/0.3942, allocations: 160.8 kB / 0.5471 GB, free: 5.359 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005117/0.3947, allocations: 339 kB / 0.5474 GB, free: 5.102 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003254/0.395, allocations: 126.4 kB / 0.5475 GB, free: 5.043 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.3952, allocations: 36.47 kB / 0.5476 GB, free: 5.039 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004471/0.3997, allocations: 1.884 MB / 0.5494 GB, free: 4.324 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.3997, allocations: 0 / 0.5494 GB, free: 4.324 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.3998, allocations: 16.78 kB / 0.5494 GB, free: 4.324 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.83e-05/0.3998, allocations: 16.38 kB / 0.5494 GB, free: 4.324 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006655/0.4065, allocations: 2.652 MB / 0.552 GB, free: 3.113 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.004203/0.4107, allocations: 4.831 MB / 0.5567 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004089/0.4148, allocations: 1.355 MB / 0.5581 GB, free: 13.63 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002643/0.4175, allocations: 0.9818 MB / 0.559 GB, free: 13.15 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1569/0.5744, allocations: 76.33 MB / 0.6336 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.5745, allocations: 42.31 kB / 0.6336 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.876e-06/0.5745, allocations: 0 / 0.6336 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.02173/0.5962, allocations: 5.857 MB / 0.6393 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.5963, allocations: 55.41 kB / 0.6394 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.5965, allocations: 149.6 kB / 0.6395 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001518/0.5966, allocations: 37.7 kB / 0.6396 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.5968, allocations: 144.6 kB / 0.6397 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002065/0.597, allocations: 148.9 kB / 0.6398 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004714/0.5975, allocations: 223.4 kB / 0.64 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.5976, allocations: 330.8 kB / 0.6404 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003453/0.601, allocations: 1.117 MB / 0.6415 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003525/0.6046, allocations: 1.211 MB / 0.6426 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006469/0.6111, allocations: 1.97 MB / 0.6446 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.6111, allocations: 0 / 0.6446 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.007457/0.6185, allocations: 2.342 MB / 0.6468 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.6186, allocations: 7.938 kB / 0.6469 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.6186, allocations: 6.719 kB / 0.6469 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.6186, allocations: 4 kB / 0.6469 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002589/0.6212, allocations: 490.9 kB / 0.6473 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.708e-05/0.6212, allocations: 14.42 kB / 0.6473 GB, free: 104 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/0.6231, allocations: 247.6 kB / 0.6476 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001778/0.6233, allocations: 83.86 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.0004425/0.6237, allocations: 180.6 kB / 0.6478 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002619/0.624, allocations: 23.81 kB / 0.6479 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01117/0.6352, allocations: 7.106 MB / 0.6548 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.739e-05/0.6352, allocations: 3.984 kB / 0.6548 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.6352, allocations: 0 / 0.6548 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004972/0.6357, allocations: 279.8 kB / 0.6551 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/0.6359, allocations: 8 kB / 0.6551 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002017/0.638, allocations: 323.5 kB / 0.6554 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002032/0.6382, allocations: 72.78 kB / 0.6555 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008455/0.6466, allocations: 3.124 MB / 0.6585 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01073/0.6574, allocations: 4.554 MB / 0.663 GB, free: 88 kB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003383/0.6608, allocations: 1.48 MB / 0.6644 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.363e-05/0.6609, allocations: 111.2 kB / 0.6645 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of Backend: time 4.71e-07/0.6609, allocations: 0 / 0.6645 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01096/0.6719, allocations: 2.515 MB / 0.667 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of SimCode: time 0.001805/0.6737, allocations: 1.422 MB / 0.6684 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of Templates: time 0.07215/0.7459, allocations: 53.45 MB / 0.7206 GB, free: 5.297 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)