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.001484/0.001484, allocations: 113.6 kB / 16.63 MB, free: 6.332 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.001673/0.001673, allocations: 191.1 kB / 17.55 MB, free: 5.801 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.157/1.157, allocations: 205.1 MB / 223.4 MB, free: 12.37 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2316/0.2316, allocations: 48.83 MB / 319.6 MB, free: 11.26 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.00135/0.00135, allocations: 62.5 kB / 389.7 MB, free: 48.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07488/0.07624, allocations: 59.15 MB / 448.8 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.01587/0.09216, allocations: 16.2 MB / 465 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01338/0.1056, allocations: 13.62 MB / 478.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001902/0.1058, allocations: 4 kB / 478.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003848/0.1062, allocations: 131.3 kB / 478.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002751/0.1065, allocations: 190.9 kB / 478.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01138/0.1179, allocations: 4.702 MB / 483.6 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001624/0.1195, allocations: 1.958 MB / 485.6 MB, free: 5.105 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.1197, allocations: 113.7 kB / 485.7 MB, free: 4.988 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005752/0.1203, allocations: 0.6161 MB / 486.3 MB, free: 4.371 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009117/0.1212, allocations: 0.8301 MB / 487.2 MB, free: 3.539 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001595/0.1214, allocations: 136 kB / 487.3 MB, free: 3.406 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01009/0.1315, allocations: 6.677 MB / 494 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004009/0.1319, allocations: 475 kB / 494.4 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006525/0.1326, allocations: 0.5879 MB / 495 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007623/0.1402, allocations: 5.048 MB / 0.4883 GB, free: 6.609 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1402, allocations: 3.984 kB / 0.4884 GB, free: 6.605 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1402, allocations: 0 / 0.4884 GB, free: 6.605 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.77e-05/0.1402, allocations: 0 / 0.4884 GB, free: 6.605 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.008381/0.1486, allocations: 2.583 MB / 0.4909 GB, free: 3.969 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.1487, allocations: 11.89 kB / 0.4909 GB, free: 3.957 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001932/0.1489, allocations: 151.2 kB / 0.491 GB, free: 3.801 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001579/0.1505, allocations: 291.9 kB / 0.4913 GB, free: 3.516 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007528/0.1512, allocations: 0.5808 MB / 0.4919 GB, free: 2.895 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008129/0.152, allocations: 462.2 kB / 0.4923 GB, free: 2.414 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002223/0.1523, allocations: 79.92 kB / 0.4924 GB, free: 2.336 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007974/0.1603, allocations: 3.363 MB / 0.4957 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.1603, allocations: 4 kB / 0.4957 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000181/0.1605, allocations: 32 kB / 0.4957 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.29e-05/0.1606, allocations: 49.97 kB / 0.4958 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01341/0.174, allocations: 5.397 MB / 0.501 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01365/0.1876, allocations: 10.08 MB / 0.5109 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006893/0.1946, allocations: 2.734 MB / 0.5135 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005648/0.2002, allocations: 2.279 MB / 0.5158 GB, free: 9.863 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2222/0.4224, allocations: 53.42 MB / 0.5679 GB, free: 52.19 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.4225, allocations: 50.02 kB / 0.568 GB, free: 52.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=88): time 2.164e-06/0.4225, allocations: 0 / 0.568 GB, free: 52.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=88): time 0.01663/0.4391, allocations: 6.629 MB / 0.5745 GB, free: 45.74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.025e-05/0.4392, allocations: 60.41 kB / 0.5745 GB, free: 45.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.4394, allocations: 249.2 kB / 0.5748 GB, free: 45.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001482/0.4395, allocations: 43.02 kB / 0.5748 GB, free: 45.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.163e-05/0.4396, allocations: 246.3 kB / 0.575 GB, free: 45.17 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002452/0.4399, allocations: 303 kB / 0.5753 GB, free: 44.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000534/0.4404, allocations: 290.2 kB / 0.5756 GB, free: 44.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.087e-05/0.4405, allocations: 350.8 kB / 0.5759 GB, free: 44.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004832/0.4453, allocations: 2.153 MB / 0.578 GB, free: 42.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004908/0.4502, allocations: 2.25 MB / 0.5802 GB, free: 39.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008712/0.4589, allocations: 3.4 MB / 0.5836 GB, free: 36.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.4589, allocations: 7.844 kB / 0.5836 GB, free: 36.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01008/0.469, allocations: 4.135 MB / 0.5876 GB, free: 32.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.4691, allocations: 8 kB / 0.5876 GB, free: 32.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.4691, allocations: 9.438 kB / 0.5876 GB, free: 32.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.4691, allocations: 4.656 kB / 0.5876 GB, free: 32.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002966/0.4721, allocations: 0.8227 MB / 0.5884 GB, free: 31.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.4721, allocations: 4 kB / 0.5884 GB, free: 31.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002402/0.4745, allocations: 0.6249 MB / 0.589 GB, free: 30.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001812/0.4747, allocations: 95.8 kB / 0.5891 GB, free: 30.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.0004967/0.4752, allocations: 262.9 kB / 0.5894 GB, free: 30.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002594/0.4754, allocations: 49.44 kB / 0.5894 GB, free: 30.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01142/0.4869, allocations: 6.538 MB / 0.5958 GB, free: 23.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01073/0.4976, allocations: 5.936 MB / 0.6016 GB, free: 17.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.4976, allocations: 7.938 kB / 0.6016 GB, free: 17.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.4977, allocations: 3.984 kB / 0.6016 GB, free: 17.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01473/0.5124, allocations: 9.092 MB / 0.6105 GB, free: 8.777 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.5124, allocations: 0 / 0.6105 GB, free: 8.777 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002848/0.5153, allocations: 0.8082 MB / 0.6113 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.5153, allocations: 4 kB / 0.6113 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001633/0.5155, allocations: 79.81 kB / 0.6114 GB, free: 7.895 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.217e-06/0.5155, allocations: 4 kB / 0.6114 GB, free: 7.891 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.5155, allocations: 7.188 kB / 0.6114 GB, free: 7.887 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01024/0.5257, allocations: 4.839 MB / 0.6161 GB, free: 3.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.5259, allocations: 195.4 kB / 0.6163 GB, free: 2.809 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002189/0.5261, allocations: 16 kB / 0.6163 GB, free: 2.793 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002359/0.5284, allocations: 0.5974 MB / 0.6169 GB, free: 2.195 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002586/0.5287, allocations: 140.6 kB / 0.617 GB, free: 2.059 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001712/0.5289, allocations: 83.81 kB / 0.6171 GB, free: 1.977 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.529, allocations: 199.5 kB / 0.6173 GB, free: 1.781 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.529, allocations: 0 / 0.6173 GB, free: 1.781 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00252/0.5316, allocations: 1.278 MB / 0.6185 GB, free: 0.5898 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: 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.01556/0.5471, allocations: 6.441 MB / 0.6248 GB, free: 10.26 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01338/0.5605, allocations: 5.356 MB / 0.6301 GB, free: 4.922 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5605, allocations: 0 / 0.6301 GB, free: 4.922 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006185/0.5667, allocations: 2.712 MB / 0.6327 GB, free: 2.223 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/0.5684, allocations: 350.4 kB / 0.633 GB, free: 1.906 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04269/0.6111, allocations: 19.09 MB / 0.6517 GB, free: 14.67 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006645/0.6118, allocations: 1.125 MB / 0.6528 GB, free: 13.52 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002047/0.6139, allocations: 0.7097 MB / 0.6535 GB, free: 12.81 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00128/0.6152, allocations: 486.9 kB / 0.6539 GB, free: 12.33 MB / 462.1 MB Notification: Performance of SimCode: time 5.01e-07/0.6152, allocations: 4 kB / 0.654 GB, free: 12.33 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2261/0.8412, allocations: 66.15 MB / 0.7185 GB, free: 175.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001361/0.8414, allocations: 221.2 kB / 0.7188 GB, free: 175.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.077/4.919, allocations: 0 / 0.7188 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 & /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)