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.00152/0.00152, allocations: 112.9 kB / 17.69 MB, free: 5.309 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.001699/0.001699, allocations: 192 kB / 18.63 MB, free: 4.375 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.278/1.278, allocations: 205.1 MB / 224.5 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.258/0.258, allocations: 48.84 MB / 320.7 MB, free: 11.04 MB / 270.1 MB 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.001456/0.001457, allocations: 76.52 kB / 391.5 MB, free: 48.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07558/0.07705, allocations: 59.17 MB / 450.7 MB, free: 9.02 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.01786/0.09494, allocations: 16.09 MB / 466.8 MB, free: 8.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01427/0.1092, allocations: 13.55 MB / 480.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001914/0.1095, allocations: 4 kB / 480.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003914/0.1099, allocations: 127.2 kB / 480.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000312/0.1102, allocations: 202.8 kB / 480.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01221/0.1224, allocations: 5.333 MB / 486 MB, free: 5.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001756/0.1242, allocations: 1.958 MB / 488 MB, free: 3.629 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.1244, allocations: 109.7 kB / 488.1 MB, free: 3.516 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005544/0.125, allocations: 0.6199 MB / 488.7 MB, free: 2.895 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.126, allocations: 0.7873 MB / 489.5 MB, free: 2.105 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001751/0.1262, allocations: 136 kB / 489.6 MB, free: 1.973 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01161/0.1378, allocations: 6.774 MB / 496.4 MB, free: 11.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000471/0.1383, allocations: 486.9 kB / 496.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007151/0.139, allocations: 0.5645 MB / 497.4 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008218/0.1473, allocations: 5.033 MB / 0.4907 GB, free: 5.105 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1473, allocations: 4 kB / 0.4907 GB, free: 5.102 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1473, allocations: 0 / 0.4907 GB, free: 5.102 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.1473, allocations: 0 / 0.4907 GB, free: 5.102 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.008775/0.1561, allocations: 2.594 MB / 0.4932 GB, free: 2.453 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.1562, allocations: 11.89 kB / 0.4932 GB, free: 2.441 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001748/0.1579, allocations: 295.9 kB / 0.4935 GB, free: 2.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.1591, allocations: 0.5771 MB / 0.4941 GB, free: 1.535 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008682/0.1599, allocations: 458.1 kB / 0.4945 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002551/0.1602, allocations: 75.98 kB / 0.4946 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008468/0.1687, allocations: 3.371 MB / 0.4979 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.1687, allocations: 0 / 0.4979 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001763/0.1689, allocations: 28 kB / 0.4979 GB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.097e-05/0.169, allocations: 49.97 kB / 0.4979 GB, free: 13.53 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0141/0.1831, allocations: 5.404 MB / 0.5032 GB, free: 8.117 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01556/0.1987, allocations: 10.08 MB / 0.5131 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007287/0.206, allocations: 2.738 MB / 0.5157 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005868/0.2119, allocations: 2.279 MB / 0.518 GB, free: 8.504 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2465/0.4585, allocations: 53.64 MB / 0.5704 GB, free: 50.13 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.4585, allocations: 43.5 kB / 0.5704 GB, free: 50.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=88): time 3.817e-06/0.4585, allocations: 3.094 kB / 0.5704 GB, free: 50.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=88): time 0.01753/0.4761, allocations: 6.624 MB / 0.5769 GB, free: 43.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.4762, allocations: 69.81 kB / 0.5769 GB, free: 43.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.4764, allocations: 251.2 kB / 0.5772 GB, free: 43.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001459/0.4765, allocations: 37.7 kB / 0.5772 GB, free: 43.53 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.4766, allocations: 247.5 kB / 0.5774 GB, free: 43.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002475/0.4769, allocations: 302.1 kB / 0.5777 GB, free: 43.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005644/0.4775, allocations: 282.2 kB / 0.578 GB, free: 42.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.563e-05/0.4775, allocations: 358.8 kB / 0.5783 GB, free: 42.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004881/0.4824, allocations: 2.144 MB / 0.5804 GB, free: 40.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004991/0.4874, allocations: 2.257 MB / 0.5826 GB, free: 37.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008829/0.4963, allocations: 3.404 MB / 0.586 GB, free: 34.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.4963, allocations: 0 / 0.586 GB, free: 34.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0103/0.5066, allocations: 4.13 MB / 0.59 GB, free: 30.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.5066, allocations: 4 kB / 0.59 GB, free: 30.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.5066, allocations: 4 kB / 0.59 GB, free: 30.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.5067, allocations: 7.562 kB / 0.59 GB, free: 30.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003101/0.5098, allocations: 0.8207 MB / 0.5908 GB, free: 29.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.5098, allocations: 8.859 kB / 0.5908 GB, free: 29.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002369/0.5122, allocations: 0.6147 MB / 0.5914 GB, free: 28.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002059/0.5124, allocations: 91.81 kB / 0.5915 GB, free: 28.88 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.0005172/0.5129, allocations: 267.6 kB / 0.5918 GB, free: 28.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002737/0.5132, allocations: 44.28 kB / 0.5918 GB, free: 28.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01211/0.5253, allocations: 6.53 MB / 0.5982 GB, free: 22.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01093/0.5363, allocations: 5.937 MB / 0.604 GB, free: 16.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.904e-06/0.5363, allocations: 0 / 0.604 GB, free: 16.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.5363, allocations: 3.984 kB / 0.604 GB, free: 16.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0159/0.5522, allocations: 9.103 MB / 0.6129 GB, free: 6.965 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.5522, allocations: 7.938 kB / 0.6129 GB, free: 6.957 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003072/0.5553, allocations: 0.8042 MB / 0.6137 GB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.095e-05/0.5554, allocations: 4 kB / 0.6137 GB, free: 6.156 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001866/0.5555, allocations: 79.75 kB / 0.6138 GB, free: 6.078 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.5556, allocations: 4 kB / 0.6138 GB, free: 6.074 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.5556, allocations: 8 kB / 0.6138 GB, free: 6.066 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01066/0.5662, allocations: 4.835 MB / 0.6185 GB, free: 1.207 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.5664, allocations: 199.3 kB / 0.6187 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002226/0.5666, allocations: 16 kB / 0.6187 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002401/0.569, allocations: 0.5578 MB / 0.6192 GB, free: 428 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002768/0.5693, allocations: 144.6 kB / 0.6194 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001954/0.5695, allocations: 87.81 kB / 0.6195 GB, free: 196 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001427/0.5696, allocations: 193.4 kB / 0.6196 GB, free: 8 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5697, allocations: 4 kB / 0.6196 GB, free: 4 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.003048/0.5727, allocations: 1.281 MB / 0.6209 GB, free: 14.81 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.003553/0.5763, allocations: 1.138 MB / 0.622 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01223/0.5885, allocations: 4.888 MB / 0.6268 GB, free: 8.922 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.5885, allocations: 4 kB / 0.6268 GB, free: 8.918 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006295/0.5948, allocations: 2.716 MB / 0.6294 GB, free: 6.227 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/0.5965, allocations: 337.5 kB / 0.6298 GB, free: 5.922 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009882/0.6064, allocations: 4.514 MB / 0.6342 GB, free: 1.379 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006191/0.6071, allocations: 1.117 MB / 0.6353 GB, free: 236 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001836/0.6089, allocations: 0.7201 MB / 0.636 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00112/0.61, allocations: 219 kB / 0.6362 GB, free: 15.3 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.61, allocations: 0 / 0.6362 GB, free: 15.3 MB / 446.1 MB Notification: Performance of Templates: time 0.07216/0.6822, allocations: 57.99 MB / 0.6928 GB, free: 5.246 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 -s cvode -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe 2>&1)