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.0007805/0.0007807, allocations: 89.16 kB / 16.31 MB, free: 5.602 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.0007821/0.0007821, allocations: 180.9 kB / 17.21 MB, free: 5.539 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.257/1.257, allocations: 205.4 MB / 223.4 MB, free: 5.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3558/0.3558, allocations: 48.78 MB / 320.4 MB, free: 3.809 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 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.0004956/0.0004957, allocations: 19.98 kB / 391.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1095, allocations: 60.25 MB / 451.4 MB, free: 1.891 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.1848/0.2944, allocations: 14.9 MB / 466.3 MB, free: 42.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01017/0.3046, allocations: 12.58 MB / 478.9 MB, free: 33.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001822/0.3048, allocations: 2.969 kB / 478.9 MB, free: 33.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003419/0.3051, allocations: 110.6 kB / 479 MB, free: 33.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002811/0.3054, allocations: 194 kB / 479.2 MB, free: 33.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01059/0.316, allocations: 4.065 MB / 483.3 MB, free: 31.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00177/0.3178, allocations: 1.852 MB / 485.1 MB, free: 30.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001852/0.318, allocations: 103.2 kB / 485.2 MB, free: 30.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006496/0.3187, allocations: 0.5383 MB / 485.8 MB, free: 30.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.3198, allocations: 0.7971 MB / 486.6 MB, free: 30.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000167/0.3199, allocations: 73.75 kB / 486.6 MB, free: 30.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0127/0.3327, allocations: 6.436 MB / 493.1 MB, free: 28.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000478/0.3332, allocations: 422.9 kB / 493.5 MB, free: 28.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004386/0.3336, allocations: 181.2 kB / 493.7 MB, free: 28.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00554/0.3392, allocations: 3.422 MB / 497.1 MB, free: 26.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3392, allocations: 0 / 497.1 MB, free: 26.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3392, allocations: 3.938 kB / 497.1 MB, free: 26.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.3392, allocations: 1.031 kB / 497.1 MB, free: 26.25 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.008589/0.3478, allocations: 2.592 MB / 499.7 MB, free: 24.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.3479, allocations: 12.98 kB / 499.7 MB, free: 24.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001765/0.3496, allocations: 301.2 kB / 500 MB, free: 24.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008582/0.3505, allocations: 0.5761 MB / 0.4888 GB, free: 24.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008573/0.3514, allocations: 0.5175 MB / 0.4893 GB, free: 23.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002198/0.3516, allocations: 69.3 kB / 0.4894 GB, free: 23.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008289/0.3599, allocations: 3.862 MB / 0.4932 GB, free: 22.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.3599, allocations: 0 / 0.4932 GB, free: 22.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001725/0.3601, allocations: 35.22 kB / 0.4932 GB, free: 22.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.434e-05/0.3602, allocations: 52.55 kB / 0.4933 GB, free: 22.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01302/0.3732, allocations: 6.382 MB / 0.4995 GB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01196/0.3852, allocations: 10.59 MB / 0.5098 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006442/0.3917, allocations: 3.234 MB / 0.513 GB, free: 2.973 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005413/0.3971, allocations: 2.772 MB / 0.5157 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09079/0.4879, allocations: 53.96 MB / 0.5684 GB, free: 3.848 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/0.488, allocations: 43.56 kB / 0.5684 GB, free: 3.797 MB / 446.1 MB Notification: Performance of pre-optimization done (n=88): time 3.316e-06/0.488, allocations: 4 kB / 0.5684 GB, free: 3.793 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.02083/0.5089, allocations: 8.11 MB / 0.5764 GB, free: 11.67 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.509, allocations: 64.41 kB / 0.5764 GB, free: 11.6 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.5092, allocations: 252.8 kB / 0.5767 GB, free: 11.34 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002521/0.5095, allocations: 41.7 kB / 0.5767 GB, free: 11.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.5097, allocations: 240.5 kB / 0.5769 GB, free: 11.05 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004322/0.5101, allocations: 307.6 kB / 0.5772 GB, free: 10.75 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/0.5103, allocations: 16 kB / 0.5772 GB, free: 10.73 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.5104, allocations: 358.8 kB / 0.5776 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00594/0.5164, allocations: 2.636 MB / 0.5802 GB, free: 7.734 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006061/0.5225, allocations: 2.755 MB / 0.5828 GB, free: 4.945 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005253/0.5277, allocations: 2.169 MB / 0.585 GB, free: 2.777 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.5278, allocations: 0 / 0.585 GB, free: 2.777 MB / 462.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0122/0.54, allocations: 5.126 MB / 0.59 GB, free: 13.64 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.54, allocations: 12.06 kB / 0.59 GB, free: 13.63 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.5401, allocations: 4 kB / 0.59 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.5401, allocations: 4 kB / 0.59 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003573/0.5437, allocations: 1.073 MB / 0.591 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-05/0.5437, allocations: 4 kB / 0.591 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003034/0.5467, allocations: 0.8823 MB / 0.5919 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002586/0.547, allocations: 88.83 kB / 0.592 GB, free: 11.57 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000601/0.5476, allocations: 273.4 kB / 0.5922 GB, free: 11.3 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002402/0.5479, allocations: 47.47 kB / 0.5923 GB, free: 11.25 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01454/0.5624, allocations: 7.524 MB / 0.5996 GB, free: 3.727 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0133/0.5758, allocations: 6.917 MB / 0.6064 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.5758, allocations: 4 kB / 0.6064 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.5758, allocations: 3.984 kB / 0.6064 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01878/0.5946, allocations: 10.19 MB / 0.6164 GB, free: 2.531 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.5947, allocations: 0 / 0.6164 GB, free: 2.531 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003567/0.5982, allocations: 1.053 MB / 0.6174 GB, free: 1.477 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.596e-05/0.5983, allocations: 11.94 kB / 0.6174 GB, free: 1.465 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002137/0.5985, allocations: 75.81 kB / 0.6175 GB, free: 1.391 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.5985, allocations: 5.016 kB / 0.6175 GB, free: 1.387 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5985, allocations: 4 kB / 0.6175 GB, free: 1.383 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01265/0.6112, allocations: 5.823 MB / 0.6232 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002535/0.6115, allocations: 183.6 kB / 0.6233 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002592/0.6117, allocations: 24.48 kB / 0.6234 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002877/0.6146, allocations: 0.8427 MB / 0.6242 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002839/0.6149, allocations: 148.6 kB / 0.6243 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002053/0.6151, allocations: 86.56 kB / 0.6244 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001768/0.6153, allocations: 180.5 kB / 0.6246 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6153, allocations: 0 / 0.6246 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003791/0.6191, allocations: 1.276 MB / 0.6258 GB, free: 8.785 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005296/0.6244, allocations: 1.16 MB / 0.627 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01321/0.6377, allocations: 5.864 MB / 0.6327 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.6377, allocations: 3.938 kB / 0.6327 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.1951/0.8328, allocations: 3.208 MB / 0.6358 GB, free: 158.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/0.8346, allocations: 316.9 kB / 0.6361 GB, free: 158.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/0.845, allocations: 5.808 MB / 0.6418 GB, free: 157.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/0.8454, allocations: 1.119 MB / 0.6429 GB, free: 157.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002209/0.8477, allocations: 0.7121 MB / 0.6436 GB, free: 157 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001073/0.8487, allocations: 216 kB / 0.6438 GB, free: 157 MB / 0.4981 GB Notification: Performance of SimCode: time 8.62e-07/0.8488, allocations: 4 kB / 0.6438 GB, free: 157 MB / 0.4981 GB Notification: Performance of Templates: time 0.068/0.9168, allocations: 55.7 MB / 0.6982 GB, free: 117.2 MB / 0.4981 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: