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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.00136/0.00136, allocations: 181.3 kB / 8.346 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000938/0.0009378, allocations: 93.34 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4514/0.4514, allocations: 48.77 MB / 358.8 MB, free: 53.16 MB / 299.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Notification: Performance of FrontEnd - loaded program: time 1.454e-05/1.456e-05, allocations: 4 kB / 425.3 MB, free: 8.223 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1141, allocations: 60.25 MB / 485.6 MB, free: 11.82 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.879/5.993, allocations: 2.829 GB / 3.304 GB, free: 41.55 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/5.993, allocations: 71.95 kB / 3.304 GB, free: 41.48 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 0.6172/6.611, allocations: 143.8 MB / 3.444 GB, free: 107.1 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.362e-06/6.611, allocations: 0 / 3.444 GB, free: 107.1 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 3.093e-05/6.611, allocations: 12 kB / 3.444 GB, free: 107 MB / 0.5108 GB 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.01143/6.622, allocations: 2.5 MB / 3.447 GB, free: 104.9 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/6.622, allocations: 12.03 kB / 3.447 GB, free: 104.9 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001755/6.624, allocations: 237.1 kB / 3.447 GB, free: 104.7 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/6.626, allocations: 0.601 MB / 3.447 GB, free: 104.1 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001168/6.627, allocations: 485.7 kB / 3.448 GB, free: 103.7 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005253/6.627, allocations: 51.95 kB / 3.448 GB, free: 103.7 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004828/6.632, allocations: 3.14 MB / 3.451 GB, free: 101.1 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003435/6.636, allocations: 2.139 MB / 3.453 GB, free: 99.47 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/6.636, allocations: 0 / 3.453 GB, free: 99.47 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001899/6.636, allocations: 3.75 kB / 3.453 GB, free: 99.47 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.298e-05/6.636, allocations: 45.7 kB / 3.453 GB, free: 99.43 MB / 0.5108 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0122/6.648, allocations: 8.723 MB / 3.462 GB, free: 90.42 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001885/6.65, allocations: 1.516 MB / 3.463 GB, free: 88.89 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001379/6.652, allocations: 1.202 MB / 3.464 GB, free: 87.69 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4501/7.102, allocations: 88.45 MB / 3.551 GB, free: 105.1 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.48e-05/7.102, allocations: 45.69 kB / 3.551 GB, free: 105.1 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=88): time 3.627e-06/7.102, allocations: 1.75 kB / 3.551 GB, free: 105.1 MB / 0.5108 GB Notification: Performance of matching and sorting (n=88): time 0.006052/7.108, allocations: 2.276 MB / 3.553 GB, free: 105.1 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/7.108, allocations: 61.91 kB / 3.553 GB, free: 105 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/7.108, allocations: 168 kB / 3.553 GB, free: 104.9 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 0.0001604/7.108, allocations: 27.39 kB / 3.553 GB, free: 104.9 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/7.108, allocations: 256.4 kB / 3.553 GB, free: 104.7 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003774/7.109, allocations: 289.5 kB / 3.554 GB, free: 104.6 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/7.109, allocations: 0 / 3.554 GB, free: 104.6 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.000101/7.109, allocations: 349.7 kB / 3.554 GB, free: 104.3 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001414/7.11, allocations: 1.089 MB / 3.555 GB, free: 104.3 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/7.112, allocations: 1.185 MB / 3.556 GB, free: 104.2 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001914/7.114, allocations: 0.764 MB / 3.557 GB, free: 104.2 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/7.114, allocations: 1.281 kB / 3.557 GB, free: 104.2 MB / 0.5108 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.004026/7.118, allocations: 2.145 MB / 3.559 GB, free: 104.1 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/7.118, allocations: 7.938 kB / 3.559 GB, free: 104.1 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/7.118, allocations: 3.156 kB / 3.559 GB, free: 104.1 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.98e-05/7.118, allocations: 5.719 kB / 3.559 GB, free: 104.1 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003708/7.122, allocations: 1.076 MB / 3.56 GB, free: 104.1 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.617e-05/7.122, allocations: 6.188 kB / 3.56 GB, free: 104.1 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003111/7.125, allocations: 0.8531 MB / 3.561 GB, free: 104.1 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002138/7.125, allocations: 93.86 kB / 3.561 GB, free: 104.1 MB / 0.5108 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 () * 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.0003924/7.125, allocations: 130.3 kB / 3.561 GB, free: 104 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002284/7.126, allocations: 44.34 kB / 3.561 GB, free: 104 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005695/7.131, allocations: 4.082 MB / 3.565 GB, free: 103.8 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004783/7.136, allocations: 3.52 MB / 3.569 GB, free: 103.6 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/7.136, allocations: 0 / 3.569 GB, free: 103.6 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/7.136, allocations: 5.859 kB / 3.569 GB, free: 103.6 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01101/7.147, allocations: 6.61 MB / 3.575 GB, free: 102.9 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/7.147, allocations: 2.719 kB / 3.575 GB, free: 102.9 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004089/7.151, allocations: 1.056 MB / 3.576 GB, free: 102.9 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.104e-05/7.151, allocations: 7.234 kB / 3.576 GB, free: 102.9 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002896/7.152, allocations: 78.59 kB / 3.576 GB, free: 102.9 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.26e-05/7.152, allocations: 3.656 kB / 3.576 GB, free: 102.9 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/7.152, allocations: 3.969 kB / 3.576 GB, free: 102.9 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006027/7.158, allocations: 2.792 MB / 3.579 GB, free: 102.6 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002832/7.158, allocations: 182.3 kB / 3.579 GB, free: 102.4 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002453/7.158, allocations: 2.109 kB / 3.579 GB, free: 102.4 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003419/7.162, allocations: 0.8279 MB / 3.58 GB, free: 102.4 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003653/7.162, allocations: 149.3 kB / 3.58 GB, free: 102.4 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002432/7.162, allocations: 93.47 kB / 3.58 GB, free: 102.4 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0001316/7.163, allocations: 128.5 kB / 3.58 GB, free: 102.4 MB / 0.5108 GB Notification: Performance of sort global known variables: time 1.4e-07/7.163, allocations: 2.531 kB / 3.58 GB, free: 102.4 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.005851/7.168, allocations: 1.285 MB / 3.582 GB, free: 102.3 MB / 0.5108 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.region3boundary,$cse9.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.007641/7.176, allocations: 1.339 MB / 3.583 GB, free: 102.1 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.005132/7.181, allocations: 2.731 MB / 3.586 GB, free: 102.1 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/7.181, allocations: 0.9688 kB / 3.586 GB, free: 102.1 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.002598/7.184, allocations: 1.623 MB / 3.587 GB, free: 102.1 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001613/7.186, allocations: 228.7 kB / 3.587 GB, free: 102.1 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006483/7.192, allocations: 3.218 MB / 3.59 GB, free: 101.6 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005844/7.193, allocations: 1.126 MB / 3.592 GB, free: 100.9 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.002268/7.195, allocations: 0.6626 MB / 3.592 GB, free: 100.9 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/7.196, allocations: 226.1 kB / 3.592 GB, free: 100.9 MB / 0.5108 GB Notification: Performance of SimCode: time 1.824e-06/7.196, allocations: 0 / 3.592 GB, free: 100.9 MB / 0.5108 GB Notification: Performance of Templates: time 0.05693/7.253, allocations: 43.91 MB / 3.635 GB, free: 98.69 MB / 0.5108 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)