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.001562/0.001562, allocations: 111.1 kB / 17.06 MB, free: 5.992 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.001683/0.001683, allocations: 200 kB / 18.01 MB, free: 5.066 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.297/1.297, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2564/0.2564, allocations: 48.85 MB / 320.1 MB, free: 11.01 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.001496/0.001496, allocations: 68.47 kB / 450.6 MB, free: 8.516 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09583/0.09733, allocations: 59.16 MB / 0.4978 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.01797/0.1153, allocations: 16.09 MB / 0.5135 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2185/0.3338, allocations: 13.54 MB / 0.5267 GB, free: 7.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002661/0.3341, allocations: 5.25 kB / 0.5267 GB, free: 7.07 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004138/0.3346, allocations: 137.6 kB / 0.5268 GB, free: 7.07 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002975/0.3349, allocations: 193.5 kB / 0.527 GB, free: 7.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01299/0.3479, allocations: 5.333 MB / 0.5322 GB, free: 7.031 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001825/0.3497, allocations: 1.952 MB / 0.5341 GB, free: 7.027 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001924/0.3499, allocations: 116.1 kB / 0.5343 GB, free: 7.016 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007124/0.3507, allocations: 0.6206 MB / 0.5349 GB, free: 7.016 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001052/0.3517, allocations: 0.7903 MB / 0.5356 GB, free: 7.016 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001997/0.3519, allocations: 139.8 kB / 0.5358 GB, free: 7.012 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01294/0.3649, allocations: 6.777 MB / 0.5424 GB, free: 6.961 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004783/0.3654, allocations: 478.1 kB / 0.5428 GB, free: 6.953 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009165/0.3663, allocations: 0.5764 MB / 0.5434 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01121/0.3775, allocations: 5.036 MB / 0.5483 GB, free: 4.918 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.3776, allocations: 0 / 0.5483 GB, free: 4.918 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3776, allocations: 0 / 0.5483 GB, free: 4.918 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.3776, allocations: 1.688 kB / 0.5483 GB, free: 4.918 MB / 414.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.009591/0.3872, allocations: 2.635 MB / 0.5509 GB, free: 3.383 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.3873, allocations: 14.39 kB / 0.5509 GB, free: 3.379 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001699/0.389, allocations: 297.9 kB / 0.5512 GB, free: 3.238 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008837/0.3898, allocations: 0.5761 MB / 0.5518 GB, free: 2.805 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008135/0.3907, allocations: 461.2 kB / 0.5522 GB, free: 2.504 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002783/0.391, allocations: 71.72 kB / 0.5523 GB, free: 2.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008114/0.3991, allocations: 3.375 MB / 0.5556 GB, free: 0.668 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.3991, allocations: 0 / 0.5556 GB, free: 0.668 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002082/0.3993, allocations: 29.91 kB / 0.5556 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.84e-05/0.3994, allocations: 53.91 kB / 0.5556 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01448/0.4139, allocations: 5.397 MB / 0.5609 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01552/0.4295, allocations: 10.1 MB / 0.5708 GB, free: 6.137 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007279/0.4368, allocations: 2.739 MB / 0.5735 GB, free: 3.973 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006005/0.4428, allocations: 2.275 MB / 0.5757 GB, free: 1.695 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1095/0.5524, allocations: 53.65 MB / 0.6281 GB, free: 5.68 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.357e-05/0.5525, allocations: 43.56 kB / 0.6281 GB, free: 5.629 MB / 494.1 MB Notification: Performance of pre-optimization done (n=88): time 3.556e-06/0.5525, allocations: 4 kB / 0.6281 GB, free: 5.625 MB / 494.1 MB Notification: Performance of matching and sorting (n=88): time 0.02104/0.5735, allocations: 6.632 MB / 0.6346 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.5736, allocations: 64.41 kB / 0.6346 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003146/0.574, allocations: 253 kB / 0.6349 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002979/0.5743, allocations: 37.7 kB / 0.6349 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.5744, allocations: 261 kB / 0.6352 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004722/0.5749, allocations: 315.6 kB / 0.6355 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007153/0.5756, allocations: 282.2 kB / 0.6357 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.5758, allocations: 354.8 kB / 0.6361 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005834/0.5816, allocations: 2.147 MB / 0.6382 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006008/0.5877, allocations: 2.261 MB / 0.6404 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01035/0.598, allocations: 3.399 MB / 0.6437 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.5981, allocations: 0 / 0.6437 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0122/0.6103, allocations: 4.136 MB / 0.6477 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.6103, allocations: 11.89 kB / 0.6478 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.6103, allocations: 4 kB / 0.6478 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.6104, allocations: 10.7 kB / 0.6478 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003562/0.6139, allocations: 0.8216 MB / 0.6486 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.798e-05/0.614, allocations: 4 kB / 0.6486 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002875/0.6169, allocations: 0.6081 MB / 0.6492 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002499/0.6171, allocations: 99.8 kB / 0.6493 GB, free: 15.86 MB / 0.5137 GB 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.0007311/0.6179, allocations: 270.9 kB / 0.6495 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003846/0.6182, allocations: 47.72 kB / 0.6496 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01444/0.6327, allocations: 6.515 MB / 0.6559 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01336/0.6461, allocations: 5.943 MB / 0.6617 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.6461, allocations: 0 / 0.6617 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.6461, allocations: 7.969 kB / 0.6617 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01936/0.6655, allocations: 9.097 MB / 0.6706 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.6655, allocations: 4 kB / 0.6706 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003551/0.6691, allocations: 0.8042 MB / 0.6714 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.646e-05/0.6691, allocations: 8 kB / 0.6714 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001975/0.6693, allocations: 75.81 kB / 0.6715 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/0.6693, allocations: 4 kB / 0.6715 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.6693, allocations: 4 kB / 0.6715 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01266/0.682, allocations: 4.852 MB / 0.6762 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002312/0.6823, allocations: 195.9 kB / 0.6764 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002388/0.6825, allocations: 16 kB / 0.6764 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002767/0.6853, allocations: 0.5617 MB / 0.677 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003294/0.6856, allocations: 140.6 kB / 0.6771 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002141/0.6858, allocations: 87.81 kB / 0.6772 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002036/0.686, allocations: 193.9 kB / 0.6774 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6861, allocations: 0 / 0.6774 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004302/0.6904, allocations: 1.294 MB / 0.6787 GB, free: 1.664 MB / 0.5294 GB 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.005682/0.6961, allocations: 1.157 MB / 0.6798 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01285/0.7089, allocations: 4.887 MB / 0.6846 GB, free: 11.74 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.7089, allocations: 4 kB / 0.6846 GB, free: 11.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006511/0.7155, allocations: 2.713 MB / 0.6872 GB, free: 9.039 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00192/0.7174, allocations: 343.2 kB / 0.6875 GB, free: 8.711 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.7278, allocations: 4.535 MB / 0.692 GB, free: 4.141 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006832/0.7285, allocations: 1.125 MB / 0.6931 GB, free: 2.988 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001958/0.7305, allocations: 0.713 MB / 0.6938 GB, free: 2.281 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001125/0.7316, allocations: 215 kB / 0.694 GB, free: 2.07 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.7316, allocations: 0 / 0.694 GB, free: 2.07 MB / 0.545 GB Notification: Performance of Templates: time 0.07655/0.8082, allocations: 58.24 MB / 0.7508 GB, free: 7.727 MB / 0.6075 GB 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)