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.001045/0.001045, allocations: 110.6 kB / 17.28 MB, free: 6.059 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.001047/0.001047, allocations: 193.3 kB / 18.21 MB, free: 5.148 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.203/1.203, allocations: 205.1 MB / 224 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2466/0.2466, allocations: 48.85 MB / 320.2 MB, free: 11.25 MB / 270.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.001234/0.001234, allocations: 64.69 kB / 390.2 MB, free: 48.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07922/0.08047, allocations: 59.16 MB / 449.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.01558/0.09609, allocations: 16.2 MB / 465.6 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01244/0.1086, allocations: 13.61 MB / 479.2 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001943/0.1088, allocations: 4 kB / 479.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003725/0.1092, allocations: 115.4 kB / 479.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002794/0.1095, allocations: 206.9 kB / 479.5 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0111/0.1206, allocations: 4.702 MB / 484.2 MB, free: 7.172 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001522/0.1222, allocations: 1.95 MB / 486.1 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.1224, allocations: 121.6 kB / 486.3 MB, free: 5.094 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005261/0.1229, allocations: 0.6161 MB / 486.9 MB, free: 4.477 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008725/0.1238, allocations: 0.8263 MB / 487.7 MB, free: 3.648 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001607/0.1239, allocations: 136 kB / 487.8 MB, free: 3.516 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009929/0.1339, allocations: 6.677 MB / 494.5 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004409/0.1343, allocations: 475 kB / 495 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006863/0.135, allocations: 0.5839 MB / 495.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004669/0.1397, allocations: 3.474 MB / 499 MB, free: 8.301 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1398, allocations: 7.938 kB / 499 MB, free: 8.293 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1398, allocations: 0 / 499 MB, free: 8.293 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.1398, allocations: 0 / 499 MB, free: 8.293 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.008395/0.1482, allocations: 2.594 MB / 0.4899 GB, free: 5.645 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.1482, allocations: 15.89 kB / 0.4899 GB, free: 5.629 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001627/0.1499, allocations: 295.8 kB / 0.4902 GB, free: 5.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000805/0.1507, allocations: 0.5733 MB / 0.4907 GB, free: 4.727 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008111/0.1515, allocations: 462.1 kB / 0.4912 GB, free: 4.246 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002273/0.1517, allocations: 68 kB / 0.4912 GB, free: 4.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007918/0.1597, allocations: 3.374 MB / 0.4945 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.1597, allocations: 0 / 0.4945 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001827/0.1599, allocations: 32 kB / 0.4946 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.998e-05/0.16, allocations: 49.97 kB / 0.4946 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0132/0.1732, allocations: 5.4 MB / 0.4999 GB, free: 11.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01368/0.1869, allocations: 10.08 MB / 0.5097 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006781/0.1937, allocations: 2.734 MB / 0.5124 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005637/0.1994, allocations: 2.279 MB / 0.5146 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2403/0.4397, allocations: 53.43 MB / 0.5668 GB, free: 53.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.4398, allocations: 46.23 kB / 0.5669 GB, free: 53.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=88): time 2.544e-06/0.4398, allocations: 4 kB / 0.5669 GB, free: 53.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=88): time 0.01698/0.4568, allocations: 6.62 MB / 0.5733 GB, free: 47.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.4569, allocations: 60.41 kB / 0.5734 GB, free: 47.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.4571, allocations: 256.1 kB / 0.5736 GB, free: 47.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001848/0.4573, allocations: 40.33 kB / 0.5737 GB, free: 46.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.804e-05/0.4574, allocations: 250.8 kB / 0.5739 GB, free: 46.78 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002733/0.4577, allocations: 303.4 kB / 0.5742 GB, free: 46.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005296/0.4582, allocations: 282.2 kB / 0.5745 GB, free: 46.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.131e-05/0.4583, allocations: 358.8 kB / 0.5748 GB, free: 45.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004936/0.4632, allocations: 2.148 MB / 0.5769 GB, free: 43.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004935/0.4682, allocations: 2.254 MB / 0.5791 GB, free: 41.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008786/0.477, allocations: 3.395 MB / 0.5824 GB, free: 37.99 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.477, allocations: 4 kB / 0.5824 GB, free: 37.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01024/0.4873, allocations: 4.138 MB / 0.5865 GB, free: 33.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.4873, allocations: 4 kB / 0.5865 GB, free: 33.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.4873, allocations: 5.125 kB / 0.5865 GB, free: 33.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.4874, allocations: 7.562 kB / 0.5865 GB, free: 33.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002991/0.4903, allocations: 0.8255 MB / 0.5873 GB, free: 33.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.4904, allocations: 4 kB / 0.5873 GB, free: 33.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002479/0.4929, allocations: 0.6274 MB / 0.5879 GB, free: 32.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002349/0.4931, allocations: 87.81 kB / 0.588 GB, free: 32.3 MB / 414.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006114/0.4937, allocations: 281 kB / 0.5883 GB, free: 32.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003348/0.4941, allocations: 44.66 kB / 0.5883 GB, free: 31.99 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/0.5058, allocations: 6.531 MB / 0.5947 GB, free: 25.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01069/0.5165, allocations: 5.938 MB / 0.6005 GB, free: 19.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-05/0.5166, allocations: 8.641 kB / 0.6005 GB, free: 19.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.5166, allocations: 7.984 kB / 0.6005 GB, free: 19.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01524/0.5319, allocations: 9.09 MB / 0.6094 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.5319, allocations: 3.984 kB / 0.6094 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002914/0.5348, allocations: 0.8017 MB / 0.6102 GB, free: 9.586 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.564e-05/0.5349, allocations: 7.938 kB / 0.6102 GB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002147/0.5351, allocations: 79.81 kB / 0.6102 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.737e-06/0.5351, allocations: 7.984 kB / 0.6103 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.5351, allocations: 0 / 0.6103 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01063/0.5457, allocations: 4.839 MB / 0.615 GB, free: 4.629 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001802/0.546, allocations: 195 kB / 0.6152 GB, free: 4.422 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002765/0.5462, allocations: 23.98 kB / 0.6152 GB, free: 4.398 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002474/0.5487, allocations: 0.5888 MB / 0.6158 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003055/0.549, allocations: 147.2 kB / 0.6159 GB, free: 3.668 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002084/0.5493, allocations: 87.81 kB / 0.616 GB, free: 3.582 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001496/0.5494, allocations: 197.9 kB / 0.6162 GB, free: 3.387 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5494, allocations: 0 / 0.6162 GB, free: 3.387 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002939/0.5524, allocations: 1.277 MB / 0.6174 GB, free: 2.195 MB / 414.1 MB 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.004169/0.5565, allocations: 1.144 MB / 0.6185 GB, free: 1.246 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01328/0.5698, allocations: 5.349 MB / 0.6238 GB, free: 11.91 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.5699, allocations: 2.906 kB / 0.6238 GB, free: 11.91 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006255/0.5761, allocations: 2.715 MB / 0.6264 GB, free: 9.219 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/0.5781, allocations: 353.6 kB / 0.6268 GB, free: 8.898 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/0.5885, allocations: 5.083 MB / 0.6317 GB, free: 3.781 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006409/0.5892, allocations: 1.117 MB / 0.6328 GB, free: 2.633 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001524/0.5907, allocations: 262.9 kB / 0.6331 GB, free: 2.375 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.5907, allocations: 0 / 0.6331 GB, free: 2.375 MB / 430.1 MB Notification: Performance of Templates: time 0.04666/0.6374, allocations: 37.25 MB / 0.6694 GB, free: 13.02 MB / 478.1 MB 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)