Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph.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.TestFlowDependentHeatTransferCoefficient2ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph") translateModel(ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 111.1 kB / 17.68 MB, free: 5.355 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.001244/0.001245, allocations: 192 kB / 18.62 MB, free: 4.434 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.236/1.236, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2504/0.2504, allocations: 48.85 MB / 320.7 MB, free: 11.03 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.001461/0.001461, allocations: 71.53 kB / 391.5 MB, free: 48.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0763/0.07777, allocations: 59.16 MB / 450.7 MB, free: 9.035 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph): time 0.01945/0.09724, allocations: 19.03 MB / 469.7 MB, free: 5.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009047/0.1063, allocations: 8.717 MB / 478.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.417e-05/0.1064, allocations: 4 kB / 478.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003529/0.1068, allocations: 123.3 kB / 478.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002301/0.1071, allocations: 143.1 kB / 478.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007203/0.1143, allocations: 3.61 MB / 482.3 MB, free: 9.289 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001486/0.1158, allocations: 1.786 MB / 484.1 MB, free: 7.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.116, allocations: 113.3 kB / 484.2 MB, free: 7.387 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000484/0.1165, allocations: 0.5654 MB / 484.8 MB, free: 6.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008841/0.1173, allocations: 0.717 MB / 485.5 MB, free: 6.102 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001639/0.1175, allocations: 128 kB / 485.6 MB, free: 5.977 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009232/0.1268, allocations: 6.201 MB / 491.8 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000366/0.1271, allocations: 415.1 kB / 492.2 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005364/0.1277, allocations: 0.5138 MB / 492.7 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005222/0.1329, allocations: 4.495 MB / 497.2 MB, free: 10.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1329, allocations: 4 kB / 497.2 MB, free: 10.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1329, allocations: 0 / 497.2 MB, free: 10.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.133, allocations: 0 / 497.2 MB, free: 10.34 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.007678/0.1406, allocations: 2.336 MB / 499.6 MB, free: 7.953 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1407, allocations: 11.89 kB / 499.6 MB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006951/0.1414, allocations: 152.1 kB / 499.7 MB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000931/0.1423, allocations: 0.5103 MB / 0.4885 GB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008374/0.1432, allocations: 449.5 kB / 0.4889 GB, free: 6.773 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002147/0.1434, allocations: 63.98 kB / 0.489 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00748/0.1509, allocations: 3.105 MB / 0.492 GB, free: 3.555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.1509, allocations: 0 / 0.492 GB, free: 3.555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/0.1511, allocations: 23.94 kB / 0.4921 GB, free: 3.531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.632e-05/0.1511, allocations: 53.28 kB / 0.4921 GB, free: 3.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01298/0.1641, allocations: 4.824 MB / 0.4968 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01378/0.1779, allocations: 9.908 MB / 0.5065 GB, free: 4.266 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006617/0.1845, allocations: 2.405 MB / 0.5088 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005613/0.1902, allocations: 2.071 MB / 0.5109 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2123/0.4025, allocations: 34.75 MB / 0.5448 GB, free: 69.58 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.4026, allocations: 41.59 kB / 0.5448 GB, free: 69.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=59): time 2.755e-06/0.4026, allocations: 0 / 0.5448 GB, free: 69.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=59): time 0.01716/0.4198, allocations: 5.894 MB / 0.5506 GB, free: 68.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.4198, allocations: 62.22 kB / 0.5507 GB, free: 68.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.42, allocations: 255.5 kB / 0.5509 GB, free: 68.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001357/0.4202, allocations: 35.86 kB / 0.5509 GB, free: 68.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.4203, allocations: 238.5 kB / 0.5512 GB, free: 68.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/0.4205, allocations: 200.2 kB / 0.5514 GB, free: 67.99 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005292/0.421, allocations: 221.4 kB / 0.5516 GB, free: 67.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.08e-05/0.4211, allocations: 345.2 kB / 0.5519 GB, free: 67.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005337/0.4264, allocations: 1.991 MB / 0.5538 GB, free: 66.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005136/0.4316, allocations: 2.093 MB / 0.5559 GB, free: 65.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008857/0.4405, allocations: 3.063 MB / 0.5589 GB, free: 64.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.4405, allocations: 3.812 kB / 0.5589 GB, free: 64.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.01011/0.4506, allocations: 3.744 MB / 0.5625 GB, free: 61.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.4506, allocations: 4 kB / 0.5625 GB, free: 61.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.4506, allocations: 4 kB / 0.5625 GB, free: 61.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.4507, allocations: 8 kB / 0.5626 GB, free: 61.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002917/0.4536, allocations: 0.7487 MB / 0.5633 GB, free: 60.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.4536, allocations: 6.906 kB / 0.5633 GB, free: 60.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002368/0.456, allocations: 0.5897 MB / 0.5639 GB, free: 59.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000185/0.4562, allocations: 76.83 kB / 0.5639 GB, free: 59.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005058/0.4612, allocations: 2.163 MB / 0.5661 GB, free: 57.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00489/0.4661, allocations: 2.091 MB / 0.5681 GB, free: 55.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008551/0.4747, allocations: 3.066 MB / 0.5711 GB, free: 52.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.775e-06/0.4747, allocations: 0 / 0.5711 GB, free: 52.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.009893/0.4846, allocations: 3.74 MB / 0.5747 GB, free: 48.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.847e-06/0.4846, allocations: 4 kB / 0.5747 GB, free: 48.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.4846, allocations: 4 kB / 0.5747 GB, free: 48.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.333e-06/0.4847, allocations: 11.98 kB / 0.5748 GB, free: 48.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002907/0.4876, allocations: 0.7469 MB / 0.5755 GB, free: 47.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.4876, allocations: 11.09 kB / 0.5755 GB, free: 47.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002382/0.49, allocations: 0.5809 MB / 0.5761 GB, free: 47.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001812/0.4902, allocations: 72.5 kB / 0.5761 GB, free: 47.14 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (fluidState[6].phase,fluidState[5].phase,fluidState[4].phase,fluidState[3].phase,fluidState[2].phase,fluidState[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.0003152/0.4905, allocations: 225.7 kB / 0.5763 GB, free: 46.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002348/0.4907, allocations: 31.62 kB / 0.5764 GB, free: 46.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01094/0.5017, allocations: 5.327 MB / 0.5816 GB, free: 41.56 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01029/0.512, allocations: 4.921 MB / 0.5864 GB, free: 36.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.512, allocations: 0 / 0.5864 GB, free: 36.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.512, allocations: 7.984 kB / 0.5864 GB, free: 36.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01453/0.5265, allocations: 7.654 MB / 0.5939 GB, free: 28.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.5266, allocations: 1.5 kB / 0.5939 GB, free: 28.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002852/0.5294, allocations: 0.7365 MB / 0.5946 GB, free: 28.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.862e-06/0.5294, allocations: 4 kB / 0.5946 GB, free: 28.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001627/0.5296, allocations: 67.84 kB / 0.5947 GB, free: 28.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.339e-06/0.5296, allocations: 3.938 kB / 0.5947 GB, free: 28.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5296, allocations: 4 kB / 0.5947 GB, free: 28.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01027/0.5399, allocations: 4.315 MB / 0.5989 GB, free: 23.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.94e-05/0.54, allocations: 163.8 kB / 0.599 GB, free: 23.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001996/0.5402, allocations: 14.3 kB / 0.5991 GB, free: 23.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002345/0.5425, allocations: 0.5603 MB / 0.5996 GB, free: 23.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002359/0.5428, allocations: 108.3 kB / 0.5997 GB, free: 22.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000171/0.543, allocations: 67.84 kB / 0.5998 GB, free: 22.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001244/0.5431, allocations: 190 kB / 0.5999 GB, free: 22.69 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5431, allocations: 0 / 0.5999 GB, free: 22.69 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002713/0.5458, allocations: 1.316 MB / 0.6012 GB, free: 21.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.003201/0.549, allocations: 0.9711 MB / 0.6022 GB, free: 20.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01568/0.5647, allocations: 6.62 MB / 0.6086 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5647, allocations: 0 / 0.6086 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005311/0.5701, allocations: 2.421 MB / 0.611 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.5713, allocations: 240.3 kB / 0.6112 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008322/0.5796, allocations: 3.97 MB / 0.6151 GB, free: 7.355 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.58, allocations: 1.046 MB / 0.6161 GB, free: 6.281 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001989/0.582, allocations: 0.893 MB / 0.617 GB, free: 5.395 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009874/0.583, allocations: 171 kB / 0.6172 GB, free: 5.227 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.583, allocations: 0 / 0.6172 GB, free: 5.227 MB / 414.1 MB Notification: Performance of Templates: time 0.06205/0.645, allocations: 51.79 MB / 0.6677 GB, free: 1.352 MB / 462.1 MB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph.pipe 2>&1)