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.001104/0.001104, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.192/1.192, allocations: 205.1 MB / 223.1 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 101.1 kB / 270.5 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3358/0.3358, allocations: 48.83 MB / 366.7 MB, free: 46.57 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 47.92 kB / 436.6 MB, free: 11.43 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09003/0.09107, allocations: 59.16 MB / 495.8 MB, free: 136 kB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.1805/0.2716, allocations: 16.88 MB / 0.5006 GB, free: 46.96 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01363/0.2853, allocations: 14.56 MB / 0.5148 GB, free: 44.08 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001973/0.2855, allocations: 5.094 kB / 0.5149 GB, free: 44.08 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004397/0.286, allocations: 110.3 kB / 0.515 GB, free: 44.04 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00031/0.2863, allocations: 208.9 kB / 0.5152 GB, free: 43.93 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0106/0.2969, allocations: 4.2 MB / 0.5193 GB, free: 42.72 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001422/0.2984, allocations: 2.174 MB / 0.5214 GB, free: 42 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.2985, allocations: 112.8 kB / 0.5215 GB, free: 41.96 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003919/0.2989, allocations: 0.541 MB / 0.522 GB, free: 41.83 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007909/0.2997, allocations: 0.8023 MB / 0.5228 GB, free: 41.59 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000164/0.2999, allocations: 77.72 kB / 0.5229 GB, free: 41.59 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01091/0.3108, allocations: 6.644 MB / 0.5294 GB, free: 39.95 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003689/0.3112, allocations: 419.2 kB / 0.5298 GB, free: 39.81 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006101/0.3118, allocations: 0.5263 MB / 0.5303 GB, free: 39.58 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007108/0.319, allocations: 4.992 MB / 0.5352 GB, free: 37.28 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.319, allocations: 0 / 0.5352 GB, free: 37.28 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.319, allocations: 0 / 0.5352 GB, free: 37.28 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.319, allocations: 2.938 kB / 0.5352 GB, free: 37.28 MB / 394.7 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.008305/0.3273, allocations: 2.588 MB / 0.5377 GB, free: 35.79 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.3274, allocations: 9.375 kB / 0.5377 GB, free: 35.79 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001569/0.3289, allocations: 297.6 kB / 0.538 GB, free: 35.65 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009839/0.3299, allocations: 0.5816 MB / 0.5385 GB, free: 35.19 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008379/0.3308, allocations: 465.1 kB / 0.539 GB, free: 34.89 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002324/0.331, allocations: 70.75 kB / 0.5391 GB, free: 34.87 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008325/0.3394, allocations: 3.377 MB / 0.5424 GB, free: 33.05 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.3394, allocations: 0 / 0.5424 GB, free: 33.05 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001805/0.3396, allocations: 26.97 kB / 0.5424 GB, free: 33.03 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.97e-05/0.3396, allocations: 54.86 kB / 0.5424 GB, free: 33.01 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01473/0.3544, allocations: 5.395 MB / 0.5477 GB, free: 30.43 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0133/0.3677, allocations: 10.08 MB / 0.5575 GB, free: 22.48 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007211/0.3749, allocations: 2.74 MB / 0.5602 GB, free: 21 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00582/0.3808, allocations: 2.272 MB / 0.5624 GB, free: 18.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1024/0.4832, allocations: 53.44 MB / 0.6146 GB, free: 6.898 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/0.4833, allocations: 43.55 kB / 0.6147 GB, free: 6.848 MB / 442.7 MB Notification: Performance of pre-optimization done (n=88): time 2.625e-06/0.4833, allocations: 0 / 0.6147 GB, free: 6.848 MB / 442.7 MB Notification: Performance of matching and sorting (n=88): time 0.02137/0.5046, allocations: 6.63 MB / 0.6211 GB, free: 212 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.5047, allocations: 64.34 kB / 0.6212 GB, free: 136 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002649/0.505, allocations: 248.9 kB / 0.6214 GB, free: 15.88 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001372/0.5051, allocations: 41.7 kB / 0.6215 GB, free: 15.84 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.5053, allocations: 248.6 kB / 0.6217 GB, free: 15.59 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003243/0.5056, allocations: 307.5 kB / 0.622 GB, free: 15.28 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006409/0.5063, allocations: 282.3 kB / 0.6223 GB, free: 15 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.5064, allocations: 354.8 kB / 0.6226 GB, free: 14.64 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006311/0.5127, allocations: 2.148 MB / 0.6247 GB, free: 12.49 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006414/0.5191, allocations: 2.255 MB / 0.6269 GB, free: 10.2 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01124/0.5304, allocations: 3.398 MB / 0.6302 GB, free: 6.77 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.5304, allocations: 4 kB / 0.6302 GB, free: 6.766 MB / 458.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01289/0.5433, allocations: 4.137 MB / 0.6343 GB, free: 2.621 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.5433, allocations: 8 kB / 0.6343 GB, free: 2.613 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.5433, allocations: 4.5 kB / 0.6343 GB, free: 2.609 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.5434, allocations: 6.531 kB / 0.6343 GB, free: 2.605 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003654/0.547, allocations: 0.8267 MB / 0.6351 GB, free: 1.777 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.547, allocations: 4 kB / 0.6351 GB, free: 1.773 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002996/0.55, allocations: 0.6208 MB / 0.6357 GB, free: 1.152 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002298/0.5503, allocations: 95.8 kB / 0.6358 GB, free: 1.059 MB / 458.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005436/0.5508, allocations: 275.7 kB / 0.6361 GB, free: 0.7812 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002742/0.5511, allocations: 47.44 kB / 0.6361 GB, free: 0.7344 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01498/0.5661, allocations: 6.535 MB / 0.6425 GB, free: 10.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01392/0.58, allocations: 5.937 MB / 0.6483 GB, free: 4.25 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.5801, allocations: 0 / 0.6483 GB, free: 4.25 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.5801, allocations: 7.984 kB / 0.6483 GB, free: 4.242 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01986/0.5999, allocations: 9.09 MB / 0.6572 GB, free: 11.08 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.6, allocations: 3.938 kB / 0.6572 GB, free: 11.08 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003567/0.6036, allocations: 0.8034 MB / 0.658 GB, free: 10.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.6036, allocations: 4 kB / 0.658 GB, free: 10.27 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001995/0.6038, allocations: 79.81 kB / 0.6581 GB, free: 10.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.6038, allocations: 8 kB / 0.6581 GB, free: 10.18 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.6038, allocations: 3.984 kB / 0.6581 GB, free: 10.18 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02095/0.6248, allocations: 8.535 MB / 0.6664 GB, free: 1.574 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001966/0.625, allocations: 191.4 kB / 0.6666 GB, free: 1.367 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000207/0.6252, allocations: 20 kB / 0.6666 GB, free: 1.348 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002986/0.6282, allocations: 0.5952 MB / 0.6672 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003243/0.6285, allocations: 144.6 kB / 0.6673 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002146/0.6287, allocations: 87.75 kB / 0.6674 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001746/0.6289, allocations: 194 kB / 0.6676 GB, free: 344 kB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6289, allocations: 0 / 0.6676 GB, free: 344 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.003225/0.6322, allocations: 1.296 MB / 0.6689 GB, free: 15.04 MB / 0.4948 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.003652/0.6358, allocations: 1.15 MB / 0.67 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01346/0.6493, allocations: 4.884 MB / 0.6747 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.686e-06/0.6493, allocations: 0 / 0.6747 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.007033/0.6564, allocations: 2.719 MB / 0.6774 GB, free: 6.273 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001991/0.6584, allocations: 338.1 kB / 0.6777 GB, free: 5.945 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/0.6704, allocations: 6.024 MB / 0.6836 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006376/0.671, allocations: 1.182 MB / 0.6848 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00203/0.6731, allocations: 0.7138 MB / 0.6855 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001205/0.6743, allocations: 215 kB / 0.6857 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of SimCode: time 4.2e-07/0.6743, allocations: 0 / 0.6857 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of Templates: time 0.2155/0.8898, allocations: 57.62 MB / 0.7419 GB, free: 162.1 MB / 0.5105 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)