Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.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.TestConstantHeatTransferTwoGrid_Fcoarse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse") translateModel(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009807/0.0009808, allocations: 109.9 kB / 16.62 MB, free: 6.82 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.0009833/0.0009833, allocations: 190 kB / 17.55 MB, free: 5.93 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.254/1.254, allocations: 205.1 MB / 223.4 MB, free: 12.4 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2535/0.2535, allocations: 48.83 MB / 319.6 MB, free: 11.27 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.001285/0.001285, allocations: 64.72 kB / 389.6 MB, free: 48.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07981/0.0811, allocations: 59.16 MB / 448.7 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.0161/0.09723, allocations: 15.64 MB / 464.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008696/0.09814, allocations: 0.7088 MB / 465.1 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.09826, allocations: 4 kB / 465.1 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003516/0.09862, allocations: 103.5 kB / 465.2 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004322/0.09909, allocations: 195.2 kB / 465.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004608/0.1037, allocations: 1.807 MB / 467.2 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005735/0.1043, allocations: 449.7 kB / 467.6 MB, free: 7.172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001867/0.1045, allocations: 116.9 kB / 467.7 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00048/0.105, allocations: 371.1 kB / 468.1 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002958/0.1053, allocations: 271.1 kB / 468.3 MB, free: 6.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.459e-05/0.1053, allocations: 20 kB / 468.4 MB, free: 6.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005237/0.1106, allocations: 3.539 MB / 471.9 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002122/0.1108, allocations: 195.4 kB / 472.1 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002338/0.1111, allocations: 250.7 kB / 472.3 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002913/0.114, allocations: 2.342 MB / 474.7 MB, free: 80 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.114, allocations: 4 kB / 474.7 MB, free: 76 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.114, allocations: 0 / 474.7 MB, free: 76 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.645e-06/0.114, allocations: 0 / 474.7 MB, free: 76 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002248/0.1163, allocations: 1.072 MB / 475.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.1163, allocations: 12.03 kB / 475.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000196/0.1165, allocations: 68.27 kB / 475.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000602/0.1171, allocations: 491.3 kB / 476.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.1172, allocations: 32.94 kB / 476.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.995e-05/0.1172, allocations: 36 kB / 476.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009891/0.1182, allocations: 0.5975 MB / 477 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1182, allocations: 0 / 477 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.578e-05/0.1183, allocations: 16 kB / 477 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.079e-05/0.1183, allocations: 32.58 kB / 477 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008074/0.1191, allocations: 458.2 kB / 477.5 MB, free: 13.15 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002338/0.1215, allocations: 3.152 MB / 480.6 MB, free: 9.602 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007223/0.1222, allocations: 390.6 kB / 481 MB, free: 9.211 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002385/0.1225, allocations: 180.7 kB / 481.2 MB, free: 9.031 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02979/0.1523, allocations: 15.31 MB / 496.5 MB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/0.1524, allocations: 46.5 kB / 496.5 MB, free: 7.895 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 2.454e-06/0.1524, allocations: 0 / 496.5 MB, free: 7.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.001355/0.1537, allocations: 0.5513 MB / 497.1 MB, free: 7.336 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.1538, allocations: 55.41 kB / 497.1 MB, free: 7.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004136/0.1542, allocations: 409.6 kB / 497.5 MB, free: 6.863 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.1542, allocations: 33.69 kB / 497.6 MB, free: 6.824 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.1544, allocations: 248.2 kB / 497.8 MB, free: 6.574 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.62e-05/0.1545, allocations: 102.4 kB / 497.9 MB, free: 6.473 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.728e-05/0.1546, allocations: 65.67 kB / 498 MB, free: 6.402 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1547, allocations: 350.8 kB / 498.3 MB, free: 6.051 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.1549, allocations: 103.9 kB / 498.4 MB, free: 5.949 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/0.155, allocations: 144.2 kB / 498.6 MB, free: 5.793 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000378/0.1554, allocations: 288.8 kB / 498.8 MB, free: 5.496 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1554, allocations: 0 / 498.8 MB, free: 5.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004989/0.1559, allocations: 352.8 kB / 499.2 MB, free: 5.145 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.156, allocations: 4 kB / 499.2 MB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.156, allocations: 4 kB / 499.2 MB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.156, allocations: 0 / 499.2 MB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.1562, allocations: 52.03 kB / 499.3 MB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1562, allocations: 4 kB / 499.3 MB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.1565, allocations: 43.61 kB / 499.3 MB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/0.1565, allocations: 8 kB / 499.3 MB, free: 5.031 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (fluidState[4].phase,fluidState[3].phase,fluidState[2].phase,fluidState[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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.0002285/0.1567, allocations: 225.7 kB / 499.5 MB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.374e-05/0.1568, allocations: 51.38 kB / 499.6 MB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.158, allocations: 1.108 MB / 0.4889 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.569e-05/0.158, allocations: 15.98 kB / 0.489 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.158, allocations: 0 / 0.489 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.158, allocations: 3.984 kB / 0.489 GB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007856/0.1588, allocations: 0.726 MB / 0.4897 GB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.1588, allocations: 3.938 kB / 0.4897 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.159, allocations: 39.86 kB / 0.4897 GB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.159, allocations: 4 kB / 0.4897 GB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.159, allocations: 7.984 kB / 0.4897 GB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.159, allocations: 4 kB / 0.4897 GB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.159, allocations: 4 kB / 0.4897 GB, free: 2.781 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007129/0.1598, allocations: 0.7041 MB / 0.4904 GB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.1599, allocations: 140.1 kB / 0.4906 GB, free: 1.902 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.714e-05/0.1599, allocations: 7.984 kB / 0.4906 GB, free: 1.895 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.1601, allocations: 27.84 kB / 0.4906 GB, free: 1.867 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.1602, allocations: 19.95 kB / 0.4906 GB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.1602, allocations: 4 kB / 0.4906 GB, free: 1.844 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002705/0.1605, allocations: 299.1 kB / 0.4909 GB, free: 1.551 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1605, allocations: 0 / 0.4909 GB, free: 1.551 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001289/0.1618, allocations: 0.4995 MB / 0.4914 GB, free: 1.051 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 21 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 4 * 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.001644/0.1634, allocations: 0.5105 MB / 0.4919 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007328/0.1642, allocations: 459.4 kB / 0.4923 GB, free: 84 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1642, allocations: 0 / 0.4923 GB, free: 84 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000308/0.1645, allocations: 304.8 kB / 0.4926 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.1655, allocations: 196.6 kB / 0.4928 GB, free: 15.6 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.1672, allocations: 1.546 MB / 0.4943 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004518/0.1677, allocations: 0.9498 MB / 0.4952 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003736/0.1681, allocations: 183 kB / 0.4954 GB, free: 12.87 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.708e-05/0.1681, allocations: 39.44 kB / 0.4955 GB, free: 12.83 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1682, allocations: 0 / 0.4955 GB, free: 12.83 MB / 398.1 MB Notification: Performance of Templates: time 0.02392/0.1921, allocations: 18.15 MB / 0.5132 GB, free: 10.66 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe 2>&1)