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.00138/0.00138, allocations: 103 kB / 17.74 MB, free: 5.301 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.001481/0.001481, allocations: 194.5 kB / 18.68 MB, free: 4.371 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 / 224.6 MB, free: 12.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2606/0.2606, 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.001502/0.001502, allocations: 67.91 kB / 451.2 MB, free: 8.52 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0935/0.09502, allocations: 59.15 MB / 0.4984 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.01802/0.1131, allocations: 16.09 MB / 0.5141 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.211/0.3241, allocations: 13.55 MB / 0.5274 GB, free: 7.051 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002384/0.3243, allocations: 5.625 kB / 0.5274 GB, free: 7.051 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000423/0.3248, allocations: 128.8 kB / 0.5275 GB, free: 7.051 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002934/0.3251, allocations: 202.3 kB / 0.5277 GB, free: 7.051 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01275/0.3379, allocations: 5.33 MB / 0.5329 GB, free: 7.008 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001815/0.3397, allocations: 1.956 MB / 0.5348 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002386/0.3399, allocations: 115 kB / 0.5349 GB, free: 6.992 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008909/0.3408, allocations: 0.62 MB / 0.5355 GB, free: 6.992 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001483/0.3423, allocations: 0.788 MB / 0.5363 GB, free: 6.992 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003162/0.3427, allocations: 141.2 kB / 0.5364 GB, free: 6.988 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01373/0.3564, allocations: 6.771 MB / 0.543 GB, free: 6.953 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005173/0.357, allocations: 480.3 kB / 0.5435 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008684/0.3578, allocations: 0.57 MB / 0.5441 GB, free: 6.844 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009484/0.3673, allocations: 5.033 MB / 0.549 GB, free: 4.922 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3674, allocations: 1.562 kB / 0.549 GB, free: 4.922 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3674, allocations: 0 / 0.549 GB, free: 4.922 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.3674, allocations: 0 / 0.549 GB, free: 4.922 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.009158/0.3765, allocations: 2.587 MB / 0.5515 GB, free: 3.438 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.3766, allocations: 12.48 kB / 0.5515 GB, free: 3.434 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/0.3783, allocations: 298.5 kB / 0.5518 GB, free: 3.293 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007957/0.3791, allocations: 0.5783 MB / 0.5524 GB, free: 2.855 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000789/0.3799, allocations: 464.6 kB / 0.5528 GB, free: 2.551 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002662/0.3802, allocations: 70.69 kB / 0.5529 GB, free: 2.531 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007809/0.388, allocations: 3.372 MB / 0.5562 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.3881, allocations: 0 / 0.5562 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001957/0.3883, allocations: 32.91 kB / 0.5562 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.103e-05/0.3883, allocations: 50.64 kB / 0.5562 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01361/0.4019, allocations: 5.394 MB / 0.5615 GB, free: 14.1 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01505/0.417, allocations: 10.1 MB / 0.5714 GB, free: 6.199 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007265/0.4243, allocations: 2.738 MB / 0.574 GB, free: 4.027 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00601/0.4303, allocations: 2.271 MB / 0.5763 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.108/0.5384, allocations: 53.65 MB / 0.6287 GB, free: 5.738 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.967e-05/0.5385, allocations: 39.56 kB / 0.6287 GB, free: 5.691 MB / 494.1 MB Notification: Performance of pre-optimization done (n=88): time 3.647e-06/0.5385, allocations: 4 kB / 0.6287 GB, free: 5.688 MB / 494.1 MB Notification: Performance of matching and sorting (n=88): time 0.02069/0.5592, allocations: 6.633 MB / 0.6352 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.5592, allocations: 60.41 kB / 0.6352 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002975/0.5595, allocations: 256.9 kB / 0.6355 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000323/0.5599, allocations: 41.7 kB / 0.6355 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.56, allocations: 244.6 kB / 0.6358 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004763/0.5605, allocations: 301.6 kB / 0.636 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007043/0.5612, allocations: 282.3 kB / 0.6363 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.5614, allocations: 354.8 kB / 0.6367 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005898/0.5673, allocations: 2.148 MB / 0.6387 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006082/0.5734, allocations: 2.254 MB / 0.6409 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01065/0.5841, allocations: 3.4 MB / 0.6443 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.5841, allocations: 4 kB / 0.6443 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0125/0.5966, allocations: 4.137 MB / 0.6483 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.5967, allocations: 4 kB / 0.6483 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.5967, allocations: 4 kB / 0.6483 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.5967, allocations: 4 kB / 0.6483 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003673/0.6004, allocations: 0.8244 MB / 0.6491 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.033e-05/0.6004, allocations: 7.531 kB / 0.6491 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002921/0.6034, allocations: 0.6088 MB / 0.6497 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002943/0.6037, allocations: 91.81 kB / 0.6498 GB, free: 15.96 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.0007666/0.6045, allocations: 273.5 kB / 0.6501 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000371/0.6048, allocations: 47.44 kB / 0.6501 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01461/0.6194, allocations: 6.513 MB / 0.6565 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.842e-05/0.6195, allocations: 11.92 kB / 0.6565 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.6195, allocations: 0 / 0.6565 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002202/0.6197, allocations: 183.5 kB / 0.6567 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003534/0.6201, allocations: 19.98 kB / 0.6567 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002904/0.623, allocations: 0.5617 MB / 0.6572 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004233/0.6234, allocations: 140.6 kB / 0.6574 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01563/0.6391, allocations: 5.505 MB / 0.6628 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01267/0.6518, allocations: 4.949 MB / 0.6676 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006319/0.6581, allocations: 2.642 MB / 0.6702 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001949/0.6584, allocations: 180.5 kB / 0.6703 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of Backend: time 7.01e-07/0.6584, allocations: 6.625 kB / 0.6703 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01392/0.6723, allocations: 3.801 MB / 0.6741 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of SimCode: time 0.002989/0.6753, allocations: 2.043 MB / 0.676 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of Templates: time 0.08952/0.7649, allocations: 67.31 MB / 0.7418 GB, free: 1.812 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)