Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.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.TestHeatTransfer2phDB,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB",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.001159/0.001159, allocations: 103.2 kB / 16.94 MB, free: 6.199 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.001159/0.001159, allocations: 187.3 kB / 17.87 MB, free: 5.305 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.165/1.165, allocations: 205.1 MB / 223.8 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2354/0.2354, allocations: 48.85 MB / 319.9 MB, free: 11.1 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.001274/0.001274, allocations: 66.02 kB / 390.2 MB, free: 48.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07403/0.07532, allocations: 59.16 MB / 449.4 MB, free: 9.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.01591/0.09126, allocations: 16.1 MB / 465.5 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01321/0.1045, allocations: 13.55 MB / 479.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001839/0.1047, allocations: 7.938 kB / 479.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000393/0.1052, allocations: 127.2 kB / 479.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000305/0.1055, allocations: 206.8 kB / 479.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01189/0.1174, allocations: 5.329 MB / 484.7 MB, free: 6.199 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001698/0.1191, allocations: 1.958 MB / 486.7 MB, free: 4.238 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002024/0.1193, allocations: 109.7 kB / 486.8 MB, free: 4.125 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008002/0.1201, allocations: 0.6122 MB / 487.4 MB, free: 3.512 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.1212, allocations: 0.7911 MB / 488.2 MB, free: 2.719 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002237/0.1214, allocations: 139.9 kB / 488.3 MB, free: 2.582 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01131/0.1328, allocations: 6.712 MB / 495 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006433/0.1334, allocations: 475 kB / 495.5 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007336/0.1342, allocations: 0.5761 MB / 496.1 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008306/0.1425, allocations: 5.036 MB / 0.4894 GB, free: 5.773 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1425, allocations: 0 / 0.4894 GB, free: 5.773 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1425, allocations: 0 / 0.4894 GB, free: 5.773 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.495e-06/0.1425, allocations: 0 / 0.4894 GB, free: 5.773 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.007669/0.1502, allocations: 2.587 MB / 0.4919 GB, free: 3.133 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.1503, allocations: 11.89 kB / 0.4919 GB, free: 3.121 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001832/0.1505, allocations: 147.2 kB / 0.492 GB, free: 2.969 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001576/0.152, allocations: 295.8 kB / 0.4923 GB, free: 2.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000836/0.1529, allocations: 0.5858 MB / 0.4929 GB, free: 2.055 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007981/0.1537, allocations: 466.1 kB / 0.4933 GB, free: 1.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002009/0.1539, allocations: 72 kB / 0.4934 GB, free: 1.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007489/0.1614, allocations: 3.367 MB / 0.4967 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.1614, allocations: 4 kB / 0.4967 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001649/0.1616, allocations: 32 kB / 0.4967 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.412e-05/0.1617, allocations: 45.98 kB / 0.4968 GB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01276/0.1744, allocations: 5.401 MB / 0.502 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01355/0.188, allocations: 10.08 MB / 0.5119 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006711/0.1948, allocations: 2.734 MB / 0.5146 GB, free: 11.31 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005392/0.2002, allocations: 2.275 MB / 0.5168 GB, free: 9.035 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.227/0.4272, allocations: 53.42 MB / 0.569 GB, free: 50.83 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.4273, allocations: 48.31 kB / 0.569 GB, free: 50.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=88): time 3.677e-06/0.4273, allocations: 0 / 0.569 GB, free: 50.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=88): time 0.01582/0.4431, allocations: 6.64 MB / 0.5755 GB, free: 44.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/0.4431, allocations: 60.41 kB / 0.5755 GB, free: 44.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.4433, allocations: 249.5 kB / 0.5758 GB, free: 44.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001328/0.4435, allocations: 37.7 kB / 0.5758 GB, free: 44.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.685e-05/0.4436, allocations: 248.1 kB / 0.5761 GB, free: 44.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/0.4438, allocations: 301 kB / 0.5763 GB, free: 43.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005175/0.4443, allocations: 286.2 kB / 0.5766 GB, free: 43.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.982e-05/0.4444, allocations: 354.8 kB / 0.5769 GB, free: 43.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004558/0.4489, allocations: 2.144 MB / 0.579 GB, free: 41.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00466/0.4536, allocations: 2.257 MB / 0.5812 GB, free: 38.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008061/0.4617, allocations: 3.398 MB / 0.5846 GB, free: 35.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.4617, allocations: 0 / 0.5846 GB, free: 35.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.009697/0.4714, allocations: 4.137 MB / 0.5886 GB, free: 31.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.4715, allocations: 4 kB / 0.5886 GB, free: 31.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.4715, allocations: 11.73 kB / 0.5886 GB, free: 31.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.4715, allocations: 12.28 kB / 0.5886 GB, free: 31.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002906/0.4744, allocations: 0.8182 MB / 0.5894 GB, free: 30.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/0.4744, allocations: 10.81 kB / 0.5894 GB, free: 30.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002145/0.4766, allocations: 0.6033 MB / 0.59 GB, free: 29.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001944/0.4768, allocations: 95.8 kB / 0.5901 GB, free: 29.69 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 8 (fluidState[6].phase,fluidState[5].phase,fluidState[4].phase,fluidState[3].phase,fluidState[2].phase,fluidState[1].phase,heatTransfer.dew.phase,heatTransfer.bubble.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.0005087/0.4773, allocations: 262.3 kB / 0.5904 GB, free: 29.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002708/0.4776, allocations: 44.28 kB / 0.5904 GB, free: 29.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01126/0.4889, allocations: 6.523 MB / 0.5968 GB, free: 22.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01049/0.4994, allocations: 5.938 MB / 0.6026 GB, free: 16.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/0.4995, allocations: 0 / 0.6026 GB, free: 16.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.57e-05/0.4995, allocations: 11.81 kB / 0.6026 GB, free: 16.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01546/0.5149, allocations: 9.091 MB / 0.6115 GB, free: 7.789 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.515, allocations: 11.59 kB / 0.6115 GB, free: 7.781 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002716/0.5177, allocations: 0.8035 MB / 0.6123 GB, free: 6.984 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-05/0.5177, allocations: 4 kB / 0.6123 GB, free: 6.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001902/0.5179, allocations: 79.81 kB / 0.6123 GB, free: 6.902 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.764e-06/0.5179, allocations: 4 kB / 0.6124 GB, free: 6.898 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5179, allocations: 5.688 kB / 0.6124 GB, free: 6.895 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01026/0.5282, allocations: 4.836 MB / 0.6171 GB, free: 2.031 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.5284, allocations: 195.4 kB / 0.6173 GB, free: 1.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002919/0.5287, allocations: 16 kB / 0.6173 GB, free: 1.805 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002247/0.531, allocations: 0.5617 MB / 0.6178 GB, free: 1.242 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003082/0.5313, allocations: 145.4 kB / 0.618 GB, free: 1.105 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002256/0.5315, allocations: 83.81 kB / 0.6181 GB, free: 1.023 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001541/0.5317, allocations: 201.6 kB / 0.6182 GB, free: 0.832 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5317, allocations: 0 / 0.6182 GB, free: 0.832 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002973/0.5347, allocations: 1.279 MB / 0.6195 GB, free: 15.64 MB / 430.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: 18 ($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,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.01594/0.5506, allocations: 6.431 MB / 0.6258 GB, free: 9.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01157/0.5622, allocations: 4.886 MB / 0.6305 GB, free: 4.438 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.5623, allocations: 1.219 kB / 0.6305 GB, free: 4.438 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005843/0.5681, allocations: 2.718 MB / 0.6332 GB, free: 1.734 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/0.5697, allocations: 344.7 kB / 0.6335 GB, free: 1.426 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04152/0.6113, allocations: 18.64 MB / 0.6517 GB, free: 14.63 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006926/0.612, allocations: 1.121 MB / 0.6528 GB, free: 13.48 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001843/0.6139, allocations: 0.7142 MB / 0.6535 GB, free: 12.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001316/0.6152, allocations: 494.8 kB / 0.654 GB, free: 12.28 MB / 462.1 MB Notification: Performance of SimCode: time 6.21e-07/0.6152, allocations: 0 / 0.654 GB, free: 12.28 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2292/0.8444, allocations: 66.42 MB / 0.7189 GB, free: 174.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.117/9.961, allocations: 2.031 kB / 0.7189 GB, free: 174.9 MB / 0.4981 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe 2>&1)