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.0006815/0.0006815, allocations: 93.39 kB / 16.65 MB, free: 6.535 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.0007043/0.0007043, allocations: 175.9 kB / 17.56 MB, free: 6.18 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.136/1.136, allocations: 205.4 MB / 223.7 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2186/0.2186, allocations: 48.79 MB / 320.8 MB, free: 11.09 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.0004621/0.0004621, allocations: 14.56 kB / 391.9 MB, free: 49.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07321/0.07368, allocations: 60.27 MB / 452.2 MB, free: 9.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestFlowDependentHeatTransferCoefficient2ph): time 0.0177/0.09142, allocations: 19.24 MB / 471.4 MB, free: 5.746 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009304/0.1008, allocations: 9.294 MB / 480.7 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.809e-05/0.1009, allocations: 7.938 kB / 480.7 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003203/0.1012, allocations: 103.5 kB / 480.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002142/0.1014, allocations: 155.1 kB / 481 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006081/0.1075, allocations: 2.848 MB / 483.8 MB, free: 9.309 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001455/0.109, allocations: 1.93 MB / 485.8 MB, free: 7.375 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.1091, allocations: 104.9 kB / 485.9 MB, free: 7.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004174/0.1096, allocations: 0.4912 MB / 486.4 MB, free: 6.777 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008001/0.1104, allocations: 0.7092 MB / 487.1 MB, free: 6.066 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.1105, allocations: 68 kB / 487.1 MB, free: 6 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008305/0.1188, allocations: 6.095 MB / 493.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003104/0.1192, allocations: 363 kB / 493.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004748/0.1196, allocations: 499.9 kB / 494.1 MB, free: 15.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004977/0.1246, allocations: 4.424 MB / 498.5 MB, free: 10.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1246, allocations: 0 / 498.5 MB, free: 10.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1246, allocations: 0 / 498.5 MB, free: 10.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1247, allocations: 0 / 498.5 MB, free: 10.61 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.007458/0.1321, allocations: 2.376 MB / 0.4891 GB, free: 8.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.1322, allocations: 12.03 kB / 0.4891 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003349/0.1325, allocations: 130.7 kB / 0.4893 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006951/0.1332, allocations: 144.2 kB / 0.4894 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007852/0.134, allocations: 0.5099 MB / 0.4899 GB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009177/0.135, allocations: 0.5132 MB / 0.4904 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002136/0.1352, allocations: 52 kB / 0.4904 GB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008108/0.1433, allocations: 3.601 MB / 0.494 GB, free: 3.102 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.1433, allocations: 4 kB / 0.494 GB, free: 3.098 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001608/0.1435, allocations: 23.98 kB / 0.494 GB, free: 3.074 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-05/0.1436, allocations: 53.22 kB / 0.494 GB, free: 3.023 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01411/0.1577, allocations: 5.824 MB / 0.4997 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0134/0.1711, allocations: 10.41 MB / 0.5099 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00724/0.1784, allocations: 2.897 MB / 0.5127 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006329/0.1847, allocations: 2.571 MB / 0.5152 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2127/0.3974, allocations: 34.96 MB / 0.5494 GB, free: 68.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.3975, allocations: 39.62 kB / 0.5494 GB, free: 68.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=59): time 3.036e-06/0.3975, allocations: 1.625 kB / 0.5494 GB, free: 68.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=59): time 0.01931/0.4169, allocations: 7.39 MB / 0.5566 GB, free: 67.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.113e-05/0.4169, allocations: 55.94 kB / 0.5567 GB, free: 66.97 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.4171, allocations: 256.2 kB / 0.5569 GB, free: 66.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001406/0.4172, allocations: 33.45 kB / 0.557 GB, free: 66.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.655e-05/0.4173, allocations: 243.1 kB / 0.5572 GB, free: 66.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/0.4176, allocations: 201 kB / 0.5574 GB, free: 66.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/0.4178, allocations: 56.59 kB / 0.5574 GB, free: 66.51 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.346e-05/0.4178, allocations: 354 kB / 0.5578 GB, free: 66.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005619/0.4234, allocations: 2.479 MB / 0.5602 GB, free: 65.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00556/0.429, allocations: 2.587 MB / 0.5627 GB, free: 62.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01002/0.439, allocations: 4.065 MB / 0.5667 GB, free: 58.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.4391, allocations: 0 / 0.5667 GB, free: 58.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.01122/0.4503, allocations: 4.742 MB / 0.5713 GB, free: 53.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.814e-05/0.4503, allocations: 173.3 kB / 0.5715 GB, free: 53.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.4504, allocations: 4 kB / 0.5715 GB, free: 53.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.4504, allocations: 4 kB / 0.5715 GB, free: 53.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00315/0.4535, allocations: 1.003 MB / 0.5725 GB, free: 52.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.4536, allocations: 11.94 kB / 0.5725 GB, free: 52.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0028/0.4564, allocations: 0.8522 MB / 0.5733 GB, free: 51.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/0.4565, allocations: 71.84 kB / 0.5734 GB, free: 51.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.482e-06/0.4565, allocations: 4 kB / 0.5734 GB, free: 51.49 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01094/0.4675, allocations: 4.678 MB / 0.578 GB, free: 46.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.4675, allocations: 4 kB / 0.578 GB, free: 46.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.09e-06/0.4675, allocations: 8.219 kB / 0.578 GB, free: 46.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003066/0.4706, allocations: 0.9987 MB / 0.579 GB, free: 45.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.4706, allocations: 7.828 kB / 0.579 GB, free: 45.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002738/0.4733, allocations: 0.8503 MB / 0.5798 GB, free: 44.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/0.4735, allocations: 72.59 kB / 0.5799 GB, free: 44.87 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.0004621/0.474, allocations: 324.8 kB / 0.5802 GB, free: 44.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001777/0.4741, allocations: 39.53 kB / 0.5802 GB, free: 44.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01215/0.4863, allocations: 6.329 MB / 0.5864 GB, free: 38.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01154/0.4979, allocations: 5.915 MB / 0.5922 GB, free: 32.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.4979, allocations: 0 / 0.5922 GB, free: 32.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.4979, allocations: 3.984 kB / 0.5922 GB, free: 32.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01535/0.5132, allocations: 8.775 MB / 0.6007 GB, free: 23.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.5133, allocations: 4 kB / 0.6007 GB, free: 23.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003033/0.5163, allocations: 0.9832 MB / 0.6017 GB, free: 22.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/0.5163, allocations: 4 kB / 0.6017 GB, free: 22.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001287/0.5164, allocations: 62.16 kB / 0.6018 GB, free: 22.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.5165, allocations: 10.16 kB / 0.6018 GB, free: 22.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.5165, allocations: 0 / 0.6018 GB, free: 22.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0112/0.5277, allocations: 5.312 MB / 0.607 GB, free: 17.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.803e-05/0.5278, allocations: 175.7 kB / 0.6071 GB, free: 16.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001765/0.528, allocations: 12 kB / 0.6071 GB, free: 16.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00269/0.5307, allocations: 0.8311 MB / 0.608 GB, free: 16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002147/0.5309, allocations: 116.2 kB / 0.6081 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/0.531, allocations: 67.84 kB / 0.6081 GB, free: 15.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.5311, allocations: 186 kB / 0.6083 GB, free: 15.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.82e-07/0.5311, allocations: 0 / 0.6083 GB, free: 15.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002775/0.5339, allocations: 1.312 MB / 0.6096 GB, free: 14.4 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.0149/0.5488, allocations: 6.734 MB / 0.6162 GB, free: 7.766 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01762/0.5665, allocations: 8.115 MB / 0.6241 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5665, allocations: 4 kB / 0.6241 GB, free: 15.63 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006742/0.5732, allocations: 2.921 MB / 0.6269 GB, free: 12.71 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/0.5747, allocations: 231.5 kB / 0.6272 GB, free: 12.49 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04705/0.6217, allocations: 20.45 MB / 0.6471 GB, free: 7.863 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006133/0.6224, allocations: 1.042 MB / 0.6481 GB, free: 6.793 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002562/0.625, allocations: 0.8901 MB / 0.649 GB, free: 5.902 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/0.6261, allocations: 391 kB / 0.6494 GB, free: 5.52 MB / 446.1 MB Notification: Performance of SimCode: time 6.91e-07/0.6261, allocations: 0 / 0.6494 GB, free: 5.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07818/0.7043, allocations: 57.09 MB / 0.7051 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002134/0.7046, allocations: 249.8 kB / 0.7054 GB, free: 12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.689/4.394, allocations: 4 kB / 0.7054 GB, free: 12 MB / 0.4981 GB (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/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)