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.001038/0.001038, allocations: 109.9 kB / 17.06 MB, free: 5.969 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.001005/0.001005, allocations: 200 kB / 18.01 MB, free: 5.055 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.262/1.262, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2577/0.2577, allocations: 48.84 MB / 320.1 MB, free: 11 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.001438/0.001438, allocations: 67.89 kB / 450.5 MB, free: 8.52 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09406/0.09551, allocations: 59.17 MB / 0.4978 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.01698/0.1125, allocations: 16.09 MB / 0.5135 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.204/0.3166, allocations: 13.56 MB / 0.5267 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002164/0.3168, allocations: 8.812 kB / 0.5267 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003907/0.3172, allocations: 126 kB / 0.5268 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002768/0.3176, allocations: 198.2 kB / 0.527 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01173/0.3293, allocations: 5.327 MB / 0.5322 GB, free: 6.961 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00164/0.3309, allocations: 1.956 MB / 0.5341 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001954/0.3312, allocations: 117.1 kB / 0.5343 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006106/0.3318, allocations: 0.6156 MB / 0.5349 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.3328, allocations: 0.7878 MB / 0.5356 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001914/0.333, allocations: 137.6 kB / 0.5358 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01232/0.3453, allocations: 6.782 MB / 0.5424 GB, free: 6.906 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005313/0.3459, allocations: 481.8 kB / 0.5428 GB, free: 6.898 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008158/0.3467, allocations: 0.5686 MB / 0.5434 GB, free: 6.797 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009215/0.3559, allocations: 5.028 MB / 0.5483 GB, free: 4.91 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.356, allocations: 4 kB / 0.5483 GB, free: 4.906 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.356, allocations: 1.938 kB / 0.5483 GB, free: 4.906 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.356, allocations: 1.688 kB / 0.5483 GB, free: 4.906 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.009071/0.3651, allocations: 2.587 MB / 0.5508 GB, free: 3.418 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.3651, allocations: 13.64 kB / 0.5509 GB, free: 3.414 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001612/0.3667, allocations: 297.6 kB / 0.5511 GB, free: 3.273 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.3678, allocations: 0.5805 MB / 0.5517 GB, free: 2.836 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008823/0.3687, allocations: 464.2 kB / 0.5521 GB, free: 2.535 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002375/0.3689, allocations: 66.81 kB / 0.5522 GB, free: 2.516 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00866/0.3776, allocations: 3.369 MB / 0.5555 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.3776, allocations: 2.156 kB / 0.5555 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001896/0.3778, allocations: 29.47 kB / 0.5555 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.763e-05/0.3779, allocations: 56.28 kB / 0.5556 GB, free: 0.668 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01533/0.3932, allocations: 5.395 MB / 0.5609 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01555/0.4088, allocations: 10.09 MB / 0.5707 GB, free: 6.184 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007948/0.4168, allocations: 2.741 MB / 0.5734 GB, free: 4.051 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006898/0.4237, allocations: 2.279 MB / 0.5756 GB, free: 1.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1094/0.5331, allocations: 53.64 MB / 0.628 GB, free: 5.766 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.475e-05/0.5332, allocations: 43.56 kB / 0.628 GB, free: 5.715 MB / 494.1 MB Notification: Performance of pre-optimization done (n=88): time 2.505e-06/0.5332, allocations: 0 / 0.628 GB, free: 5.715 MB / 494.1 MB Notification: Performance of matching and sorting (n=88): time 0.0223/0.5555, allocations: 6.643 MB / 0.6345 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.5556, allocations: 60.41 kB / 0.6346 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002744/0.5558, allocations: 248.9 kB / 0.6348 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001541/0.556, allocations: 41.7 kB / 0.6349 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.5562, allocations: 244.6 kB / 0.6351 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003513/0.5565, allocations: 308.2 kB / 0.6354 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006459/0.5572, allocations: 282.3 kB / 0.6357 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.5573, allocations: 350.8 kB / 0.636 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006667/0.564, allocations: 2.144 MB / 0.6381 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006886/0.5709, allocations: 2.262 MB / 0.6403 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01236/0.5833, allocations: 3.395 MB / 0.6436 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.022e-06/0.5833, allocations: 0 / 0.6436 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01403/0.5973, allocations: 4.133 MB / 0.6476 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.5974, allocations: 11.91 kB / 0.6477 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.5974, allocations: 0 / 0.6477 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.5974, allocations: 15.92 kB / 0.6477 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003888/0.6013, allocations: 0.8235 MB / 0.6485 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.857e-05/0.6014, allocations: 11.98 kB / 0.6485 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003121/0.6045, allocations: 0.604 MB / 0.6491 GB, free: 68 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002549/0.6048, allocations: 91.81 kB / 0.6492 GB, free: 15.98 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.000634/0.6054, allocations: 270.9 kB / 0.6494 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003282/0.6057, allocations: 47.44 kB / 0.6495 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01659/0.6223, allocations: 6.516 MB / 0.6558 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01542/0.6378, allocations: 5.943 MB / 0.6616 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/0.6378, allocations: 0 / 0.6616 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.877e-05/0.6379, allocations: 8.656 kB / 0.6616 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02088/0.6587, allocations: 9.102 MB / 0.6705 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.6588, allocations: 0 / 0.6705 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003737/0.6625, allocations: 0.8084 MB / 0.6713 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/0.6626, allocations: 4 kB / 0.6713 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002085/0.6628, allocations: 80.69 kB / 0.6714 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.6628, allocations: 4 kB / 0.6714 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.6628, allocations: 3 kB / 0.6714 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01432/0.6771, allocations: 4.844 MB / 0.6761 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002076/0.6773, allocations: 187.5 kB / 0.6763 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000209/0.6776, allocations: 23.94 kB / 0.6763 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002967/0.6805, allocations: 0.5689 MB / 0.6769 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003275/0.6809, allocations: 139.9 kB / 0.677 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002086/0.6811, allocations: 83.81 kB / 0.6771 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001968/0.6813, allocations: 194 kB / 0.6773 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6813, allocations: 0 / 0.6773 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004347/0.6856, allocations: 1.273 MB / 0.6785 GB, free: 1.805 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.004175/0.6898, allocations: 1.141 MB / 0.6796 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01443/0.7043, allocations: 4.891 MB / 0.6844 GB, free: 11.88 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.7043, allocations: 0 / 0.6844 GB, free: 11.88 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007765/0.7121, allocations: 2.71 MB / 0.6871 GB, free: 9.191 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0024/0.7145, allocations: 343.1 kB / 0.6874 GB, free: 8.867 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01186/0.7264, allocations: 4.515 MB / 0.6918 GB, free: 4.32 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006098/0.7271, allocations: 1.125 MB / 0.6929 GB, free: 3.168 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002028/0.7291, allocations: 0.7118 MB / 0.6936 GB, free: 2.461 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001166/0.7303, allocations: 219 kB / 0.6938 GB, free: 2.246 MB / 0.545 GB Notification: Performance of SimCode: time 1.502e-06/0.7303, allocations: 0 / 0.6938 GB, free: 2.246 MB / 0.545 GB Notification: Performance of Templates: time 0.07686/0.8071, allocations: 58.91 MB / 0.7513 GB, free: 7.246 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)