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.001201/0.001201, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001216/0.001216, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.227/1.227, allocations: 205.1 MB / 223.7 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.253/0.253, allocations: 48.85 MB / 319.9 MB, free: 11.08 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.001369/0.001369, allocations: 69.5 kB / 390.2 MB, free: 48.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07562/0.077, allocations: 59.17 MB / 449.4 MB, free: 9.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.01578/0.09282, allocations: 16.09 MB / 465.4 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01291/0.1058, allocations: 13.55 MB / 479 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.1059, allocations: 0 / 479 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003819/0.1063, allocations: 135.2 kB / 479.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000282/0.1066, allocations: 202.8 kB / 479.3 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0114/0.118, allocations: 5.333 MB / 484.7 MB, free: 6.223 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001607/0.1197, allocations: 1.966 MB / 486.6 MB, free: 4.254 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001843/0.1199, allocations: 109.7 kB / 486.7 MB, free: 4.141 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005341/0.1204, allocations: 0.6161 MB / 487.3 MB, free: 3.523 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008838/0.1213, allocations: 0.7911 MB / 488.1 MB, free: 2.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001856/0.1215, allocations: 136 kB / 488.3 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01105/0.1325, allocations: 6.622 MB / 494.9 MB, free: 11.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004684/0.1331, allocations: 475 kB / 495.4 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006862/0.1338, allocations: 0.5723 MB / 495.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008965/0.1427, allocations: 5.025 MB / 0.4892 GB, free: 5.895 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1428, allocations: 3.938 kB / 0.4892 GB, free: 5.891 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1428, allocations: 0 / 0.4892 GB, free: 5.891 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.1428, allocations: 0 / 0.4892 GB, free: 5.891 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.008866/0.1517, allocations: 2.595 MB / 0.4917 GB, free: 3.242 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.1517, allocations: 11.89 kB / 0.4918 GB, free: 3.23 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000195/0.1519, allocations: 155.2 kB / 0.4919 GB, free: 3.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001553/0.1535, allocations: 295.9 kB / 0.4922 GB, free: 2.781 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000834/0.1543, allocations: 0.582 MB / 0.4928 GB, free: 2.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008664/0.1552, allocations: 454.2 kB / 0.4932 GB, free: 1.688 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002376/0.1555, allocations: 75.94 kB / 0.4933 GB, free: 1.613 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008404/0.1639, allocations: 3.378 MB / 0.4966 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.1639, allocations: 3.938 kB / 0.4966 GB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001964/0.1641, allocations: 28 kB / 0.4966 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.619e-05/0.1642, allocations: 53.97 kB / 0.4966 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01447/0.1786, allocations: 5.397 MB / 0.5019 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01421/0.1929, allocations: 10.09 MB / 0.5118 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007502/0.2004, allocations: 2.734 MB / 0.5144 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006226/0.2067, allocations: 2.283 MB / 0.5167 GB, free: 9.117 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2371/0.4437, allocations: 53.43 MB / 0.5688 GB, free: 50.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/0.4438, allocations: 42.31 kB / 0.5689 GB, free: 50.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=88): time 2.905e-06/0.4438, allocations: 4 kB / 0.5689 GB, free: 50.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=88): time 0.01845/0.4623, allocations: 6.63 MB / 0.5754 GB, free: 44.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.4623, allocations: 60.41 kB / 0.5754 GB, free: 44.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.4625, allocations: 248.9 kB / 0.5757 GB, free: 44.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001379/0.4627, allocations: 41.7 kB / 0.5757 GB, free: 44.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.352e-05/0.4628, allocations: 251.2 kB / 0.5759 GB, free: 44.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002609/0.4631, allocations: 306.2 kB / 0.5762 GB, free: 43.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000524/0.4636, allocations: 282.2 kB / 0.5765 GB, free: 43.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.118e-05/0.4637, allocations: 358.8 kB / 0.5768 GB, free: 43.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005451/0.4691, allocations: 2.144 MB / 0.5789 GB, free: 41.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00554/0.4747, allocations: 2.251 MB / 0.5811 GB, free: 38.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009909/0.4846, allocations: 3.398 MB / 0.5845 GB, free: 35.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.4846, allocations: 0 / 0.5845 GB, free: 35.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01132/0.4959, allocations: 4.136 MB / 0.5885 GB, free: 31.19 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.496, allocations: 8 kB / 0.5885 GB, free: 31.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.496, allocations: 3.75 kB / 0.5885 GB, free: 31.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.496, allocations: 8.281 kB / 0.5885 GB, free: 31.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003255/0.4993, allocations: 0.8191 MB / 0.5893 GB, free: 30.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.4993, allocations: 12 kB / 0.5893 GB, free: 30.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002556/0.5019, allocations: 0.6103 MB / 0.5899 GB, free: 29.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001686/0.502, allocations: 91.81 kB / 0.59 GB, free: 29.65 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.0005171/0.5026, allocations: 263.7 kB / 0.5903 GB, free: 29.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002742/0.5028, allocations: 48.28 kB / 0.5903 GB, free: 29.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01272/0.5156, allocations: 6.535 MB / 0.5967 GB, free: 22.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01183/0.5274, allocations: 5.937 MB / 0.6025 GB, free: 16.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.5274, allocations: 0 / 0.6025 GB, free: 16.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.5275, allocations: 3.984 kB / 0.6025 GB, free: 16.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01632/0.5438, allocations: 9.105 MB / 0.6114 GB, free: 7.727 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/0.5438, allocations: 3.938 kB / 0.6114 GB, free: 7.723 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003176/0.547, allocations: 0.8034 MB / 0.6122 GB, free: 6.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.547, allocations: 4 kB / 0.6122 GB, free: 6.926 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001542/0.5472, allocations: 85.42 kB / 0.6123 GB, free: 6.844 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.5472, allocations: 4 kB / 0.6123 GB, free: 6.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5472, allocations: 0 / 0.6123 GB, free: 6.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01136/0.5586, allocations: 4.838 MB / 0.617 GB, free: 1.977 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.5587, allocations: 195.4 kB / 0.6172 GB, free: 1.766 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002251/0.5589, allocations: 19.98 kB / 0.6172 GB, free: 1.746 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002597/0.5616, allocations: 0.5617 MB / 0.6177 GB, free: 1.184 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002811/0.5618, allocations: 139.2 kB / 0.6179 GB, free: 1.051 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001619/0.562, allocations: 87.81 kB / 0.618 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001409/0.5622, allocations: 193.9 kB / 0.6181 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5622, allocations: 0 / 0.6181 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002832/0.565, allocations: 1.283 MB / 0.6194 GB, free: 15.58 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.01694/0.5819, allocations: 6.436 MB / 0.6257 GB, free: 9.316 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0148/0.5968, allocations: 5.351 MB / 0.6309 GB, free: 3.98 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.5968, allocations: 4 kB / 0.6309 GB, free: 3.977 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006718/0.6035, allocations: 2.715 MB / 0.6336 GB, free: 1.277 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001847/0.6054, allocations: 342.5 kB / 0.6339 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04564/0.651, allocations: 18.6 MB / 0.652 GB, free: 14.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005638/0.6516, allocations: 1.121 MB / 0.6531 GB, free: 13.05 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002003/0.6536, allocations: 0.7151 MB / 0.6538 GB, free: 12.34 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001261/0.6549, allocations: 494.9 kB / 0.6543 GB, free: 11.86 MB / 462.1 MB Notification: Performance of SimCode: time 1.062e-06/0.6549, allocations: 0 / 0.6543 GB, free: 11.86 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2409/0.8958, allocations: 66.59 MB / 0.7193 GB, free: 175.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.406/10.3, allocations: 6.797 kB / 0.7194 GB, free: 175.3 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 & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe 2>&1)