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.001451/0.001451, allocations: 109.2 kB / 17.74 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.001558/0.001558, allocations: 184.3 kB / 18.68 MB, free: 4.383 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.343/1.343, allocations: 205.1 MB / 224.6 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.2572/0.2572, allocations: 48.85 MB / 320.8 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.001508/0.001508, allocations: 75.88 kB / 451.3 MB, free: 8.434 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1176, 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.01971/0.1374, allocations: 15.65 MB / 0.5138 GB, free: 13.43 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2468/0.3842, allocations: 13.79 MB / 0.5273 GB, free: 7.059 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001933/0.3844, allocations: 3.469 kB / 0.5273 GB, free: 7.059 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004591/0.3849, allocations: 133.9 kB / 0.5274 GB, free: 7.059 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005491/0.3855, allocations: 256.1 kB / 0.5276 GB, free: 7.059 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01274/0.3983, allocations: 5.5 MB / 0.533 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00129/0.3996, allocations: 1.035 MB / 0.534 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.656e-05/0.3996, allocations: 29.55 kB / 0.534 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007163/0.4004, allocations: 0.4999 MB / 0.5345 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006438/0.401, allocations: 457.6 kB / 0.535 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.4011, allocations: 43.19 kB / 0.535 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01283/0.414, allocations: 6.359 MB / 0.5412 GB, free: 6.969 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002568/0.4143, allocations: 184.3 kB / 0.5414 GB, free: 6.969 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004579/0.4147, allocations: 243.8 kB / 0.5416 GB, free: 6.969 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008941/0.4237, allocations: 3.935 MB / 0.5455 GB, free: 6.316 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4237, allocations: 1.094 kB / 0.5455 GB, free: 6.316 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4237, allocations: 2.812 kB / 0.5455 GB, free: 6.316 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.4237, allocations: 0 / 0.5455 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.00653/0.4303, allocations: 1.527 MB / 0.547 GB, free: 5.402 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.4303, allocations: 9.438 kB / 0.547 GB, free: 5.402 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001462/0.4318, allocations: 159.4 kB / 0.5471 GB, free: 5.348 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004734/0.4323, allocations: 346.6 kB / 0.5475 GB, free: 5.082 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002937/0.4326, allocations: 128.1 kB / 0.5476 GB, free: 5.023 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.4327, allocations: 32.34 kB / 0.5476 GB, free: 5.023 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004391/0.4371, allocations: 1.887 MB / 0.5495 GB, free: 4.309 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.4372, allocations: 1.062 kB / 0.5495 GB, free: 4.309 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.129e-05/0.4373, allocations: 15 kB / 0.5495 GB, free: 4.309 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.534e-05/0.4373, allocations: 14.72 kB / 0.5495 GB, free: 4.309 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006477/0.4438, allocations: 2.655 MB / 0.5521 GB, free: 3.055 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.003717/0.4475, allocations: 4.827 MB / 0.5568 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003823/0.4513, allocations: 1.357 MB / 0.5581 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002487/0.4538, allocations: 0.9832 MB / 0.5591 GB, free: 13.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.154/0.6078, allocations: 76.33 MB / 0.6336 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.485e-05/0.6079, allocations: 38.08 kB / 0.6337 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 3.848e-06/0.608, allocations: 0 / 0.6337 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.02292/0.6309, allocations: 5.866 MB / 0.6394 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.6309, allocations: 55.41 kB / 0.6394 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.6311, allocations: 153.7 kB / 0.6396 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001245/0.6312, allocations: 36.8 kB / 0.6396 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.4e-05/0.6313, allocations: 144.9 kB / 0.6398 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000221/0.6316, allocations: 157.5 kB / 0.6399 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004881/0.6321, allocations: 221.8 kB / 0.6401 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.6322, allocations: 330.8 kB / 0.6404 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003558/0.6358, allocations: 1.117 MB / 0.6415 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00364/0.6394, allocations: 1.216 MB / 0.6427 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006712/0.6461, allocations: 1.965 MB / 0.6446 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.6462, allocations: 0 / 0.6446 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.007752/0.6539, allocations: 2.335 MB / 0.6469 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.6539, allocations: 7.938 kB / 0.6469 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.654, allocations: 4.312 kB / 0.6469 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.654, allocations: 10.91 kB / 0.6469 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002606/0.6566, allocations: 492.5 kB / 0.6474 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.029e-05/0.6566, allocations: 11.98 kB / 0.6474 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/0.6585, allocations: 250.8 kB / 0.6477 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001927/0.6587, allocations: 83.86 kB / 0.6477 GB, free: 15.71 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.0004051/0.6591, allocations: 180.3 kB / 0.6479 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002478/0.6594, allocations: 25.88 kB / 0.6479 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01126/0.6706, allocations: 7.107 MB / 0.6549 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.6707, allocations: 7.984 kB / 0.6549 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.6707, allocations: 0 / 0.6549 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004611/0.6711, allocations: 276.1 kB / 0.6551 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/0.6713, allocations: 16 kB / 0.6552 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001976/0.6733, allocations: 319.5 kB / 0.6555 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002124/0.6735, allocations: 80.77 kB / 0.6555 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008671/0.6822, allocations: 3.124 MB / 0.6586 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01102/0.6932, allocations: 4.552 MB / 0.663 GB, free: 8 kB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00344/0.6967, allocations: 1.48 MB / 0.6645 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.402e-05/0.6968, allocations: 115.2 kB / 0.6646 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of Backend: time 3.5e-07/0.6968, allocations: 2.906 kB / 0.6646 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01133/0.7081, allocations: 2.522 MB / 0.6671 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of SimCode: time 0.001798/0.7099, allocations: 1.428 MB / 0.6685 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of Templates: time 0.0782/0.7882, allocations: 52.82 MB / 0.72 GB, free: 5.812 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)