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.00154/0.00154, allocations: 113.1 kB / 17.06 MB, free: 6 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.001788/0.001788, allocations: 200 kB / 18 MB, free: 5.078 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.285/1.285, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.277/0.277, allocations: 48.83 MB / 320.1 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.001429/0.001429, allocations: 71.89 kB / 450.6 MB, free: 8.492 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08942/0.09086, allocations: 59.16 MB / 0.4978 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph): time 0.01909/0.11, allocations: 19.03 MB / 0.5164 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009278/0.1193, allocations: 8.721 MB / 0.5249 GB, free: 1.34 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.1194, allocations: 3.938 kB / 0.5249 GB, free: 1.336 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004271/0.1199, allocations: 123.3 kB / 0.525 GB, free: 1.215 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002589/0.1202, allocations: 151.2 kB / 0.5252 GB, free: 1.066 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1978/0.318, allocations: 3.594 MB / 0.5287 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001516/0.3196, allocations: 1.781 MB / 0.5304 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.3198, allocations: 109.5 kB / 0.5305 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007764/0.3205, allocations: 0.5681 MB / 0.5311 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/0.3217, allocations: 0.7104 MB / 0.5318 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001897/0.3219, allocations: 130.3 kB / 0.5319 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01048/0.3324, allocations: 6.196 MB / 0.5379 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004764/0.3329, allocations: 422.2 kB / 0.5383 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006819/0.3336, allocations: 0.5034 MB / 0.5388 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00615/0.3397, allocations: 4.497 MB / 0.5432 GB, free: 11.06 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3397, allocations: 0 / 0.5432 GB, free: 11.06 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3397, allocations: 4.688 kB / 0.5432 GB, free: 11.06 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.3398, allocations: 1.312 kB / 0.5432 GB, free: 11.06 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.008097/0.3479, allocations: 2.349 MB / 0.5455 GB, free: 9.723 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.3479, allocations: 12.55 kB / 0.5455 GB, free: 9.719 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007057/0.3486, allocations: 149.2 kB / 0.5457 GB, free: 9.656 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006825/0.3493, allocations: 0.5013 MB / 0.5462 GB, free: 9.266 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00082/0.3501, allocations: 455.1 kB / 0.5466 GB, free: 8.977 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000219/0.3504, allocations: 63.75 kB / 0.5467 GB, free: 8.953 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007394/0.3578, allocations: 3.101 MB / 0.5497 GB, free: 7.234 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.3578, allocations: 9.281 kB / 0.5497 GB, free: 7.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001631/0.358, allocations: 23.06 kB / 0.5497 GB, free: 7.215 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.728e-05/0.358, allocations: 50 kB / 0.5498 GB, free: 7.203 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01305/0.3711, allocations: 4.824 MB / 0.5545 GB, free: 4.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01234/0.3834, allocations: 9.902 MB / 0.5641 GB, free: 12.9 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006868/0.3903, allocations: 2.408 MB / 0.5665 GB, free: 11.78 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005849/0.3962, allocations: 2.073 MB / 0.5685 GB, free: 10.81 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06837/0.4646, allocations: 34.77 MB / 0.6025 GB, free: 4.512 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.812e-05/0.4646, allocations: 43.12 kB / 0.6025 GB, free: 4.461 MB / 462.1 MB Notification: Performance of pre-optimization done (n=59): time 2.395e-06/0.4647, allocations: 0 / 0.6025 GB, free: 4.461 MB / 462.1 MB Notification: Performance of matching and sorting (n=59): time 0.01959/0.4842, allocations: 5.895 MB / 0.6083 GB, free: 14.56 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.4843, allocations: 55.97 kB / 0.6083 GB, free: 14.49 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/0.4846, allocations: 252.9 kB / 0.6086 GB, free: 14.23 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001422/0.4847, allocations: 37.7 kB / 0.6086 GB, free: 14.19 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.4849, allocations: 239.9 kB / 0.6088 GB, free: 13.95 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002527/0.4851, allocations: 208.4 kB / 0.609 GB, free: 13.75 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005451/0.4857, allocations: 217.9 kB / 0.6092 GB, free: 13.53 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.4858, allocations: 350.8 kB / 0.6096 GB, free: 13.18 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006067/0.4919, allocations: 1.989 MB / 0.6115 GB, free: 11.18 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006207/0.4981, allocations: 2.093 MB / 0.6136 GB, free: 9.055 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01063/0.5088, allocations: 3.066 MB / 0.6166 GB, free: 5.961 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.5088, allocations: 0 / 0.6166 GB, free: 5.961 MB / 478.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.01233/0.5211, allocations: 3.751 MB / 0.6202 GB, free: 2.215 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.5211, allocations: 7.906 kB / 0.6202 GB, free: 2.207 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.5212, allocations: 8.266 kB / 0.6202 GB, free: 2.203 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.5212, allocations: 8 kB / 0.6202 GB, free: 2.195 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003391/0.5246, allocations: 0.7475 MB / 0.621 GB, free: 1.453 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.5246, allocations: 8.188 kB / 0.621 GB, free: 1.449 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002745/0.5274, allocations: 0.5895 MB / 0.6215 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002025/0.5276, allocations: 71.84 kB / 0.6216 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006273/0.5339, allocations: 2.165 MB / 0.6237 GB, free: 14.62 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006149/0.54, allocations: 2.093 MB / 0.6258 GB, free: 12.49 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01065/0.5507, allocations: 3.067 MB / 0.6288 GB, free: 9.387 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.417e-06/0.5507, allocations: 0 / 0.6288 GB, free: 9.387 MB / 494.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.01226/0.563, allocations: 3.736 MB / 0.6324 GB, free: 5.656 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.563, allocations: 4 kB / 0.6324 GB, free: 5.652 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.563, allocations: 7.984 kB / 0.6324 GB, free: 5.645 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/0.563, allocations: 8 kB / 0.6324 GB, free: 5.637 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003321/0.5663, allocations: 0.7498 MB / 0.6332 GB, free: 4.895 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.5664, allocations: 8 kB / 0.6332 GB, free: 4.887 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002714/0.5691, allocations: 0.5848 MB / 0.6337 GB, free: 4.305 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001928/0.5693, allocations: 67.84 kB / 0.6338 GB, free: 4.238 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.0004475/0.5697, allocations: 224.7 kB / 0.634 GB, free: 4.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002579/0.57, allocations: 35.53 kB / 0.6341 GB, free: 3.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01375/0.5838, allocations: 5.322 MB / 0.6393 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01296/0.5967, allocations: 4.923 MB / 0.6441 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.5968, allocations: 0 / 0.6441 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.5968, allocations: 7.984 kB / 0.6441 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0181/0.6149, allocations: 7.644 MB / 0.6515 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/0.6149, allocations: 5.531 kB / 0.6515 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003306/0.6182, allocations: 0.7339 MB / 0.6523 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.909e-06/0.6183, allocations: 4 kB / 0.6523 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001883/0.6184, allocations: 63.84 kB / 0.6523 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.6185, allocations: 4 kB / 0.6523 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.6185, allocations: 8.781 kB / 0.6523 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01248/0.631, allocations: 4.312 MB / 0.6565 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001811/0.6312, allocations: 159.9 kB / 0.6567 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002208/0.6314, allocations: 19.84 kB / 0.6567 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002733/0.6341, allocations: 0.5539 MB / 0.6573 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002987/0.6344, allocations: 117.6 kB / 0.6574 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001868/0.6346, allocations: 67.84 kB / 0.6574 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001908/0.6348, allocations: 190 kB / 0.6576 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6348, allocations: 0 / 0.6576 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004415/0.6393, allocations: 1.315 MB / 0.6589 GB, free: 10.43 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.003966/0.6432, allocations: 0.9769 MB / 0.6599 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01949/0.6627, allocations: 6.621 MB / 0.6663 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6628, allocations: 0 / 0.6663 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006623/0.6694, allocations: 2.421 MB / 0.6687 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/0.6708, allocations: 249.5 kB / 0.6689 GB, free: 312 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/0.6813, allocations: 3.961 MB / 0.6728 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000569/0.6819, allocations: 1.045 MB / 0.6738 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00252/0.6844, allocations: 0.8833 MB / 0.6747 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001031/0.6855, allocations: 175 kB / 0.6748 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of SimCode: time 6.61e-07/0.6855, allocations: 0 / 0.6748 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of Templates: time 0.06319/0.7487, allocations: 51.97 MB / 0.7256 GB, free: 6.168 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)