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.0009949/0.0009949, allocations: 112.7 kB / 16.62 MB, free: 6.816 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.000999/0.0009991, allocations: 189.8 kB / 17.55 MB, free: 5.934 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.264/1.264, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2542/0.2542, allocations: 48.83 MB / 319.6 MB, free: 11.28 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.001302/0.001302, allocations: 67.58 kB / 389.6 MB, free: 48.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07832/0.07963, allocations: 59.16 MB / 448.7 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.01592/0.09558, allocations: 16.19 MB / 464.9 MB, free: 9.879 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01376/0.1094, allocations: 13.62 MB / 478.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002206/0.1097, allocations: 7.938 kB / 478.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004488/0.1101, allocations: 119.4 kB / 478.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003226/0.1105, allocations: 191 kB / 478.8 MB, free: 11.9 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01139/0.1219, allocations: 4.706 MB / 483.5 MB, free: 7.18 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001556/0.1234, allocations: 1.95 MB / 485.5 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.1236, allocations: 117.6 kB / 485.6 MB, free: 5.105 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005203/0.1242, allocations: 0.6161 MB / 486.2 MB, free: 4.488 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009299/0.1251, allocations: 0.8302 MB / 487.1 MB, free: 3.656 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001732/0.1253, allocations: 136 kB / 487.2 MB, free: 3.523 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01069/0.136, allocations: 6.684 MB / 493.9 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004706/0.1365, allocations: 475 kB / 494.3 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007644/0.1373, allocations: 0.5918 MB / 494.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008567/0.1458, allocations: 5.036 MB / 500 MB, free: 6.727 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1459, allocations: 4 kB / 500 MB, free: 6.723 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1459, allocations: 0 / 500 MB, free: 6.723 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.1459, allocations: 0 / 500 MB, free: 6.723 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.008911/0.1548, allocations: 2.598 MB / 0.4908 GB, free: 4.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.1549, allocations: 15.83 kB / 0.4908 GB, free: 4.055 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001701/0.1566, allocations: 287.9 kB / 0.4911 GB, free: 3.773 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008224/0.1574, allocations: 0.5695 MB / 0.4916 GB, free: 3.164 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008659/0.1583, allocations: 470 kB / 0.4921 GB, free: 2.676 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002451/0.1585, allocations: 75.98 kB / 0.4922 GB, free: 2.602 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008511/0.167, allocations: 3.367 MB / 0.4954 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.1671, allocations: 3.938 kB / 0.4954 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001951/0.1673, allocations: 32 kB / 0.4955 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.808e-05/0.1674, allocations: 49.97 kB / 0.4955 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01414/0.1815, allocations: 5.397 MB / 0.5008 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01485/0.1964, allocations: 10.08 MB / 0.5106 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007519/0.2039, allocations: 2.742 MB / 0.5133 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00627/0.2102, allocations: 2.275 MB / 0.5155 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2489/0.4591, allocations: 53.43 MB / 0.5677 GB, free: 51.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.4592, allocations: 42.88 kB / 0.5678 GB, free: 51.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=88): time 2.956e-06/0.4592, allocations: 0 / 0.5678 GB, free: 51.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=88): time 0.01816/0.4774, allocations: 6.627 MB / 0.5742 GB, free: 45.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.4775, allocations: 68.41 kB / 0.5743 GB, free: 45.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003111/0.4778, allocations: 245.8 kB / 0.5745 GB, free: 45.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002433/0.478, allocations: 41.7 kB / 0.5746 GB, free: 45.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.4782, allocations: 253.1 kB / 0.5748 GB, free: 45.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003363/0.4785, allocations: 298.4 kB / 0.5751 GB, free: 44.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005855/0.4791, allocations: 286.2 kB / 0.5754 GB, free: 44.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.728e-05/0.4792, allocations: 354.8 kB / 0.5757 GB, free: 44.33 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005158/0.4844, allocations: 2.148 MB / 0.5778 GB, free: 42.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005576/0.49, allocations: 2.254 MB / 0.58 GB, free: 39.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00967/0.4997, allocations: 3.398 MB / 0.5833 GB, free: 36.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.4997, allocations: 0 / 0.5833 GB, free: 36.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01089/0.5106, allocations: 4.139 MB / 0.5874 GB, free: 32.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.5106, allocations: 4.938 kB / 0.5874 GB, free: 32.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.5106, allocations: 4 kB / 0.5874 GB, free: 32.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.5107, allocations: 7.562 kB / 0.5874 GB, free: 32.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003229/0.5139, allocations: 0.8215 MB / 0.5882 GB, free: 31.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.5139, allocations: 9.969 kB / 0.5882 GB, free: 31.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002552/0.5165, allocations: 0.6258 MB / 0.5888 GB, free: 30.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002042/0.5167, allocations: 91.81 kB / 0.5889 GB, free: 30.79 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.0005419/0.5173, allocations: 271.2 kB / 0.5891 GB, free: 30.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002782/0.5175, allocations: 44.47 kB / 0.5892 GB, free: 30.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01222/0.5298, allocations: 6.539 MB / 0.5956 GB, free: 23.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01127/0.5411, allocations: 5.935 MB / 0.6014 GB, free: 17.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.5411, allocations: 3.938 kB / 0.6014 GB, free: 17.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.5411, allocations: 3.984 kB / 0.6014 GB, free: 17.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01584/0.557, allocations: 9.103 MB / 0.6103 GB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.557, allocations: 4 kB / 0.6103 GB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003048/0.5601, allocations: 0.7988 MB / 0.6111 GB, free: 8.066 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.5601, allocations: 7.984 kB / 0.6111 GB, free: 8.059 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000186/0.5603, allocations: 83.61 kB / 0.6111 GB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.5603, allocations: 4 kB / 0.6111 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5603, allocations: 4 kB / 0.6111 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01097/0.5713, allocations: 4.836 MB / 0.6159 GB, free: 3.109 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.5714, allocations: 204.5 kB / 0.6161 GB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002355/0.5717, allocations: 16 kB / 0.6161 GB, free: 2.875 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002521/0.5742, allocations: 0.596 MB / 0.6167 GB, free: 2.281 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002943/0.5745, allocations: 140.6 kB / 0.6168 GB, free: 2.145 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001847/0.5747, allocations: 83.81 kB / 0.6169 GB, free: 2.062 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000144/0.5748, allocations: 194 kB / 0.6171 GB, free: 1.871 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5748, allocations: 1.406 kB / 0.6171 GB, free: 1.871 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002666/0.5775, allocations: 1.278 MB / 0.6183 GB, free: 0.6797 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.003489/0.581, allocations: 1.145 MB / 0.6194 GB, free: 15.67 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01391/0.5949, allocations: 5.349 MB / 0.6247 GB, free: 10.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.595, allocations: 0 / 0.6247 GB, free: 10.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006458/0.6014, allocations: 2.72 MB / 0.6273 GB, free: 7.641 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/0.6033, allocations: 351 kB / 0.6276 GB, free: 7.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/0.614, allocations: 5.031 MB / 0.6326 GB, free: 2.258 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000606/0.6146, allocations: 1.123 MB / 0.6337 GB, free: 1.105 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002232/0.6169, allocations: 0.7089 MB / 0.6343 GB, free: 412 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/0.618, allocations: 223 kB / 0.6346 GB, free: 188 kB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.618, allocations: 4.484 kB / 0.6346 GB, free: 184 kB / 430.1 MB Notification: Performance of Templates: time 0.07314/0.6912, allocations: 57.78 MB / 0.691 GB, free: 6.281 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)