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.0007547/0.0007547, allocations: 90.72 kB / 16.65 MB, free: 6.535 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.0007709/0.0007709, allocations: 177 kB / 17.56 MB, free: 6.18 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.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2479/0.2479, allocations: 48.79 MB / 320.8 MB, free: 11.12 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.0008159/0.0008159, allocations: 14.81 kB / 391.8 MB, free: 50.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1038, allocations: 60.27 MB / 452.1 MB, free: 9.195 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.01711/0.121, allocations: 16.37 MB / 468.4 MB, free: 8.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01574/0.1367, allocations: 14.31 MB / 482.8 MB, free: 10.42 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001961/0.137, allocations: 3.938 kB / 482.8 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003895/0.1374, allocations: 127.4 kB / 482.9 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000342/0.1377, allocations: 199 kB / 483.1 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01075/0.1485, allocations: 4.198 MB / 487.3 MB, free: 5.883 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001912/0.1504, allocations: 2.176 MB / 489.5 MB, free: 3.703 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.1506, allocations: 101.2 kB / 489.6 MB, free: 3.602 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007453/0.1514, allocations: 0.5419 MB / 490.1 MB, free: 3.059 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.1526, allocations: 0.7833 MB / 490.9 MB, free: 2.273 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002294/0.1528, allocations: 83.98 kB / 491 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01077/0.1636, allocations: 6.649 MB / 497.6 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004486/0.1641, allocations: 410.9 kB / 498 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007559/0.1648, allocations: 0.5505 MB / 498.6 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007606/0.1724, allocations: 4.946 MB / 0.4917 GB, free: 5.617 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1725, allocations: 0 / 0.4917 GB, free: 5.617 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1725, allocations: 4 kB / 0.4917 GB, free: 5.613 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.105e-05/0.1725, allocations: 0 / 0.4917 GB, free: 5.613 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.009193/0.1817, allocations: 2.587 MB / 0.4942 GB, free: 2.973 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.1817, allocations: 8.031 kB / 0.4942 GB, free: 2.965 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001743/0.1835, allocations: 307.7 kB / 0.4945 GB, free: 2.664 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009289/0.1844, allocations: 0.5772 MB / 0.4951 GB, free: 2.047 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001045/0.1855, allocations: 0.5215 MB / 0.4956 GB, free: 1.496 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003008/0.1858, allocations: 68 kB / 0.4957 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009894/0.1957, allocations: 3.867 MB / 0.4994 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.1957, allocations: 8 kB / 0.4995 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002231/0.196, allocations: 31.98 kB / 0.4995 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.646e-05/0.1961, allocations: 45.98 kB / 0.4995 GB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01712/0.2132, allocations: 6.397 MB / 0.5058 GB, free: 7.066 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01611/0.2293, allocations: 10.58 MB / 0.5161 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008471/0.2378, allocations: 3.23 MB / 0.5193 GB, free: 8.734 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007205/0.2451, allocations: 2.779 MB / 0.522 GB, free: 5.953 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2647/0.5098, allocations: 53.94 MB / 0.5747 GB, free: 47.08 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/0.5099, allocations: 46.19 kB / 0.5747 GB, free: 47.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=88): time 2.705e-06/0.5099, allocations: 0.875 kB / 0.5747 GB, free: 47.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=88): time 0.02138/0.5313, allocations: 8.126 MB / 0.5826 GB, free: 39.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.5313, allocations: 60.41 kB / 0.5827 GB, free: 39.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/0.5316, allocations: 252 kB / 0.5829 GB, free: 39.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001967/0.5318, allocations: 41.7 kB / 0.583 GB, free: 39.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.5319, allocations: 254.3 kB / 0.5832 GB, free: 38.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003108/0.5322, allocations: 301.9 kB / 0.5835 GB, free: 38.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002247/0.5325, allocations: 77.52 kB / 0.5836 GB, free: 38.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.252e-05/0.5325, allocations: 354.8 kB / 0.5839 GB, free: 38.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006259/0.5388, allocations: 2.64 MB / 0.5865 GB, free: 35.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006297/0.5451, allocations: 2.751 MB / 0.5892 GB, free: 32.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01129/0.5564, allocations: 4.402 MB / 0.5935 GB, free: 28.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.5564, allocations: 0 / 0.5935 GB, free: 28.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01268/0.5691, allocations: 5.131 MB / 0.5985 GB, free: 23.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.5692, allocations: 8 kB / 0.5985 GB, free: 23.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.5692, allocations: 4 kB / 0.5985 GB, free: 23.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.5692, allocations: 7.562 kB / 0.5985 GB, free: 23.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00373/0.5729, allocations: 1.069 MB / 0.5996 GB, free: 22.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/0.573, allocations: 12.86 kB / 0.5996 GB, free: 22.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003217/0.5762, allocations: 0.8686 MB / 0.6004 GB, free: 21.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000202/0.5764, allocations: 91.81 kB / 0.6005 GB, free: 21.07 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.0005491/0.577, allocations: 277.5 kB / 0.6008 GB, free: 20.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002289/0.5772, allocations: 45.12 kB / 0.6008 GB, free: 20.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01455/0.5917, allocations: 7.535 MB / 0.6082 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01334/0.6051, allocations: 6.925 MB / 0.6149 GB, free: 6.281 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.6051, allocations: 0 / 0.6149 GB, free: 6.281 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.6052, allocations: 7.984 kB / 0.6149 GB, free: 6.273 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01954/0.6247, allocations: 10.23 MB / 0.6249 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.6247, allocations: 0 / 0.6249 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003957/0.6287, allocations: 1.05 MB / 0.626 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.36e-05/0.6287, allocations: 7.75 kB / 0.626 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001876/0.6289, allocations: 79.81 kB / 0.626 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.383e-06/0.6289, allocations: 4 kB / 0.626 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6289, allocations: 0 / 0.626 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01473/0.6437, allocations: 5.839 MB / 0.6317 GB, free: 5.012 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002142/0.6439, allocations: 201 kB / 0.6319 GB, free: 4.797 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002278/0.6442, allocations: 16 kB / 0.632 GB, free: 4.781 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003282/0.6474, allocations: 0.8389 MB / 0.6328 GB, free: 3.941 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003229/0.6478, allocations: 140.6 kB / 0.6329 GB, free: 3.805 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002004/0.648, allocations: 87.81 kB / 0.633 GB, free: 3.719 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001938/0.6482, allocations: 190 kB / 0.6332 GB, free: 3.531 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.6482, allocations: 4 kB / 0.6332 GB, free: 3.527 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003242/0.6514, allocations: 1.281 MB / 0.6344 GB, free: 2.332 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.004379/0.6558, allocations: 1.15 MB / 0.6356 GB, free: 1.359 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01498/0.6708, allocations: 5.876 MB / 0.6413 GB, free: 11.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.6708, allocations: 0 / 0.6413 GB, free: 11.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007736/0.6786, allocations: 3.211 MB / 0.6444 GB, free: 8.266 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002109/0.6807, allocations: 340.5 kB / 0.6447 GB, free: 7.941 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01265/0.6934, allocations: 5.871 MB / 0.6505 GB, free: 2.031 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00067/0.6941, allocations: 1.122 MB / 0.6516 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002143/0.6962, allocations: 0.7186 MB / 0.6523 GB, free: 184 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/0.6974, allocations: 211 kB / 0.6525 GB, free: 15.97 MB / 462.1 MB Notification: Performance of SimCode: time 6.42e-07/0.6974, allocations: 4 kB / 0.6525 GB, free: 15.96 MB / 462.1 MB Notification: Performance of Templates: time 0.07489/0.7723, allocations: 56.23 MB / 0.7074 GB, free: 7.594 MB / 0.4981 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: