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.001473/0.001473, allocations: 114.1 kB / 17.06 MB, free: 6.016 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.001653/0.001653, allocations: 191 kB / 18 MB, free: 5.098 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.273/1.273, allocations: 205.1 MB / 223.9 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2544/0.2544, allocations: 48.85 MB / 320.1 MB, free: 11.02 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.001365/0.001365, allocations: 64.12 kB / 450.6 MB, free: 8.512 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09756/0.09894, allocations: 59.16 MB / 0.4978 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph): time 0.01932/0.1183, allocations: 19.04 MB / 0.5164 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009287/0.1276, allocations: 8.717 MB / 0.5249 GB, free: 1.359 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.1278, allocations: 0 / 0.5249 GB, free: 1.359 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003705/0.1281, allocations: 131.2 kB / 0.525 GB, free: 1.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002424/0.1284, allocations: 147.1 kB / 0.5252 GB, free: 1.086 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2011/0.3296, allocations: 3.594 MB / 0.5287 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00157/0.3311, allocations: 1.788 MB / 0.5304 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001851/0.3313, allocations: 101.2 kB / 0.5305 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005663/0.3319, allocations: 0.564 MB / 0.5311 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.3329, allocations: 0.7156 MB / 0.5318 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002031/0.3331, allocations: 129.2 kB / 0.5319 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01128/0.3444, allocations: 6.192 MB / 0.5379 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006077/0.3451, allocations: 423.8 kB / 0.5383 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007975/0.3459, allocations: 0.5081 MB / 0.5388 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008697/0.3546, allocations: 4.5 MB / 0.5432 GB, free: 10.7 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.3546, allocations: 4.688 kB / 0.5432 GB, free: 10.69 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3546, allocations: 0 / 0.5432 GB, free: 10.69 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.3546, allocations: 2.156 kB / 0.5432 GB, free: 10.69 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.009571/0.3642, allocations: 2.375 MB / 0.5455 GB, free: 9.402 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.3643, allocations: 16.27 kB / 0.5456 GB, free: 9.398 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007453/0.365, allocations: 157.3 kB / 0.5457 GB, free: 9.328 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000729/0.3657, allocations: 0.5093 MB / 0.5462 GB, free: 8.934 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008456/0.3666, allocations: 458.5 kB / 0.5466 GB, free: 8.641 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002062/0.3668, allocations: 53.56 kB / 0.5467 GB, free: 8.625 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007597/0.3744, allocations: 3.103 MB / 0.5497 GB, free: 6.902 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.3745, allocations: 1.156 kB / 0.5497 GB, free: 6.902 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001698/0.3746, allocations: 29.88 kB / 0.5498 GB, free: 6.883 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.988e-05/0.3747, allocations: 48.31 kB / 0.5498 GB, free: 6.875 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01343/0.3881, allocations: 4.823 MB / 0.5545 GB, free: 4.602 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01297/0.4011, allocations: 9.913 MB / 0.5642 GB, free: 12.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007091/0.4082, allocations: 2.413 MB / 0.5665 GB, free: 11.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00613/0.4144, allocations: 2.071 MB / 0.5686 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07055/0.485, allocations: 34.78 MB / 0.6025 GB, free: 4.246 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.485, allocations: 39.12 kB / 0.6026 GB, free: 4.199 MB / 462.1 MB Notification: Performance of pre-optimization done (n=59): time 2.795e-06/0.485, allocations: 0 / 0.6026 GB, free: 4.199 MB / 462.1 MB Notification: Performance of matching and sorting (n=59): time 0.01997/0.505, allocations: 5.902 MB / 0.6083 GB, free: 14.29 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.5051, allocations: 55.97 kB / 0.6084 GB, free: 14.22 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003489/0.5055, allocations: 253 kB / 0.6086 GB, free: 13.96 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000163/0.5056, allocations: 37.55 kB / 0.6087 GB, free: 13.93 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.5058, allocations: 251.9 kB / 0.6089 GB, free: 13.68 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003343/0.5062, allocations: 209.3 kB / 0.6091 GB, free: 13.47 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006049/0.5068, allocations: 221.9 kB / 0.6093 GB, free: 13.25 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.507, allocations: 338.8 kB / 0.6096 GB, free: 12.91 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006261/0.5132, allocations: 1.997 MB / 0.6116 GB, free: 10.91 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006193/0.5194, allocations: 2.088 MB / 0.6136 GB, free: 8.781 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01091/0.5304, allocations: 3.068 MB / 0.6166 GB, free: 5.688 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.395e-06/0.5304, allocations: 4 kB / 0.6166 GB, free: 5.684 MB / 478.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.01245/0.5428, allocations: 3.741 MB / 0.6203 GB, free: 1.945 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.5429, allocations: 8 kB / 0.6203 GB, free: 1.938 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.5429, allocations: 4 kB / 0.6203 GB, free: 1.934 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.5429, allocations: 4.219 kB / 0.6203 GB, free: 1.93 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003451/0.5464, allocations: 0.7532 MB / 0.621 GB, free: 1.184 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/0.5464, allocations: 11.19 kB / 0.621 GB, free: 1.176 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002882/0.5493, allocations: 0.5887 MB / 0.6216 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002151/0.5496, allocations: 79.77 kB / 0.6217 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006425/0.556, allocations: 2.161 MB / 0.6238 GB, free: 14.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006182/0.5622, allocations: 2.09 MB / 0.6258 GB, free: 12.21 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0107/0.5729, allocations: 3.063 MB / 0.6288 GB, free: 9.113 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.911e-06/0.5729, allocations: 4 kB / 0.6288 GB, free: 9.109 MB / 494.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.0124/0.5853, allocations: 3.739 MB / 0.6325 GB, free: 5.379 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.5854, allocations: 10.62 kB / 0.6325 GB, free: 5.371 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.5854, allocations: 0 / 0.6325 GB, free: 5.371 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.857e-06/0.5854, allocations: 8.219 kB / 0.6325 GB, free: 5.363 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003345/0.5888, allocations: 0.7518 MB / 0.6332 GB, free: 4.617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.5888, allocations: 15.08 kB / 0.6333 GB, free: 4.605 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002868/0.5917, allocations: 0.581 MB / 0.6338 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002262/0.5919, allocations: 71.84 kB / 0.6339 GB, free: 3.953 MB / 494.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.0004696/0.5924, allocations: 206.5 kB / 0.6341 GB, free: 3.75 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003132/0.5927, allocations: 39.75 kB / 0.6341 GB, free: 3.711 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01403/0.6068, allocations: 5.335 MB / 0.6393 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01295/0.6197, allocations: 4.919 MB / 0.6441 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.974e-06/0.6198, allocations: 0 / 0.6441 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.6198, allocations: 7.922 kB / 0.6442 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01832/0.6381, allocations: 7.646 MB / 0.6516 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.6381, allocations: 0 / 0.6516 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003362/0.6415, allocations: 0.7341 MB / 0.6523 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-05/0.6415, allocations: 7.984 kB / 0.6523 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001867/0.6417, allocations: 67.84 kB / 0.6524 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.253e-06/0.6417, allocations: 4 kB / 0.6524 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.6417, allocations: 0 / 0.6524 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01288/0.6546, allocations: 4.323 MB / 0.6566 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002194/0.6549, allocations: 172.2 kB / 0.6568 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000261/0.6552, allocations: 12 kB / 0.6568 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002842/0.658, allocations: 0.5539 MB / 0.6573 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000321/0.6583, allocations: 110.9 kB / 0.6575 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000218/0.6586, allocations: 71.78 kB / 0.6575 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002325/0.6588, allocations: 190 kB / 0.6577 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6588, allocations: 0 / 0.6577 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005247/0.6641, allocations: 1.33 MB / 0.659 GB, free: 10.13 MB / 0.5137 GB 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.006264/0.6704, allocations: 0.9828 MB / 0.66 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01988/0.6902, allocations: 6.621 MB / 0.6664 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.6903, allocations: 0 / 0.6664 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006935/0.6972, allocations: 2.43 MB / 0.6688 GB, free: 224 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/0.6988, allocations: 237.1 kB / 0.669 GB, free: 0 / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/0.7099, allocations: 3.986 MB / 0.6729 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006759/0.7106, allocations: 1.045 MB / 0.6739 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002791/0.7134, allocations: 0.8869 MB / 0.6748 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001052/0.7144, allocations: 171.1 kB / 0.675 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of SimCode: time 6.81e-07/0.7145, allocations: 0 / 0.675 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of Templates: time 0.07133/0.7858, allocations: 51.98 MB / 0.7257 GB, free: 5.832 MB / 0.5762 GB 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 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph.pipe 2>&1)