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: translateModel(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB") translateModel(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001079, allocations: 98.77 kB / 16.5 MB, free: 6.652 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.001197/0.001197, allocations: 190.4 kB / 17.42 MB, free: 6.07 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.234/1.234, allocations: 205.1 MB / 223.3 MB, free: 12.38 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2486/0.2486, allocations: 48.83 MB / 319.4 MB, free: 11.31 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.002263/0.002263, allocations: 64.84 kB / 389.4 MB, free: 49 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09587/0.09815, allocations: 59.16 MB / 448.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.0187/0.1169, allocations: 16.91 MB / 465.4 MB, free: 9.293 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01516/0.1321, allocations: 14.54 MB / 480 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002373/0.1324, allocations: 4 kB / 480 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004313/0.1329, allocations: 119.3 kB / 480.1 MB, free: 10.58 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003387/0.1332, allocations: 207 kB / 480.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01158/0.1448, allocations: 4.21 MB / 484.5 MB, free: 6.156 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001912/0.1468, allocations: 2.169 MB / 486.7 MB, free: 3.984 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/0.147, allocations: 105.2 kB / 486.8 MB, free: 3.879 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006005/0.1476, allocations: 0.5496 MB / 487.3 MB, free: 3.328 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009709/0.1486, allocations: 0.795 MB / 488.1 MB, free: 2.531 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001793/0.1488, allocations: 80 kB / 488.2 MB, free: 2.453 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01149/0.1602, allocations: 6.653 MB / 494.8 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004525/0.1607, allocations: 411 kB / 495.3 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007614/0.1615, allocations: 0.5254 MB / 495.8 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009734/0.1713, allocations: 4.985 MB / 0.489 GB, free: 5.867 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1713, allocations: 4 kB / 0.489 GB, free: 5.863 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1713, allocations: 0 / 0.489 GB, free: 5.863 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.535e-05/0.1713, allocations: 0 / 0.489 GB, free: 5.863 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.008819/0.1802, allocations: 2.594 MB / 0.4916 GB, free: 3.215 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.1802, allocations: 8.031 kB / 0.4916 GB, free: 3.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001681/0.1819, allocations: 291.9 kB / 0.4918 GB, free: 2.922 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008685/0.1828, allocations: 0.5785 MB / 0.4924 GB, free: 2.305 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008497/0.1836, allocations: 462.1 kB / 0.4929 GB, free: 1.824 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002478/0.1839, allocations: 72 kB / 0.4929 GB, free: 1.754 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008387/0.1923, allocations: 3.374 MB / 0.4962 GB, free: 14.37 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.1923, allocations: 0 / 0.4962 GB, free: 14.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001947/0.1925, allocations: 36 kB / 0.4963 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-05/0.1926, allocations: 49.97 kB / 0.4963 GB, free: 14.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01378/0.2064, allocations: 5.397 MB / 0.5016 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01472/0.2211, allocations: 10.08 MB / 0.5114 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007203/0.2284, allocations: 2.731 MB / 0.5141 GB, free: 11.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005875/0.2343, allocations: 2.279 MB / 0.5163 GB, free: 9.277 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2406/0.4749, allocations: 53.43 MB / 0.5685 GB, free: 51.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.475, allocations: 37.62 kB / 0.5685 GB, free: 51.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=88): time 3.277e-06/0.475, allocations: 5.312 kB / 0.5685 GB, free: 51.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=88): time 0.01775/0.4927, allocations: 6.635 MB / 0.575 GB, free: 45.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/0.4928, allocations: 60.41 kB / 0.5751 GB, free: 45.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.493, allocations: 249.1 kB / 0.5753 GB, free: 44.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001505/0.4932, allocations: 41.7 kB / 0.5753 GB, free: 44.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.84e-05/0.4933, allocations: 249.5 kB / 0.5756 GB, free: 44.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002761/0.4935, allocations: 300.1 kB / 0.5759 GB, free: 44.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000583/0.4941, allocations: 290.2 kB / 0.5761 GB, free: 43.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.643e-05/0.4942, allocations: 353.8 kB / 0.5765 GB, free: 43.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005163/0.4994, allocations: 2.148 MB / 0.5786 GB, free: 41.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005182/0.5046, allocations: 2.255 MB / 0.5808 GB, free: 39.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009091/0.5137, allocations: 3.398 MB / 0.5841 GB, free: 35.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/0.5137, allocations: 0 / 0.5841 GB, free: 35.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01053/0.5242, allocations: 4.132 MB / 0.5881 GB, free: 31.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.5243, allocations: 16.27 kB / 0.5881 GB, free: 31.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.5243, allocations: 0 / 0.5881 GB, free: 31.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.5243, allocations: 11.56 kB / 0.5882 GB, free: 31.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003263/0.5276, allocations: 0.8156 MB / 0.589 GB, free: 30.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.5276, allocations: 13.25 kB / 0.589 GB, free: 30.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002682/0.5303, allocations: 0.6263 MB / 0.5896 GB, free: 30.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002027/0.5305, allocations: 95.8 kB / 0.5897 GB, free: 30.06 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.00058/0.5311, allocations: 269.2 kB / 0.5899 GB, free: 29.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003109/0.5314, allocations: 52.38 kB / 0.59 GB, free: 29.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01231/0.5437, allocations: 6.53 MB / 0.5964 GB, free: 23.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01133/0.5551, allocations: 5.933 MB / 0.6021 GB, free: 17.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.5551, allocations: 7.828 kB / 0.6022 GB, free: 17.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.5551, allocations: 7.828 kB / 0.6022 GB, free: 17.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01603/0.5712, allocations: 9.103 MB / 0.6111 GB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.5712, allocations: 0 / 0.6111 GB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003136/0.5743, allocations: 0.8049 MB / 0.6118 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.5744, allocations: 4 kB / 0.6118 GB, free: 7.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000176/0.5745, allocations: 83.81 kB / 0.6119 GB, free: 7.258 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.5745, allocations: 4 kB / 0.6119 GB, free: 7.254 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5746, allocations: 0 / 0.6119 GB, free: 7.254 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01075/0.5853, allocations: 4.842 MB / 0.6167 GB, free: 2.387 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.5855, allocations: 191.5 kB / 0.6168 GB, free: 2.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002381/0.5857, allocations: 19.91 kB / 0.6169 GB, free: 2.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002519/0.5883, allocations: 0.5928 MB / 0.6174 GB, free: 1.566 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003022/0.5886, allocations: 140.6 kB / 0.6176 GB, free: 1.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001903/0.5888, allocations: 87.81 kB / 0.6177 GB, free: 1.344 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001427/0.5889, allocations: 191.6 kB / 0.6178 GB, free: 1.156 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5889, allocations: 0 / 0.6178 GB, free: 1.156 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002766/0.5917, allocations: 1.271 MB / 0.6191 GB, free: 15.96 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.003795/0.5955, allocations: 1.162 MB / 0.6202 GB, free: 14.95 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01258/0.6081, allocations: 4.881 MB / 0.625 GB, free: 10.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.6081, allocations: 0 / 0.625 GB, free: 10.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006486/0.6146, allocations: 2.712 MB / 0.6276 GB, free: 7.383 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001897/0.6165, allocations: 341.6 kB / 0.628 GB, free: 7.062 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/0.6268, allocations: 5.029 MB / 0.6329 GB, free: 2.004 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005969/0.6274, allocations: 1.121 MB / 0.634 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00209/0.6295, allocations: 0.7104 MB / 0.6347 GB, free: 168 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001207/0.6308, allocations: 219 kB / 0.6349 GB, free: 15.95 MB / 446.1 MB Notification: Performance of SimCode: time 7.21e-07/0.6308, allocations: 0 / 0.6349 GB, free: 15.95 MB / 446.1 MB Notification: Performance of Templates: time 0.06754/0.6983, allocations: 56.49 MB / 0.69 GB, free: 7.355 MB / 494.1 MB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.makefile (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 & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe 2>&1)