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: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlowDependentHeatTransferCoefficient2ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlowDependentHeatTransferCoefficient2ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007954/0.0007955, allocations: 89.25 kB / 16.31 MB, free: 6.461 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.0007933/0.0007934, allocations: 177.5 kB / 17.21 MB, free: 6.336 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.353/1.353, allocations: 205.4 MB / 223.4 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2689/0.2689, allocations: 48.77 MB / 320.4 MB, free: 11.23 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.0005221/0.0005221, allocations: 17.84 kB / 391.3 MB, free: 50.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09931/0.09985, allocations: 60.27 MB / 451.5 MB, free: 9.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph): time 0.02711/0.127, allocations: 17.64 MB / 469.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01423/0.1413, allocations: 8.102 MB / 477.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003308/0.1417, allocations: 7.938 kB / 477.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005486/0.1422, allocations: 107.5 kB / 477.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004161/0.1427, allocations: 139.2 kB / 477.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01261/0.1553, allocations: 2.761 MB / 480.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001762/0.1571, allocations: 1.661 MB / 481.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001822/0.1573, allocations: 92.88 kB / 482 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005031/0.1578, allocations: 0.4912 MB / 482.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.1588, allocations: 0.7133 MB / 483.2 MB, free: 9.648 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001495/0.159, allocations: 76 kB / 483.3 MB, free: 9.574 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01076/0.1697, allocations: 5.876 MB / 489.2 MB, free: 3.691 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006434/0.1704, allocations: 371.1 kB / 489.5 MB, free: 3.328 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004361/0.1709, allocations: 157.4 kB / 489.7 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008059/0.1789, allocations: 3.048 MB / 492.8 MB, free: 116 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.179, allocations: 0 / 492.8 MB, free: 116 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.179, allocations: 3.938 kB / 492.8 MB, free: 112 kB / 366.1 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.179, allocations: 0 / 492.8 MB, free: 112 kB / 366.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.008477/0.1875, allocations: 2.387 MB / 495.1 MB, free: 13.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.1876, allocations: 8.031 kB / 495.2 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003113/0.1879, allocations: 130.5 kB / 495.3 MB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006914/0.1886, allocations: 151.2 kB / 495.4 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007885/0.1894, allocations: 0.5027 MB / 495.9 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008997/0.1903, allocations: 0.5054 MB / 496.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001942/0.1905, allocations: 56 kB / 496.5 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007925/0.1984, allocations: 3.601 MB / 0.4884 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.1985, allocations: 3.938 kB / 0.4884 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001643/0.1987, allocations: 20 kB / 0.4884 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.538e-05/0.1987, allocations: 57.23 kB / 0.4884 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0139/0.2126, allocations: 5.812 MB / 0.4941 GB, free: 2.699 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01467/0.2274, allocations: 10.41 MB / 0.5043 GB, free: 7.812 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006982/0.2344, allocations: 2.901 MB / 0.5071 GB, free: 4.898 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006092/0.2405, allocations: 2.571 MB / 0.5096 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3194/0.56, allocations: 34.96 MB / 0.5438 GB, free: 72.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.488e-05/0.5601, allocations: 38.12 kB / 0.5438 GB, free: 72.49 MB / 414.1 MB Notification: Performance of pre-optimization done (n=59): time 2.415e-06/0.5601, allocations: 0 / 0.5438 GB, free: 72.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=59): time 0.02009/0.5802, allocations: 7.383 MB / 0.551 GB, free: 71.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.5803, allocations: 60.5 kB / 0.5511 GB, free: 71.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/0.5806, allocations: 252.5 kB / 0.5513 GB, free: 71.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001858/0.5808, allocations: 35.09 kB / 0.5513 GB, free: 71.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.5809, allocations: 247.7 kB / 0.5516 GB, free: 70.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002574/0.5812, allocations: 199 kB / 0.5518 GB, free: 70.78 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.5813, allocations: 10.97 kB / 0.5518 GB, free: 70.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.303e-05/0.5814, allocations: 352.2 kB / 0.5521 GB, free: 70.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005342/0.5868, allocations: 2.476 MB / 0.5545 GB, free: 69.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005416/0.5922, allocations: 2.586 MB / 0.5571 GB, free: 68.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004896/0.5972, allocations: 1.999 MB / 0.559 GB, free: 66.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/0.5972, allocations: 0 / 0.559 GB, free: 66.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.01065/0.6079, allocations: 4.738 MB / 0.5636 GB, free: 61.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000122/0.6081, allocations: 173.2 kB / 0.5638 GB, free: 61.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.6081, allocations: 4 kB / 0.5638 GB, free: 61.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.6081, allocations: 4 kB / 0.5638 GB, free: 61.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002994/0.6111, allocations: 0.9988 MB / 0.5648 GB, free: 60.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/0.6111, allocations: 15.92 kB / 0.5648 GB, free: 60.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002509/0.6137, allocations: 0.8539 MB / 0.5656 GB, free: 59.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001618/0.6138, allocations: 68.7 kB / 0.5657 GB, free: 59.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.888e-06/0.6138, allocations: 4.562 kB / 0.5657 GB, free: 59.38 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01009/0.6239, allocations: 4.67 MB / 0.5703 GB, free: 54.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.624, allocations: 8.031 kB / 0.5703 GB, free: 54.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.624, allocations: 4.516 kB / 0.5703 GB, free: 54.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00294/0.627, allocations: 0.9988 MB / 0.5713 GB, free: 53.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.627, allocations: 15.89 kB / 0.5713 GB, free: 53.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0025/0.6295, allocations: 0.8513 MB / 0.5721 GB, free: 52.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001588/0.6297, allocations: 71.84 kB / 0.5722 GB, free: 52.76 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005603/0.6302, allocations: 316.9 kB / 0.5725 GB, free: 52.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/0.6304, allocations: 43.52 kB / 0.5725 GB, free: 52.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01187/0.6423, allocations: 6.314 MB / 0.5787 GB, free: 46.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01073/0.6531, allocations: 5.907 MB / 0.5844 GB, free: 40.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.69e-05/0.6532, allocations: 3.953 kB / 0.5845 GB, free: 40.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.6532, allocations: 11.83 kB / 0.5845 GB, free: 40.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01511/0.6683, allocations: 8.758 MB / 0.593 GB, free: 31.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.6684, allocations: 0 / 0.593 GB, free: 31.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002987/0.6713, allocations: 0.9794 MB / 0.594 GB, free: 30.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.477e-05/0.6714, allocations: 11.92 kB / 0.594 GB, free: 30.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001864/0.6716, allocations: 63.84 kB / 0.594 GB, free: 30.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.574e-05/0.6716, allocations: 9.453 kB / 0.5941 GB, free: 30.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.6716, allocations: 0 / 0.5941 GB, free: 30.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01106/0.6827, allocations: 5.299 MB / 0.5992 GB, free: 24.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002835/0.683, allocations: 171.8 kB / 0.5994 GB, free: 24.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002526/0.6833, allocations: 12 kB / 0.5994 GB, free: 24.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002581/0.6859, allocations: 0.8311 MB / 0.6002 GB, free: 23.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002552/0.6862, allocations: 120.2 kB / 0.6003 GB, free: 23.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001666/0.6864, allocations: 71.78 kB / 0.6004 GB, free: 23.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001646/0.6865, allocations: 182 kB / 0.6006 GB, free: 23.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6865, allocations: 0 / 0.6006 GB, free: 23.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004132/0.6907, allocations: 1.316 MB / 0.6019 GB, free: 22.33 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 (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.01565/0.7063, allocations: 6.719 MB / 0.6084 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01764/0.724, allocations: 8.1 MB / 0.6163 GB, free: 7.598 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.7241, allocations: 0 / 0.6163 GB, free: 7.598 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005998/0.7301, allocations: 2.924 MB / 0.6192 GB, free: 4.672 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/0.7318, allocations: 234.8 kB / 0.6194 GB, free: 4.449 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03233/0.7641, allocations: 14.42 MB / 0.6335 GB, free: 5.91 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007459/0.7649, allocations: 1.045 MB / 0.6345 GB, free: 4.836 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003268/0.7682, allocations: 0.8845 MB / 0.6354 GB, free: 3.957 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001345/0.7696, allocations: 395 kB / 0.6358 GB, free: 3.574 MB / 430.1 MB Notification: Performance of SimCode: time 9.92e-07/0.7696, allocations: 0 / 0.6358 GB, free: 3.574 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1018/0.8714, allocations: 57.01 MB / 0.6914 GB, free: 10.39 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002077/0.8717, allocations: 236.3 kB / 0.6917 GB, free: 10.14 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.199/5.07, allocations: 0 / 0.6917 GB, free: 10.14 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlowDependentHeatTransferCoefficient2ph_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlowDependentHeatTransferCoefficient2ph.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph.pipe 2>&1) Environment - environmentSimulation: