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.000989/0.0009893, allocations: 111 kB / 17.74 MB, free: 5.34 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.0009528/0.0009529, allocations: 196.3 kB / 18.68 MB, free: 4.41 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.125/1.125, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2302/0.2302, allocations: 48.84 MB / 320.7 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.00129/0.00129, allocations: 71.89 kB / 451.2 MB, free: 8.523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08682/0.08812, allocations: 59.15 MB / 0.4984 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.01514/0.1033, allocations: 16.1 MB / 0.5141 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1893/0.2927, allocations: 13.56 MB / 0.5274 GB, free: 6.996 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002156/0.2929, allocations: 5.688 kB / 0.5274 GB, free: 6.996 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004103/0.2933, allocations: 129.5 kB / 0.5275 GB, free: 6.996 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003342/0.2937, allocations: 199 kB / 0.5277 GB, free: 6.996 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01266/0.3064, allocations: 5.329 MB / 0.5329 GB, free: 6.953 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001733/0.3081, allocations: 1.953 MB / 0.5348 GB, free: 6.949 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002073/0.3083, allocations: 116.5 kB / 0.5349 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/0.3094, allocations: 0.618 MB / 0.5355 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001459/0.3109, allocations: 0.7896 MB / 0.5363 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002643/0.3111, allocations: 137.4 kB / 0.5364 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01243/0.3236, allocations: 6.781 MB / 0.543 GB, free: 6.898 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004363/0.324, allocations: 474.9 kB / 0.5435 GB, free: 6.895 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001041/0.3251, allocations: 0.574 MB / 0.5441 GB, free: 6.793 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007497/0.3326, allocations: 5.025 MB / 0.549 GB, free: 4.941 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3326, allocations: 1.375 kB / 0.549 GB, free: 4.941 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3326, allocations: 0 / 0.549 GB, free: 4.941 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.3326, allocations: 0 / 0.549 GB, free: 4.941 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.008093/0.3407, allocations: 2.594 MB / 0.5515 GB, free: 3.449 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.3408, allocations: 13.17 kB / 0.5515 GB, free: 3.445 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00148/0.3422, allocations: 298.3 kB / 0.5518 GB, free: 3.305 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007667/0.343, allocations: 0.5774 MB / 0.5524 GB, free: 2.871 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00071/0.3437, allocations: 464.4 kB / 0.5528 GB, free: 2.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002239/0.344, allocations: 69.59 kB / 0.5529 GB, free: 2.547 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00725/0.3512, allocations: 3.372 MB / 0.5562 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.3513, allocations: 0 / 0.5562 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001832/0.3514, allocations: 29.97 kB / 0.5562 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.656e-05/0.3515, allocations: 52.38 kB / 0.5562 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01269/0.3642, allocations: 5.397 MB / 0.5615 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01338/0.3776, allocations: 10.1 MB / 0.5714 GB, free: 6.211 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006631/0.3843, allocations: 2.735 MB / 0.574 GB, free: 4.055 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005415/0.3897, allocations: 2.275 MB / 0.5763 GB, free: 1.777 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09399/0.4837, allocations: 53.65 MB / 0.6287 GB, free: 5.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.637e-05/0.4838, allocations: 43.56 kB / 0.6287 GB, free: 5.719 MB / 494.1 MB Notification: Performance of pre-optimization done (n=88): time 2.364e-06/0.4838, allocations: 0 / 0.6287 GB, free: 5.719 MB / 494.1 MB Notification: Performance of matching and sorting (n=88): time 0.01802/0.5018, allocations: 6.633 MB / 0.6352 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.5019, allocations: 64.41 kB / 0.6352 GB, free: 15 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/0.5021, allocations: 248.9 kB / 0.6355 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001376/0.5023, allocations: 41.7 kB / 0.6355 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.5024, allocations: 250.3 kB / 0.6357 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003217/0.5028, allocations: 302.8 kB / 0.636 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005664/0.5033, allocations: 278.3 kB / 0.6363 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.5035, allocations: 354.8 kB / 0.6366 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005304/0.5088, allocations: 2.148 MB / 0.6387 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005363/0.5141, allocations: 2.258 MB / 0.6409 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009354/0.5235, allocations: 3.398 MB / 0.6443 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.5235, allocations: 0 / 0.6443 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01082/0.5343, allocations: 4.133 MB / 0.6483 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.5344, allocations: 7.984 kB / 0.6483 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.5344, allocations: 4 kB / 0.6483 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.5344, allocations: 7.938 kB / 0.6483 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003194/0.5376, allocations: 0.8277 MB / 0.6491 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.5376, allocations: 7.984 kB / 0.6491 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002537/0.5402, allocations: 0.604 MB / 0.6497 GB, free: 80 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001965/0.5404, allocations: 91.8 kB / 0.6498 GB, free: 15.99 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.0005809/0.541, allocations: 277.8 kB / 0.6501 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002824/0.5413, allocations: 47.44 kB / 0.6501 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01285/0.5541, allocations: 6.514 MB / 0.6565 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01168/0.5658, allocations: 5.943 MB / 0.6623 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.5658, allocations: 0 / 0.6623 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.5658, allocations: 7.969 kB / 0.6623 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01685/0.5827, allocations: 9.101 MB / 0.6712 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.269e-06/0.5827, allocations: 0 / 0.6712 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003059/0.5858, allocations: 0.8045 MB / 0.672 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.595e-06/0.5858, allocations: 4 kB / 0.672 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001656/0.586, allocations: 79.81 kB / 0.672 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.586, allocations: 4 kB / 0.6721 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.586, allocations: 3 kB / 0.6721 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01123/0.5972, allocations: 4.849 MB / 0.6768 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000185/0.5974, allocations: 183.5 kB / 0.677 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002028/0.5976, allocations: 23.94 kB / 0.677 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002443/0.6001, allocations: 0.5617 MB / 0.6775 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002708/0.6004, allocations: 143.9 kB / 0.6777 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001776/0.6006, allocations: 87.81 kB / 0.6778 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001716/0.6007, allocations: 197.9 kB / 0.6779 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6007, allocations: 0 / 0.6779 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003768/0.6045, allocations: 1.265 MB / 0.6792 GB, free: 1.816 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.004593/0.6091, allocations: 1.155 MB / 0.6803 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01128/0.6204, allocations: 4.882 MB / 0.6851 GB, free: 11.89 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6204, allocations: 0 / 0.6851 GB, free: 11.89 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00582/0.6262, allocations: 2.714 MB / 0.6877 GB, free: 9.199 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/0.6279, allocations: 354 kB / 0.6881 GB, free: 8.867 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00935/0.6372, allocations: 4.556 MB / 0.6925 GB, free: 4.27 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005625/0.6378, allocations: 1.121 MB / 0.6936 GB, free: 3.121 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001229/0.6391, allocations: 258.9 kB / 0.6939 GB, free: 2.867 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.6391, allocations: 0 / 0.6939 GB, free: 2.867 MB / 0.545 GB Notification: Performance of Templates: time 0.04035/0.6794, allocations: 37.25 MB / 0.7302 GB, free: 13.53 MB / 0.5919 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)