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.000971/0.0009713, allocations: 93.34 kB / 16.65 MB, free: 6.598 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.001141/0.001141, allocations: 179.3 kB / 17.56 MB, free: 6.199 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.263/1.263, allocations: 205.4 MB / 223.7 MB, free: 13.09 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.258/0.258, allocations: 48.78 MB / 320.8 MB, free: 11.12 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.0004917/0.0004917, allocations: 24 kB / 391.8 MB, free: 50.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08641/0.08691, allocations: 60.26 MB / 452.1 MB, free: 9.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph): time 0.02033/0.1073, allocations: 19.24 MB / 471.3 MB, free: 5.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01087/0.1182, allocations: 9.29 MB / 480.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001843/0.1184, allocations: 3.938 kB / 480.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003768/0.1188, allocations: 111.5 kB / 480.7 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003381/0.1192, allocations: 147.2 kB / 480.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008444/0.1276, allocations: 2.851 MB / 483.7 MB, free: 9.426 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001731/0.1294, allocations: 1.934 MB / 485.7 MB, free: 7.488 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.1295, allocations: 92.83 kB / 485.7 MB, free: 7.395 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005477/0.1301, allocations: 0.499 MB / 486.2 MB, free: 6.895 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009401/0.1311, allocations: 0.7092 MB / 487 MB, free: 6.184 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001447/0.1312, allocations: 72 kB / 487 MB, free: 6.113 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01025/0.1415, allocations: 6.087 MB / 493.1 MB, free: 20 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005537/0.1421, allocations: 367.1 kB / 493.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006558/0.1427, allocations: 496 kB / 494 MB, free: 15.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008207/0.1509, allocations: 4.42 MB / 498.4 MB, free: 10.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.151, allocations: 0 / 498.4 MB, free: 10.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.151, allocations: 0 / 498.4 MB, free: 10.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.151, allocations: 0 / 498.4 MB, free: 10.74 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.008654/0.1597, allocations: 2.378 MB / 0.489 GB, free: 8.312 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1597, allocations: 12.03 kB / 0.489 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007969/0.1605, allocations: 148.1 kB / 0.4892 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008015/0.1614, allocations: 0.5063 MB / 0.4897 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001062/0.1624, allocations: 0.5093 MB / 0.4902 GB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002428/0.1627, allocations: 56 kB / 0.4902 GB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009552/0.1722, allocations: 3.612 MB / 0.4937 GB, free: 3.352 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.1723, allocations: 3.984 kB / 0.4937 GB, free: 3.348 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001842/0.1725, allocations: 24 kB / 0.4938 GB, free: 3.324 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-05/0.1726, allocations: 45.3 kB / 0.4938 GB, free: 3.281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0161/0.1887, allocations: 5.82 MB / 0.4995 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0155/0.2042, allocations: 10.42 MB / 0.5097 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008067/0.2123, allocations: 2.901 MB / 0.5125 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007136/0.2195, allocations: 2.575 MB / 0.515 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2404/0.4599, allocations: 34.96 MB / 0.5492 GB, free: 69.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.46, allocations: 39.81 kB / 0.5492 GB, free: 69.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=59): time 2.485e-06/0.46, allocations: 0 / 0.5492 GB, free: 69.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=59): time 0.02118/0.4812, allocations: 7.39 MB / 0.5564 GB, free: 67.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.4812, allocations: 59.88 kB / 0.5565 GB, free: 67.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.4814, allocations: 254.8 kB / 0.5567 GB, free: 66.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001483/0.4816, allocations: 37.64 kB / 0.5567 GB, free: 66.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.4817, allocations: 235.8 kB / 0.557 GB, free: 66.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002136/0.4819, allocations: 205.3 kB / 0.5572 GB, free: 66.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.4821, allocations: 53.34 kB / 0.5572 GB, free: 66.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.463e-05/0.4822, allocations: 350.4 kB / 0.5575 GB, free: 66.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006217/0.4884, allocations: 2.483 MB / 0.56 GB, free: 65.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006182/0.4946, allocations: 2.59 MB / 0.5625 GB, free: 62.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01109/0.5057, allocations: 4.066 MB / 0.5665 GB, free: 58.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.5057, allocations: 0 / 0.5665 GB, free: 58.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.01242/0.5182, allocations: 4.738 MB / 0.5711 GB, free: 53.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.062e-05/0.5183, allocations: 181.2 kB / 0.5713 GB, free: 53.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.5183, allocations: 4 kB / 0.5713 GB, free: 53.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.5183, allocations: 4 kB / 0.5713 GB, free: 53.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003527/0.5218, allocations: 1.003 MB / 0.5723 GB, free: 52.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.5219, allocations: 11.94 kB / 0.5723 GB, free: 52.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003078/0.525, allocations: 0.8562 MB / 0.5731 GB, free: 51.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/0.5251, allocations: 67.84 kB / 0.5732 GB, free: 51.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.5251, allocations: 4 kB / 0.5732 GB, free: 51.64 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01225/0.5374, allocations: 4.678 MB / 0.5777 GB, free: 46.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.5374, allocations: 4 kB / 0.5777 GB, free: 46.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.135e-06/0.5375, allocations: 4 kB / 0.5778 GB, free: 46.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003462/0.5409, allocations: 0.999 MB / 0.5787 GB, free: 45.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.5409, allocations: 7.938 kB / 0.5787 GB, free: 45.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003059/0.544, allocations: 0.851 MB / 0.5796 GB, free: 45.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/0.5442, allocations: 75.52 kB / 0.5796 GB, free: 45.02 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.0005313/0.5447, allocations: 324.8 kB / 0.5799 GB, free: 44.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001958/0.5449, allocations: 39.53 kB / 0.58 GB, free: 44.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01354/0.5585, allocations: 6.321 MB / 0.5862 GB, free: 38.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01293/0.5714, allocations: 5.923 MB / 0.5919 GB, free: 32.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/0.5715, allocations: 0 / 0.5919 GB, free: 32.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.5715, allocations: 0 / 0.5919 GB, free: 32.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01756/0.5891, allocations: 8.774 MB / 0.6005 GB, free: 23.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.5891, allocations: 0 / 0.6005 GB, free: 23.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003388/0.5925, allocations: 0.984 MB / 0.6015 GB, free: 22.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.5925, allocations: 4 kB / 0.6015 GB, free: 22.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000146/0.5927, allocations: 64.66 kB / 0.6015 GB, free: 22.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.5927, allocations: 1.094 kB / 0.6015 GB, free: 22.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.5927, allocations: 8 kB / 0.6015 GB, free: 22.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0126/0.6053, allocations: 5.304 MB / 0.6067 GB, free: 17.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.6055, allocations: 171.8 kB / 0.6069 GB, free: 17.01 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001948/0.6057, allocations: 12 kB / 0.6069 GB, free: 17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003035/0.6087, allocations: 0.8346 MB / 0.6077 GB, free: 16.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002501/0.609, allocations: 116.1 kB / 0.6078 GB, free: 16.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001472/0.6091, allocations: 71.84 kB / 0.6079 GB, free: 15.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001394/0.6093, allocations: 186 kB / 0.6081 GB, free: 15.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6093, allocations: 0 / 0.6081 GB, free: 15.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002965/0.6122, allocations: 1.311 MB / 0.6094 GB, free: 14.55 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.003124/0.6154, allocations: 0.9795 MB / 0.6103 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01945/0.6348, allocations: 8.115 MB / 0.6182 GB, free: 5.598 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.6349, allocations: 0 / 0.6182 GB, free: 5.598 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006669/0.6416, allocations: 2.92 MB / 0.6211 GB, free: 2.684 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/0.6431, allocations: 229.9 kB / 0.6213 GB, free: 2.461 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01146/0.6546, allocations: 5.232 MB / 0.6264 GB, free: 13.19 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005514/0.6552, allocations: 1.049 MB / 0.6274 GB, free: 12.12 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002699/0.6579, allocations: 0.8864 MB / 0.6283 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001001/0.6589, allocations: 167.1 kB / 0.6285 GB, free: 11.07 MB / 430.1 MB Notification: Performance of SimCode: time 7.52e-07/0.6589, allocations: 3.938 kB / 0.6285 GB, free: 11.07 MB / 430.1 MB Notification: Performance of Templates: time 0.0627/0.7216, allocations: 50.28 MB / 0.6776 GB, free: 8.656 MB / 478.1 MB 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: