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.001482/0.001482, allocations: 107.7 kB / 17.68 MB, free: 5.332 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.0017/0.0017, allocations: 192 kB / 18.62 MB, free: 4.41 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.26/1.26, allocations: 205.1 MB / 224.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2514/0.2514, allocations: 48.84 MB / 320.7 MB, free: 11.03 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.001501/0.001501, allocations: 72.28 kB / 391.5 MB, free: 48.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07706/0.07857, allocations: 59.16 MB / 450.7 MB, free: 9.035 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph): time 0.01908/0.09769, allocations: 19.04 MB / 469.7 MB, free: 5.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009145/0.1069, allocations: 8.717 MB / 478.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.107, allocations: 4 kB / 478.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003514/0.1073, allocations: 127.2 kB / 478.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002335/0.1077, allocations: 147.1 kB / 478.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007405/0.1151, allocations: 3.61 MB / 482.3 MB, free: 9.277 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001496/0.1166, allocations: 1.778 MB / 484.1 MB, free: 7.496 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.1168, allocations: 117.3 kB / 484.2 MB, free: 7.379 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004914/0.1173, allocations: 0.5654 MB / 484.8 MB, free: 6.812 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008779/0.1181, allocations: 0.7092 MB / 485.5 MB, free: 6.102 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001678/0.1183, allocations: 132 kB / 485.6 MB, free: 5.973 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009332/0.1277, allocations: 6.201 MB / 491.8 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004022/0.1281, allocations: 423.1 kB / 492.2 MB, free: 15.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005257/0.1286, allocations: 0.506 MB / 492.7 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005252/0.1339, allocations: 4.495 MB / 497.2 MB, free: 10.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1339, allocations: 0 / 497.2 MB, free: 10.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1339, allocations: 0 / 497.2 MB, free: 10.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.1339, allocations: 0 / 497.2 MB, free: 10.34 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.007562/0.1415, allocations: 2.344 MB / 499.6 MB, free: 7.945 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.1415, allocations: 15.89 kB / 499.6 MB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000689/0.1422, allocations: 148.1 kB / 499.7 MB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009343/0.1432, allocations: 0.5025 MB / 0.4885 GB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008569/0.144, allocations: 457.5 kB / 0.4889 GB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002113/0.1443, allocations: 55.98 kB / 0.489 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007492/0.1518, allocations: 3.105 MB / 0.492 GB, free: 3.555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.1518, allocations: 7.938 kB / 0.492 GB, free: 3.547 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001571/0.152, allocations: 23.94 kB / 0.4921 GB, free: 3.523 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.563e-05/0.152, allocations: 45.3 kB / 0.4921 GB, free: 3.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01287/0.1649, allocations: 4.828 MB / 0.4968 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01358/0.1785, allocations: 9.912 MB / 0.5065 GB, free: 4.258 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006594/0.1851, allocations: 2.401 MB / 0.5088 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005644/0.1908, allocations: 2.075 MB / 0.5109 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.211/0.4018, allocations: 34.75 MB / 0.5448 GB, free: 69.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.4018, allocations: 42.31 kB / 0.5448 GB, free: 69.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=59): time 2.986e-06/0.4018, allocations: 0 / 0.5448 GB, free: 69.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=59): time 0.01711/0.4189, allocations: 5.892 MB / 0.5506 GB, free: 68.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.419, allocations: 63.62 kB / 0.5507 GB, free: 68.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.4192, allocations: 253.6 kB / 0.5509 GB, free: 68.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00013/0.4194, allocations: 31.8 kB / 0.5509 GB, free: 68.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.561e-05/0.4195, allocations: 242.2 kB / 0.5512 GB, free: 68.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/0.4197, allocations: 206.7 kB / 0.5514 GB, free: 67.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005188/0.4202, allocations: 218.4 kB / 0.5516 GB, free: 67.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.196e-05/0.4203, allocations: 348.6 kB / 0.5519 GB, free: 67.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005318/0.4256, allocations: 1.991 MB / 0.5538 GB, free: 66.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005119/0.4307, allocations: 2.095 MB / 0.5559 GB, free: 65.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008799/0.4395, allocations: 3.065 MB / 0.5589 GB, free: 64.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.4395, allocations: 4 kB / 0.5589 GB, free: 64.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.01009/0.4496, allocations: 3.738 MB / 0.5625 GB, free: 60.94 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.4497, allocations: 8 kB / 0.5625 GB, free: 60.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.4497, allocations: 4 kB / 0.5626 GB, free: 60.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.4497, allocations: 4 kB / 0.5626 GB, free: 60.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002935/0.4526, allocations: 0.7494 MB / 0.5633 GB, free: 60.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.4527, allocations: 6.812 kB / 0.5633 GB, free: 60.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002382/0.455, allocations: 0.5828 MB / 0.5639 GB, free: 59.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001799/0.4552, allocations: 78.19 kB / 0.5639 GB, free: 59.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005137/0.4604, allocations: 2.171 MB / 0.5661 GB, free: 57.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004986/0.4654, allocations: 2.093 MB / 0.5681 GB, free: 55.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00871/0.4741, allocations: 3.058 MB / 0.5711 GB, free: 52.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.715e-06/0.4741, allocations: 6.719 kB / 0.5711 GB, free: 52.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.01003/0.4842, allocations: 3.734 MB / 0.5747 GB, free: 48.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.4842, allocations: 8 kB / 0.5747 GB, free: 48.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.4842, allocations: 7.828 kB / 0.5748 GB, free: 48.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.771e-06/0.4842, allocations: 4 kB / 0.5748 GB, free: 48.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002898/0.4871, allocations: 0.7504 MB / 0.5755 GB, free: 47.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.4871, allocations: 4 kB / 0.5755 GB, free: 47.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0024/0.4895, allocations: 0.5809 MB / 0.5761 GB, free: 47.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001777/0.4897, allocations: 80.48 kB / 0.5761 GB, free: 46.96 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.0003503/0.4901, allocations: 219.1 kB / 0.5763 GB, free: 46.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002385/0.4903, allocations: 38.91 kB / 0.5764 GB, free: 46.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01097/0.5013, allocations: 5.324 MB / 0.5816 GB, free: 41.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01024/0.5115, allocations: 4.927 MB / 0.5864 GB, free: 36.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.5116, allocations: 0 / 0.5864 GB, free: 36.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.5116, allocations: 3.984 kB / 0.5864 GB, free: 36.44 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01453/0.5261, allocations: 7.643 MB / 0.5939 GB, free: 28.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.5261, allocations: 7.516 kB / 0.5939 GB, free: 28.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002879/0.529, allocations: 0.7421 MB / 0.5946 GB, free: 28.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.529, allocations: 0 / 0.5946 GB, free: 28.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001591/0.5292, allocations: 63.84 kB / 0.5947 GB, free: 27.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.5292, allocations: 7.938 kB / 0.5947 GB, free: 27.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5292, allocations: 0 / 0.5947 GB, free: 27.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01019/0.5394, allocations: 4.316 MB / 0.5989 GB, free: 23.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.771e-05/0.5395, allocations: 163.8 kB / 0.599 GB, free: 23.44 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000199/0.5397, allocations: 13.12 kB / 0.599 GB, free: 23.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002344/0.5421, allocations: 0.5603 MB / 0.5996 GB, free: 22.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002328/0.5423, allocations: 109.4 kB / 0.5997 GB, free: 22.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001729/0.5425, allocations: 67.84 kB / 0.5998 GB, free: 22.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000127/0.5426, allocations: 193.9 kB / 0.5999 GB, free: 22.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5426, allocations: 2.625 kB / 0.5999 GB, free: 22.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00283/0.5455, allocations: 1.314 MB / 0.6012 GB, free: 21.25 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.002926/0.5484, allocations: 0.9765 MB / 0.6022 GB, free: 20.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01555/0.564, allocations: 6.614 MB / 0.6086 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.564, allocations: 320 / 0.6086 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005247/0.5692, allocations: 2.42 MB / 0.611 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.5705, allocations: 237.8 kB / 0.6112 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008161/0.5787, allocations: 3.981 MB / 0.6151 GB, free: 7.191 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.579, allocations: 1.046 MB / 0.6161 GB, free: 6.117 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00204/0.581, allocations: 0.8865 MB / 0.617 GB, free: 5.234 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009774/0.582, allocations: 163.1 kB / 0.6172 GB, free: 5.074 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.582, allocations: 4 kB / 0.6172 GB, free: 5.07 MB / 414.1 MB Notification: Performance of Templates: time 0.06071/0.6427, allocations: 51.79 MB / 0.6677 GB, free: 1.195 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 -s cvode -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph.pipe 2>&1)