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.001369/0.001369, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001385/0.001385, allocations: 195.4 kB / 18.52 MB, free: 4.637 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.684/1.684, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3061/0.3061, allocations: 48.84 MB / 320.6 MB, free: 11.07 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.002194/0.002194, allocations: 69.31 kB / 390.8 MB, free: 48.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09404/0.09624, allocations: 59.17 MB / 449.9 MB, free: 9.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph): time 0.02374/0.12, allocations: 19.02 MB / 468.9 MB, free: 6.652 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01132/0.1314, allocations: 8.732 MB / 477.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000234/0.1317, allocations: 0 / 477.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004425/0.1321, allocations: 119.3 kB / 477.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003239/0.1325, allocations: 151.1 kB / 477.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009718/0.1422, allocations: 3.602 MB / 481.5 MB, free: 10.01 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001797/0.1441, allocations: 1.778 MB / 483.3 MB, free: 8.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002286/0.1443, allocations: 117.3 kB / 483.4 MB, free: 8.113 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006657/0.145, allocations: 0.5615 MB / 484 MB, free: 7.551 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009896/0.146, allocations: 0.7132 MB / 484.7 MB, free: 6.836 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002143/0.1462, allocations: 128 kB / 484.8 MB, free: 6.711 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0115/0.1577, allocations: 6.068 MB / 490.9 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000661/0.1584, allocations: 419.1 kB / 491.3 MB, free: 232 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007586/0.1592, allocations: 0.5061 MB / 491.8 MB, free: 15.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009175/0.1684, allocations: 4.502 MB / 496.3 MB, free: 11.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1684, allocations: 0 / 496.3 MB, free: 11.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1684, allocations: 0 / 496.3 MB, free: 11.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.1684, allocations: 0 / 496.3 MB, free: 11.21 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.008986/0.1774, allocations: 2.336 MB / 498.7 MB, free: 8.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.1775, allocations: 11.89 kB / 498.7 MB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007358/0.1782, allocations: 148.1 kB / 498.8 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008503/0.1791, allocations: 0.5025 MB / 499.3 MB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009429/0.18, allocations: 469.5 kB / 499.8 MB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002075/0.1803, allocations: 52 kB / 499.8 MB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008483/0.1887, allocations: 3.101 MB / 0.4911 GB, free: 4.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.1888, allocations: 7.984 kB / 0.4911 GB, free: 4.422 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001761/0.189, allocations: 28 kB / 0.4912 GB, free: 4.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.479e-05/0.1891, allocations: 49.28 kB / 0.4912 GB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01456/0.2036, allocations: 4.824 MB / 0.4959 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01654/0.2202, allocations: 9.916 MB / 0.5056 GB, free: 5.125 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007378/0.2276, allocations: 2.41 MB / 0.508 GB, free: 2.703 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006372/0.234, allocations: 2.071 MB / 0.51 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2684/0.5025, allocations: 34.62 MB / 0.5438 GB, free: 70.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.315e-05/0.5026, allocations: 40.62 kB / 0.5438 GB, free: 70.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=59): time 2.705e-06/0.5026, allocations: 0 / 0.5438 GB, free: 70.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=59): time 0.01917/0.5218, allocations: 5.89 MB / 0.5496 GB, free: 69.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.5218, allocations: 64.3 kB / 0.5497 GB, free: 69.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002815/0.5221, allocations: 251.1 kB / 0.5499 GB, free: 69.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001563/0.5223, allocations: 35.92 kB / 0.5499 GB, free: 69.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.5224, allocations: 236.8 kB / 0.5502 GB, free: 69.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002514/0.5227, allocations: 200.9 kB / 0.5503 GB, free: 69.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005206/0.5232, allocations: 226.9 kB / 0.5506 GB, free: 69.22 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.294e-05/0.5233, allocations: 348.6 kB / 0.5509 GB, free: 68.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005881/0.5292, allocations: 1.989 MB / 0.5528 GB, free: 67.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005652/0.5348, allocations: 2.088 MB / 0.5549 GB, free: 66.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00965/0.5445, allocations: 3.071 MB / 0.5579 GB, free: 65.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.5446, allocations: 2.25 kB / 0.5579 GB, free: 65.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.01059/0.5551, allocations: 3.738 MB / 0.5615 GB, free: 62.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.5552, allocations: 8 kB / 0.5615 GB, free: 62.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.5552, allocations: 4 kB / 0.5615 GB, free: 62.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.5552, allocations: 4.219 kB / 0.5615 GB, free: 62.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003049/0.5583, allocations: 0.7516 MB / 0.5623 GB, free: 61.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-05/0.5583, allocations: 15.64 kB / 0.5623 GB, free: 61.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002542/0.5609, allocations: 0.586 MB / 0.5629 GB, free: 60.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/0.5611, allocations: 71.84 kB / 0.5629 GB, free: 60.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005336/0.5664, allocations: 2.164 MB / 0.565 GB, free: 58.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005169/0.5716, allocations: 2.09 MB / 0.5671 GB, free: 56.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009298/0.5809, allocations: 3.069 MB / 0.5701 GB, free: 53.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.723e-06/0.5809, allocations: 5.719 kB / 0.5701 GB, free: 53.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.01063/0.5916, allocations: 3.738 MB / 0.5737 GB, free: 49.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.5916, allocations: 8 kB / 0.5737 GB, free: 49.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.5916, allocations: 4 kB / 0.5738 GB, free: 49.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.056e-06/0.5917, allocations: 4.219 kB / 0.5738 GB, free: 49.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003119/0.5948, allocations: 0.7477 MB / 0.5745 GB, free: 48.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/0.5948, allocations: 9.859 kB / 0.5745 GB, free: 48.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002642/0.5975, allocations: 0.583 MB / 0.5751 GB, free: 48.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002426/0.5977, allocations: 75.83 kB / 0.5751 GB, free: 48.28 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.0005244/0.5983, allocations: 214.3 kB / 0.5753 GB, free: 48.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003263/0.5986, allocations: 39.62 kB / 0.5754 GB, free: 48.03 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01201/0.6106, allocations: 5.328 MB / 0.5806 GB, free: 42.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0116/0.6222, allocations: 4.926 MB / 0.5854 GB, free: 37.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.6223, allocations: 0 / 0.5854 GB, free: 37.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.6223, allocations: 0 / 0.5854 GB, free: 37.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01582/0.6381, allocations: 7.652 MB / 0.5929 GB, free: 30.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/0.6382, allocations: 0 / 0.5929 GB, free: 30.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003083/0.6413, allocations: 0.7362 MB / 0.5936 GB, free: 29.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.888e-05/0.6413, allocations: 8.125 kB / 0.5936 GB, free: 29.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002121/0.6415, allocations: 63.84 kB / 0.5937 GB, free: 29.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.695e-06/0.6415, allocations: 11.94 kB / 0.5937 GB, free: 29.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.6416, allocations: 0 / 0.5937 GB, free: 29.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01134/0.6529, allocations: 4.313 MB / 0.5979 GB, free: 24.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.6531, allocations: 167.8 kB / 0.598 GB, free: 24.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003041/0.6534, allocations: 15.28 kB / 0.598 GB, free: 24.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00258/0.656, allocations: 0.5639 MB / 0.5986 GB, free: 24.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003195/0.6563, allocations: 104.3 kB / 0.5987 GB, free: 24.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001932/0.6565, allocations: 67.84 kB / 0.5988 GB, free: 24.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001683/0.6567, allocations: 190 kB / 0.5989 GB, free: 23.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6567, allocations: 0 / 0.5989 GB, free: 23.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003752/0.6605, allocations: 1.321 MB / 0.6002 GB, free: 22.57 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.004648/0.6651, allocations: 0.9775 MB / 0.6012 GB, free: 21.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01878/0.6839, allocations: 6.844 MB / 0.6079 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/0.684, allocations: 0 / 0.6079 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006064/0.69, allocations: 2.42 MB / 0.6102 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/0.6916, allocations: 236.2 kB / 0.6105 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009306/0.7009, allocations: 4.036 MB / 0.6144 GB, free: 8.176 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.7013, allocations: 1.037 MB / 0.6154 GB, free: 7.109 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001276/0.7026, allocations: 217.2 kB / 0.6156 GB, free: 6.898 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.7026, allocations: 0 / 0.6156 GB, free: 6.898 MB / 414.1 MB Notification: Performance of Templates: time 0.05005/0.7527, allocations: 32.94 MB / 0.6478 GB, free: 5.871 MB / 446.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)