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.001325/0.001325, allocations: 93.95 kB / 16.3 MB, free: 5.992 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.001441/0.001441, allocations: 183.5 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.312/2.312, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4005/0.4005, allocations: 48.78 MB / 320.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.0005471/0.0005473, allocations: 15.41 kB / 391.2 MB, free: 50.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1085, allocations: 60.27 MB / 451.5 MB, free: 9.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph): time 0.01976/0.1283, allocations: 16.13 MB / 467.6 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009287/0.1376, allocations: 7.48 MB / 475.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002113/0.1379, allocations: 7.875 kB / 475.1 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004147/0.1383, allocations: 111.6 kB / 475.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001839/0.1385, allocations: 91.72 kB / 475.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00819/0.1467, allocations: 2.762 MB / 478.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001386/0.1481, allocations: 1.05 MB / 479.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001954/0.1483, allocations: 92.88 kB / 479.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005375/0.1489, allocations: 475.2 kB / 479.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000933/0.1498, allocations: 0.6002 MB / 480.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001526/0.15, allocations: 76 kB / 480.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0127/0.1627, allocations: 6.021 MB / 486.4 MB, free: 6.52 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007056/0.1635, allocations: 339.2 kB / 486.7 MB, free: 6.188 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003781/0.1639, allocations: 157.5 kB / 486.9 MB, free: 6.027 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006983/0.1708, allocations: 3.036 MB / 489.9 MB, free: 2.984 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1709, allocations: 0 / 489.9 MB, free: 2.984 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1709, allocations: 0 / 489.9 MB, free: 2.984 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.751e-05/0.1709, allocations: 0 / 489.9 MB, free: 2.984 MB / 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.009366/0.1803, allocations: 2.383 MB / 492.3 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.279e-05/0.1804, allocations: 11.97 kB / 492.3 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003397/0.1807, allocations: 138.4 kB / 492.4 MB, free: 404 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007494/0.1815, allocations: 151.2 kB / 492.6 MB, free: 252 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009768/0.1825, allocations: 0.495 MB / 493.1 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009935/0.1835, allocations: 0.5093 MB / 493.6 MB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001974/0.1837, allocations: 52 kB / 493.6 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008979/0.1927, allocations: 3.589 MB / 497.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.591e-05/0.1927, allocations: 8 kB / 497.2 MB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001853/0.1929, allocations: 24 kB / 497.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.148e-05/0.193, allocations: 53.23 kB / 497.3 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01572/0.2087, allocations: 5.816 MB / 0.4913 GB, free: 5.574 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01767/0.2265, allocations: 10.42 MB / 0.5015 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007948/0.2345, allocations: 2.901 MB / 0.5043 GB, free: 7.766 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3554/0.5899, allocations: 34.96 MB / 0.5385 GB, free: 76.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.532e-05/0.59, allocations: 44.42 kB / 0.5385 GB, free: 76.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=59): time 2.915e-06/0.59, allocations: 0 / 0.5385 GB, free: 76.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=59): time 0.02333/0.6133, allocations: 7.452 MB / 0.5458 GB, free: 75.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/0.6134, allocations: 66.83 kB / 0.5459 GB, free: 75.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004209/0.6139, allocations: 255.2 kB / 0.5461 GB, free: 75.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002808/0.6142, allocations: 34.77 kB / 0.5461 GB, free: 75.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.6144, allocations: 236.3 kB / 0.5464 GB, free: 75.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003231/0.6147, allocations: 202.6 kB / 0.5466 GB, free: 75.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.6149, allocations: 9.844 kB / 0.5466 GB, free: 75.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.615, allocations: 347.7 kB / 0.5469 GB, free: 74.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007045/0.622, allocations: 2.478 MB / 0.5493 GB, free: 74.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006637/0.6287, allocations: 2.589 MB / 0.5519 GB, free: 73.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005907/0.6347, allocations: 2 MB / 0.5538 GB, free: 71.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.811e-05/0.6347, allocations: 0 / 0.5538 GB, free: 71.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.01535/0.6501, allocations: 4.733 MB / 0.5584 GB, free: 66.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004177/0.6506, allocations: 1.137 MB / 0.5595 GB, free: 65.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/0.6506, allocations: 4 kB / 0.5595 GB, free: 65.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.642e-05/0.6507, allocations: 8 kB / 0.5595 GB, free: 65.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005545/0.6563, allocations: 0.9987 MB / 0.5605 GB, free: 64.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.524e-05/0.6563, allocations: 4 kB / 0.5605 GB, free: 64.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004818/0.6612, allocations: 0.8557 MB / 0.5614 GB, free: 63.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003909/0.6616, allocations: 79.83 kB / 0.5614 GB, free: 63.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.6616, allocations: 4 kB / 0.5614 GB, free: 63.79 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01445/0.6761, allocations: 4.666 MB / 0.566 GB, free: 59.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/0.6761, allocations: 4.219 kB / 0.566 GB, free: 59.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.6762, allocations: 12 kB / 0.566 GB, free: 59.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004231/0.6804, allocations: 0.9948 MB / 0.567 GB, free: 58.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.6805, allocations: 7.953 kB / 0.567 GB, free: 58.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003219/0.6837, allocations: 0.8554 MB / 0.5678 GB, free: 57.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002022/0.6839, allocations: 79.84 kB / 0.5679 GB, free: 57.16 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.0006766/0.6846, allocations: 313.6 kB / 0.5682 GB, free: 56.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002077/0.6848, allocations: 39.53 kB / 0.5682 GB, free: 56.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01356/0.6984, allocations: 6.319 MB / 0.5744 GB, free: 50.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01299/0.7114, allocations: 5.907 MB / 0.5802 GB, free: 44.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/0.7115, allocations: 3.953 kB / 0.5802 GB, free: 44.56 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.7115, allocations: 3.984 kB / 0.5802 GB, free: 44.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01934/0.7309, allocations: 8.754 MB / 0.5887 GB, free: 35.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/0.7309, allocations: 5.016 kB / 0.5887 GB, free: 35.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003632/0.7346, allocations: 0.9793 MB / 0.5897 GB, free: 34.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-05/0.7346, allocations: 4 kB / 0.5897 GB, free: 34.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002031/0.7348, allocations: 71.83 kB / 0.5898 GB, free: 34.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.7348, allocations: 3.953 kB / 0.5898 GB, free: 34.72 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.7349, allocations: 4 kB / 0.5898 GB, free: 34.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01326/0.7481, allocations: 5.315 MB / 0.595 GB, free: 29.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003482/0.7486, allocations: 175.8 kB / 0.5951 GB, free: 29.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003202/0.7489, allocations: 14.12 kB / 0.5952 GB, free: 29.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003084/0.752, allocations: 0.8311 MB / 0.596 GB, free: 28.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002738/0.7523, allocations: 120.2 kB / 0.5961 GB, free: 28.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001672/0.7524, allocations: 66.56 kB / 0.5961 GB, free: 28.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002235/0.7527, allocations: 186 kB / 0.5963 GB, free: 27.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7527, allocations: 0 / 0.5963 GB, free: 27.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00494/0.7576, allocations: 1.319 MB / 0.5976 GB, free: 26.71 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.01872/0.7764, allocations: 6.88 MB / 0.6043 GB, free: 19.92 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0205/0.7969, allocations: 8.114 MB / 0.6122 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/0.797, allocations: 0 / 0.6122 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007466/0.8045, allocations: 2.92 MB / 0.6151 GB, free: 8.875 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/0.8061, allocations: 216 kB / 0.6153 GB, free: 8.668 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04257/0.8487, allocations: 16.2 MB / 0.6311 GB, free: 8.332 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008025/0.8495, allocations: 1.072 MB / 0.6322 GB, free: 7.23 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003406/0.8529, allocations: 0.8845 MB / 0.633 GB, free: 6.355 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001464/0.8544, allocations: 395 kB / 0.6334 GB, free: 5.973 MB / 430.1 MB Notification: Performance of SimCode: time 1.563e-06/0.8545, allocations: 4 kB / 0.6334 GB, free: 5.969 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1055/0.96, allocations: 56.96 MB / 0.689 GB, free: 12.84 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/0.9603, allocations: 238.1 kB / 0.6893 GB, free: 12.58 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.33/6.291, allocations: 0 / 0.6893 GB, free: 12.58 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: