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.001012/0.001012, allocations: 99.86 kB / 16.5 MB, free: 6.641 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.001006/0.001006, allocations: 189.3 kB / 17.42 MB, free: 6.07 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.224/1.224, allocations: 205.1 MB / 223.3 MB, free: 12.46 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.247/0.247, allocations: 48.84 MB / 319.4 MB, free: 11.32 MB / 270.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.001568/0.001568, allocations: 66.69 kB / 389.4 MB, free: 49.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07567/0.07725, allocations: 59.16 MB / 448.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph): time 0.01968/0.09698, allocations: 19.82 MB / 468.3 MB, free: 6.371 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009919/0.1069, allocations: 9.438 MB / 477.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001578/0.1072, allocations: 3.938 kB / 477.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003591/0.1076, allocations: 111.5 kB / 477.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002323/0.1078, allocations: 155.2 kB / 478 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007237/0.115, allocations: 2.855 MB / 480.9 MB, free: 9.777 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001583/0.1166, allocations: 1.922 MB / 482.8 MB, free: 7.852 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/0.1168, allocations: 116.7 kB / 482.9 MB, free: 7.734 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004591/0.1173, allocations: 0.4912 MB / 483.4 MB, free: 7.242 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008282/0.1181, allocations: 0.7131 MB / 484.1 MB, free: 6.527 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001636/0.1183, allocations: 76 kB / 484.2 MB, free: 6.453 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01037/0.1287, allocations: 6.095 MB / 490.3 MB, free: 360 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006298/0.1293, allocations: 367.1 kB / 490.7 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006624/0.13, allocations: 474.2 kB / 491.1 MB, free: 15.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008192/0.1382, allocations: 4.463 MB / 495.6 MB, free: 11.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1383, allocations: 0 / 495.6 MB, free: 11.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1383, allocations: 0 / 495.6 MB, free: 11.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.39e-05/0.1383, allocations: 0 / 495.6 MB, free: 11.05 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.008582/0.1469, allocations: 2.336 MB / 497.9 MB, free: 8.668 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.1469, allocations: 8.031 kB / 497.9 MB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007429/0.1477, allocations: 152.1 kB / 498.1 MB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000777/0.1485, allocations: 0.5025 MB / 498.6 MB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009226/0.1494, allocations: 457.5 kB / 499 MB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002323/0.1496, allocations: 56 kB / 499.1 MB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007812/0.1575, allocations: 3.108 MB / 0.4904 GB, free: 4.277 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.1575, allocations: 0 / 0.4904 GB, free: 4.277 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001903/0.1577, allocations: 24 kB / 0.4905 GB, free: 4.254 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.935e-05/0.1578, allocations: 49.28 kB / 0.4905 GB, free: 4.207 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01291/0.1707, allocations: 4.824 MB / 0.4952 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01323/0.1839, allocations: 9.909 MB / 0.5049 GB, free: 4.992 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007011/0.191, allocations: 2.41 MB / 0.5072 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006081/0.1971, allocations: 2.071 MB / 0.5093 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2197/0.4169, allocations: 34.62 MB / 0.5431 GB, free: 71.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.4169, allocations: 36.81 kB / 0.5431 GB, free: 71.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=59): time 3.026e-06/0.4169, allocations: 0 / 0.5431 GB, free: 71.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=59): time 0.01823/0.4352, allocations: 5.898 MB / 0.5489 GB, free: 70.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.4353, allocations: 57.84 kB / 0.5489 GB, free: 70.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.4355, allocations: 250.4 kB / 0.5492 GB, free: 70.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001924/0.4357, allocations: 35.95 kB / 0.5492 GB, free: 70.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.4358, allocations: 237.5 kB / 0.5494 GB, free: 69.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002382/0.4361, allocations: 210.6 kB / 0.5496 GB, free: 69.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005225/0.4366, allocations: 214.2 kB / 0.5498 GB, free: 69.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.66e-05/0.4367, allocations: 345.6 kB / 0.5502 GB, free: 69.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00556/0.4422, allocations: 1.993 MB / 0.5521 GB, free: 68.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005434/0.4477, allocations: 2.095 MB / 0.5541 GB, free: 67.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009091/0.4568, allocations: 3.069 MB / 0.5571 GB, free: 65.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.4569, allocations: 1.469 kB / 0.5571 GB, free: 65.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0104/0.4673, allocations: 3.742 MB / 0.5608 GB, free: 62.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.4673, allocations: 12.03 kB / 0.5608 GB, free: 62.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.4673, allocations: 0 / 0.5608 GB, free: 62.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.4674, allocations: 8 kB / 0.5608 GB, free: 62.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003138/0.4705, allocations: 0.7541 MB / 0.5616 GB, free: 61.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.4705, allocations: 7.656 kB / 0.5616 GB, free: 61.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002568/0.4731, allocations: 0.6015 MB / 0.5621 GB, free: 61.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002036/0.4733, allocations: 67.84 kB / 0.5622 GB, free: 61.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005373/0.4787, allocations: 2.171 MB / 0.5643 GB, free: 58.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005063/0.4838, allocations: 2.087 MB / 0.5664 GB, free: 56.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009223/0.493, allocations: 3.071 MB / 0.5694 GB, free: 53.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.062e-06/0.4931, allocations: 0 / 0.5694 GB, free: 53.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.01027/0.5034, allocations: 3.73 MB / 0.573 GB, free: 50 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.5034, allocations: 8 kB / 0.573 GB, free: 50 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.5034, allocations: 5.406 kB / 0.573 GB, free: 49.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.152e-06/0.5034, allocations: 4.219 kB / 0.573 GB, free: 49.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003067/0.5065, allocations: 0.7532 MB / 0.5738 GB, free: 49.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.5065, allocations: 14.3 kB / 0.5738 GB, free: 49.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002607/0.5091, allocations: 0.5913 MB / 0.5744 GB, free: 48.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002415/0.5094, allocations: 75.83 kB / 0.5744 GB, free: 48.57 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.0004173/0.5098, allocations: 219 kB / 0.5746 GB, free: 48.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002908/0.5101, allocations: 39.53 kB / 0.5747 GB, free: 48.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01159/0.5217, allocations: 5.331 MB / 0.5799 GB, free: 42.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01024/0.532, allocations: 4.93 MB / 0.5847 GB, free: 38.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.532, allocations: 0 / 0.5847 GB, free: 38.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.532, allocations: 0 / 0.5847 GB, free: 38.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01528/0.5473, allocations: 7.652 MB / 0.5922 GB, free: 30.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.5474, allocations: 4 kB / 0.5922 GB, free: 30.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003001/0.5504, allocations: 0.7312 MB / 0.5929 GB, free: 29.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.5504, allocations: 4 kB / 0.5929 GB, free: 29.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001786/0.5506, allocations: 67.39 kB / 0.593 GB, free: 29.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.583e-06/0.5506, allocations: 11.78 kB / 0.593 GB, free: 29.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5506, allocations: 0 / 0.593 GB, free: 29.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01075/0.5613, allocations: 4.312 MB / 0.5972 GB, free: 25.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/0.5615, allocations: 167.8 kB / 0.5973 GB, free: 25.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000239/0.5618, allocations: 15.94 kB / 0.5974 GB, free: 25.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002534/0.5643, allocations: 0.5811 MB / 0.5979 GB, free: 24.44 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002624/0.5646, allocations: 108.2 kB / 0.598 GB, free: 24.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001897/0.5648, allocations: 67.84 kB / 0.5981 GB, free: 24.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001466/0.5649, allocations: 188.7 kB / 0.5983 GB, free: 24.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5649, allocations: 0 / 0.5983 GB, free: 24.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003133/0.5681, allocations: 1.319 MB / 0.5996 GB, free: 22.83 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.003408/0.5715, allocations: 0.9802 MB / 0.6005 GB, free: 21.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01631/0.5878, allocations: 6.622 MB / 0.607 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.5879, allocations: 0 / 0.607 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005729/0.5936, allocations: 2.417 MB / 0.6093 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/0.5952, allocations: 224.7 kB / 0.6096 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00886/0.604, allocations: 4.397 MB / 0.6138 GB, free: 8.309 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.6044, allocations: 1.056 MB / 0.6149 GB, free: 7.227 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00267/0.6071, allocations: 0.8838 MB / 0.6157 GB, free: 6.348 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001091/0.6082, allocations: 167.1 kB / 0.6159 GB, free: 6.184 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.6082, allocations: 0 / 0.6159 GB, free: 6.184 MB / 414.1 MB Notification: Performance of Templates: time 0.05941/0.6676, allocations: 50.47 MB / 0.6652 GB, free: 3.617 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 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph.pipe 2>&1)