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.001259/0.001259, allocations: 108 kB / 17.06 MB, free: 5.824 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.001243/0.001243, allocations: 191 kB / 18 MB, free: 4.977 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.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2524/0.2524, allocations: 48.84 MB / 320.1 MB, free: 11.02 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.001442/0.001442, allocations: 67.91 kB / 450.6 MB, free: 8.531 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1026, allocations: 59.15 MB / 0.4978 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.01712/0.1197, allocations: 16.09 MB / 0.5135 GB, free: 13.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2109/0.3307, allocations: 13.55 MB / 0.5267 GB, free: 6.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002236/0.3309, allocations: 5.312 kB / 0.5267 GB, free: 6.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004216/0.3314, allocations: 130.7 kB / 0.5268 GB, free: 6.98 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002887/0.3317, allocations: 196.2 kB / 0.527 GB, free: 6.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01237/0.3441, allocations: 5.333 MB / 0.5322 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001789/0.3459, allocations: 1.954 MB / 0.5341 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000196/0.3461, allocations: 114.6 kB / 0.5343 GB, free: 6.922 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006243/0.3467, allocations: 0.6259 MB / 0.5349 GB, free: 6.922 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001031/0.3478, allocations: 0.7833 MB / 0.5356 GB, free: 6.922 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001959/0.348, allocations: 136.9 kB / 0.5358 GB, free: 6.922 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01276/0.3607, allocations: 6.785 MB / 0.5424 GB, free: 6.887 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004886/0.3613, allocations: 478.2 kB / 0.5428 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007844/0.3621, allocations: 0.5686 MB / 0.5434 GB, free: 6.781 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008588/0.3707, allocations: 5.026 MB / 0.5483 GB, free: 4.938 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.3707, allocations: 0 / 0.5483 GB, free: 4.938 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.3707, allocations: 5.5 kB / 0.5483 GB, free: 4.934 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.3707, allocations: 0 / 0.5483 GB, free: 4.934 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.008961/0.3797, allocations: 2.591 MB / 0.5508 GB, free: 3.445 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.3797, allocations: 14.23 kB / 0.5509 GB, free: 3.441 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/0.3814, allocations: 300.5 kB / 0.5511 GB, free: 3.297 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008156/0.3823, allocations: 0.5735 MB / 0.5517 GB, free: 2.867 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008417/0.3831, allocations: 467.1 kB / 0.5521 GB, free: 2.562 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002667/0.3834, allocations: 70.69 kB / 0.5522 GB, free: 2.539 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008445/0.3918, allocations: 3.372 MB / 0.5555 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.3919, allocations: 0 / 0.5555 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001881/0.3921, allocations: 26.28 kB / 0.5555 GB, free: 0.707 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.339e-05/0.3921, allocations: 56.28 kB / 0.5556 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01504/0.4072, allocations: 5.4 MB / 0.5609 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01462/0.4218, allocations: 10.09 MB / 0.5707 GB, free: 6.211 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00765/0.4295, allocations: 2.738 MB / 0.5734 GB, free: 4.043 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00639/0.4359, allocations: 2.279 MB / 0.5756 GB, free: 1.766 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1059/0.5419, allocations: 53.65 MB / 0.628 GB, free: 5.754 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.45e-05/0.542, allocations: 39.56 kB / 0.628 GB, free: 5.707 MB / 494.1 MB Notification: Performance of pre-optimization done (n=88): time 2.755e-06/0.542, allocations: 0 / 0.628 GB, free: 5.707 MB / 494.1 MB Notification: Performance of matching and sorting (n=88): time 0.02144/0.5634, allocations: 6.637 MB / 0.6345 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.013e-05/0.5635, allocations: 64.41 kB / 0.6346 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002821/0.5638, allocations: 248.9 kB / 0.6348 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001756/0.564, allocations: 37.7 kB / 0.6349 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.5641, allocations: 251.7 kB / 0.6351 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003373/0.5645, allocations: 305.2 kB / 0.6354 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006325/0.5651, allocations: 278.3 kB / 0.6357 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.5652, allocations: 354.8 kB / 0.636 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00631/0.5716, allocations: 2.144 MB / 0.6381 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006428/0.578, allocations: 2.258 MB / 0.6403 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01123/0.5892, allocations: 3.397 MB / 0.6436 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.5893, allocations: 0 / 0.6436 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01293/0.6022, allocations: 4.138 MB / 0.6476 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.6022, allocations: 7.906 kB / 0.6477 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.6023, allocations: 4.875 kB / 0.6477 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.6023, allocations: 7.938 kB / 0.6477 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003599/0.6059, allocations: 0.8231 MB / 0.6485 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.961e-05/0.6059, allocations: 11.97 kB / 0.6485 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002865/0.6088, allocations: 0.6054 MB / 0.6491 GB, free: 64 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002603/0.6091, allocations: 91.81 kB / 0.6492 GB, free: 15.97 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.0006437/0.6097, allocations: 274 kB / 0.6494 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003338/0.6101, allocations: 47.44 kB / 0.6495 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01545/0.6255, allocations: 6.518 MB / 0.6558 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0141/0.6396, allocations: 5.941 MB / 0.6616 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/0.6397, allocations: 4 kB / 0.6616 GB, free: 3.172 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.6397, allocations: 3.984 kB / 0.6616 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02001/0.6597, allocations: 9.103 MB / 0.6705 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.876e-06/0.6598, allocations: 6.25 kB / 0.6705 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003517/0.6633, allocations: 0.8011 MB / 0.6713 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/0.6633, allocations: 4 kB / 0.6713 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002219/0.6635, allocations: 79.81 kB / 0.6714 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.685e-06/0.6635, allocations: 5.625 kB / 0.6714 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.6636, allocations: 4 kB / 0.6714 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01347/0.677, allocations: 4.838 MB / 0.6761 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000226/0.6773, allocations: 195.5 kB / 0.6763 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002416/0.6775, allocations: 19.94 kB / 0.6763 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002812/0.6804, allocations: 0.5578 MB / 0.6769 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003489/0.6807, allocations: 144.6 kB / 0.677 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000215/0.6809, allocations: 87.81 kB / 0.6771 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000197/0.6811, allocations: 190 kB / 0.6773 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6811, allocations: 0 / 0.6773 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003958/0.6851, allocations: 1.276 MB / 0.6785 GB, free: 1.793 MB / 0.5294 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.004591/0.6897, allocations: 1.146 MB / 0.6797 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01373/0.7035, allocations: 4.885 MB / 0.6844 GB, free: 11.88 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.7035, allocations: 4 kB / 0.6844 GB, free: 11.88 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006924/0.7104, allocations: 2.713 MB / 0.6871 GB, free: 9.18 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/0.7124, allocations: 342.2 kB / 0.6874 GB, free: 8.859 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/0.7234, allocations: 4.513 MB / 0.6918 GB, free: 4.312 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006233/0.724, allocations: 1.129 MB / 0.6929 GB, free: 3.156 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002033/0.726, allocations: 0.7044 MB / 0.6936 GB, free: 2.457 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001187/0.7272, allocations: 215 kB / 0.6938 GB, free: 2.246 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.7272, allocations: 0 / 0.6938 GB, free: 2.246 MB / 0.545 GB Notification: Performance of Templates: time 0.07353/0.8008, allocations: 58.24 MB / 0.7507 GB, free: 7.902 MB / 0.6075 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)