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.001166/0.001166, allocations: 90.56 kB / 16.31 MB, free: 6.008 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.00149/0.00149, allocations: 183 kB / 17.21 MB, free: 5.902 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.282/1.282, allocations: 205.4 MB / 223.4 MB, free: 5.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3789/0.3789, allocations: 48.77 MB / 320.4 MB, free: 3.816 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 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.0004704/0.0004704, allocations: 12 kB / 391.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1008, allocations: 60.26 MB / 451.4 MB, free: 1.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph): time 0.1796/0.2804, allocations: 17.63 MB / 469.1 MB, free: 40.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006596/0.2871, allocations: 8.106 MB / 477.2 MB, free: 34.76 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.2872, allocations: 3 kB / 477.2 MB, free: 34.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003242/0.2875, allocations: 101.6 kB / 477.3 MB, free: 34.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002298/0.2878, allocations: 161.9 kB / 477.4 MB, free: 34.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00693/0.2947, allocations: 2.757 MB / 480.2 MB, free: 33.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001428/0.2962, allocations: 1.657 MB / 481.8 MB, free: 32.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.2963, allocations: 85.58 kB / 481.9 MB, free: 32.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005243/0.2969, allocations: 0.4999 MB / 482.4 MB, free: 32.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/0.2979, allocations: 0.7048 MB / 483.1 MB, free: 32.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001727/0.2981, allocations: 70.47 kB / 483.2 MB, free: 32.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01304/0.3111, allocations: 5.889 MB / 489.1 MB, free: 31.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009413/0.3121, allocations: 369.9 kB / 489.5 MB, free: 31.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004292/0.3126, allocations: 161.3 kB / 489.6 MB, free: 30.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005623/0.3182, allocations: 3.038 MB / 492.6 MB, free: 29.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3182, allocations: 0.9375 kB / 492.6 MB, free: 29.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3182, allocations: 0 / 492.6 MB, free: 29.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.3182, allocations: 0 / 492.6 MB, free: 29.16 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.007464/0.3257, allocations: 2.378 MB / 495 MB, free: 27.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.3257, allocations: 9.969 kB / 495 MB, free: 27.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007504/0.3265, allocations: 152.2 kB / 495.2 MB, free: 27.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006751/0.3272, allocations: 0.5014 MB / 495.7 MB, free: 27.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008405/0.328, allocations: 0.5032 MB / 496.2 MB, free: 27.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001889/0.3282, allocations: 56.44 kB / 496.2 MB, free: 27.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007638/0.3359, allocations: 3.599 MB / 499.8 MB, free: 25.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/0.3359, allocations: 5.344 kB / 499.8 MB, free: 25.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001645/0.3361, allocations: 24.83 kB / 499.9 MB, free: 25.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.872e-05/0.3362, allocations: 50.92 kB / 499.9 MB, free: 25.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01334/0.3495, allocations: 5.812 MB / 0.4939 GB, free: 22.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0115/0.3611, allocations: 10.42 MB / 0.5041 GB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006099/0.3672, allocations: 2.909 MB / 0.5069 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00528/0.3725, allocations: 2.571 MB / 0.5094 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06215/0.4347, allocations: 34.97 MB / 0.5436 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.545e-05/0.4348, allocations: 43.12 kB / 0.5436 GB, free: 15.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=59): time 2.985e-06/0.4348, allocations: 0 / 0.5436 GB, free: 15.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=59): time 0.01999/0.4548, allocations: 7.375 MB / 0.5508 GB, free: 8.117 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.4549, allocations: 59.91 kB / 0.5509 GB, free: 8.043 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003163/0.4552, allocations: 252.9 kB / 0.5511 GB, free: 7.789 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002203/0.4555, allocations: 37.7 kB / 0.5511 GB, free: 7.746 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.4557, allocations: 244.5 kB / 0.5514 GB, free: 7.504 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003371/0.456, allocations: 201 kB / 0.5516 GB, free: 7.305 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.4562, allocations: 8 kB / 0.5516 GB, free: 7.297 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.4563, allocations: 350.8 kB / 0.5519 GB, free: 6.945 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005992/0.4623, allocations: 2.476 MB / 0.5543 GB, free: 4.469 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006133/0.4685, allocations: 2.585 MB / 0.5568 GB, free: 1.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00533/0.4738, allocations: 2.003 MB / 0.5588 GB, free: 15.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.4738, allocations: 0 / 0.5588 GB, free: 15.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.01204/0.4859, allocations: 4.73 MB / 0.5634 GB, free: 11.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001546/0.4861, allocations: 181.2 kB / 0.5636 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.4861, allocations: 0 / 0.5636 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.4861, allocations: 8 kB / 0.5636 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003398/0.4895, allocations: 0.9925 MB / 0.5646 GB, free: 9.875 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.229e-05/0.4896, allocations: 7.938 kB / 0.5646 GB, free: 9.867 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002923/0.4925, allocations: 0.862 MB / 0.5654 GB, free: 9.004 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002049/0.4927, allocations: 75.84 kB / 0.5655 GB, free: 8.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.4927, allocations: 4 kB / 0.5655 GB, free: 8.926 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01182/0.5046, allocations: 4.671 MB / 0.5701 GB, free: 4.254 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.5046, allocations: 3.938 kB / 0.5701 GB, free: 4.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.5046, allocations: 8 kB / 0.5701 GB, free: 4.242 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003433/0.5081, allocations: 0.9951 MB / 0.571 GB, free: 3.246 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.696e-05/0.5081, allocations: 11.92 kB / 0.5711 GB, free: 3.234 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002974/0.5111, allocations: 0.8465 MB / 0.5719 GB, free: 2.387 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002278/0.5113, allocations: 75.84 kB / 0.572 GB, free: 2.312 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006152/0.512, allocations: 320.8 kB / 0.5723 GB, free: 1.988 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002067/0.5122, allocations: 45.41 kB / 0.5723 GB, free: 1.945 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01336/0.5255, allocations: 6.31 MB / 0.5785 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01256/0.5381, allocations: 5.919 MB / 0.5842 GB, free: 5.691 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/0.5382, allocations: 3.188 kB / 0.5842 GB, free: 5.691 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.5382, allocations: 3.984 kB / 0.5842 GB, free: 5.688 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01772/0.5559, allocations: 8.747 MB / 0.5928 GB, free: 12.87 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.556, allocations: 3.984 kB / 0.5928 GB, free: 12.87 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003355/0.5593, allocations: 0.9793 MB / 0.5938 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/0.5594, allocations: 4 kB / 0.5938 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000196/0.5596, allocations: 67.83 kB / 0.5938 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.5596, allocations: 7.938 kB / 0.5938 GB, free: 11.81 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5596, allocations: 4 kB / 0.5938 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01228/0.5719, allocations: 5.292 MB / 0.599 GB, free: 6.48 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002861/0.5722, allocations: 163.9 kB / 0.5992 GB, free: 6.301 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002251/0.5724, allocations: 15.95 kB / 0.5992 GB, free: 6.285 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002735/0.5752, allocations: 0.8311 MB / 0.6 GB, free: 5.453 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002298/0.5754, allocations: 112.2 kB / 0.6001 GB, free: 5.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001695/0.5756, allocations: 71.84 kB / 0.6002 GB, free: 5.27 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001777/0.5758, allocations: 185.9 kB / 0.6003 GB, free: 5.09 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5758, allocations: 0 / 0.6003 GB, free: 5.09 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00401/0.5798, allocations: 1.327 MB / 0.6016 GB, free: 3.762 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003782/0.5836, allocations: 0.9715 MB / 0.6026 GB, free: 2.797 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01883/0.6024, allocations: 8.106 MB / 0.6105 GB, free: 10.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.6025, allocations: 0 / 0.6105 GB, free: 10.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006308/0.6088, allocations: 2.913 MB / 0.6133 GB, free: 7.766 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/0.6102, allocations: 234.7 kB / 0.6136 GB, free: 7.543 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/0.6204, allocations: 5.178 MB / 0.6186 GB, free: 2.328 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005469/0.621, allocations: 1.049 MB / 0.6196 GB, free: 1.246 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002721/0.6237, allocations: 0.889 MB / 0.6205 GB, free: 364 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009682/0.6247, allocations: 167.1 kB / 0.6207 GB, free: 196 kB / 494.1 MB Notification: Performance of SimCode: time 6.92e-07/0.6247, allocations: 0 / 0.6207 GB, free: 196 kB / 494.1 MB Notification: Performance of Templates: time 0.232/0.8567, allocations: 50.24 MB / 0.6697 GB, free: 158.1 MB / 0.4981 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: