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.001061/0.001061, allocations: 113.3 kB / 17.69 MB, free: 5.309 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.0009914/0.0009915, allocations: 192 kB / 18.63 MB, free: 4.375 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.261/1.261, allocations: 205.1 MB / 224.5 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2527/0.2527, allocations: 48.84 MB / 320.7 MB, free: 11.06 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.001471/0.001471, allocations: 70.59 kB / 391.5 MB, free: 48.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07545/0.07693, allocations: 59.16 MB / 450.7 MB, free: 9.043 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.01703/0.09399, allocations: 15.53 MB / 466.2 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009211/0.09494, allocations: 0.7166 MB / 466.9 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.09508, allocations: 7.938 kB / 467 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003611/0.09545, allocations: 99.38 kB / 467.1 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005199/0.09598, allocations: 207.1 kB / 467.3 MB, free: 8.422 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004386/0.1004, allocations: 2.052 MB / 469.3 MB, free: 6.363 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004999/0.1009, allocations: 449.8 kB / 469.7 MB, free: 5.922 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.1011, allocations: 109 kB / 469.8 MB, free: 5.812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005119/0.1016, allocations: 355.1 kB / 470.2 MB, free: 5.465 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002924/0.1019, allocations: 231.2 kB / 470.4 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.942e-05/0.102, allocations: 20 kB / 470.4 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005512/0.1075, allocations: 3.629 MB / 474.1 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001761/0.1077, allocations: 199.4 kB / 474.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002411/0.1079, allocations: 254.6 kB / 474.5 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002909/0.1108, allocations: 2.342 MB / 476.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.1108, allocations: 0 / 476.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1109, allocations: 0 / 476.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.1109, allocations: 0 / 476.9 MB, free: 14.79 MB / 366.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.002193/0.1131, allocations: 1.073 MB / 477.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.1131, allocations: 8.031 kB / 477.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002121/0.1133, allocations: 72.27 kB / 478 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007534/0.1141, allocations: 0.5149 MB / 478.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.1141, allocations: 36.88 kB / 478.6 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.199e-05/0.1142, allocations: 36 kB / 478.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009947/0.1152, allocations: 0.5936 MB / 479.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.1152, allocations: 0 / 479.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.667e-05/0.1152, allocations: 23.92 kB / 479.2 MB, free: 12.31 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.27e-05/0.1153, allocations: 28.64 kB / 479.2 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008552/0.1161, allocations: 462.1 kB / 479.7 MB, free: 11.84 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.002493/0.1187, allocations: 3.149 MB / 482.8 MB, free: 8.289 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007512/0.1194, allocations: 394.6 kB / 483.2 MB, free: 7.895 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002498/0.1197, allocations: 176.7 kB / 483.4 MB, free: 7.719 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03016/0.1498, allocations: 15.37 MB / 498.8 MB, free: 6.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.1499, allocations: 38.5 kB / 498.8 MB, free: 6.523 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 2.395e-06/0.1499, allocations: 0 / 498.8 MB, free: 6.523 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.001391/0.1513, allocations: 0.5474 MB / 499.4 MB, free: 5.969 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.1514, allocations: 59.41 kB / 499.4 MB, free: 5.898 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004504/0.1518, allocations: 409.6 kB / 499.8 MB, free: 5.488 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.1519, allocations: 33.69 kB / 499.8 MB, free: 5.449 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.152, allocations: 248.2 kB / 0.4884 GB, free: 5.199 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.287e-05/0.1521, allocations: 102.4 kB / 0.4885 GB, free: 5.098 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.34e-05/0.1522, allocations: 57.69 kB / 0.4885 GB, free: 5.035 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.1524, allocations: 350.8 kB / 0.4889 GB, free: 4.684 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.1525, allocations: 107.9 kB / 0.489 GB, free: 4.578 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.1527, allocations: 148.2 kB / 0.4891 GB, free: 4.418 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003817/0.1531, allocations: 288.8 kB / 0.4894 GB, free: 4.121 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1531, allocations: 4 kB / 0.4894 GB, free: 4.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005088/0.1537, allocations: 348.8 kB / 0.4897 GB, free: 3.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1537, allocations: 4 kB / 0.4897 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.1537, allocations: 4 kB / 0.4897 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1537, allocations: 0 / 0.4897 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.1539, allocations: 47.92 kB / 0.4898 GB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.154, allocations: 3.938 kB / 0.4898 GB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.1541, allocations: 27.67 kB / 0.4898 GB, free: 3.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-05/0.1542, allocations: 12.12 kB / 0.4898 GB, free: 3.672 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.0002268/0.1544, allocations: 233.7 kB / 0.49 GB, free: 3.434 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.028e-05/0.1545, allocations: 43.38 kB / 0.4901 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/0.1556, allocations: 1.108 MB / 0.4911 GB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-05/0.1557, allocations: 15.97 kB / 0.4912 GB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1557, allocations: 0 / 0.4912 GB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1557, allocations: 4 kB / 0.4912 GB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007594/0.1564, allocations: 0.7298 MB / 0.4919 GB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1565, allocations: 0 / 0.4919 GB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.1566, allocations: 47.84 kB / 0.4919 GB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1566, allocations: 0 / 0.4919 GB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.1567, allocations: 4 kB / 0.4919 GB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1567, allocations: 4 kB / 0.4919 GB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1567, allocations: 0 / 0.4919 GB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007354/0.1574, allocations: 0.7041 MB / 0.4926 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.1575, allocations: 144.1 kB / 0.4928 GB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.618e-05/0.1576, allocations: 8 kB / 0.4928 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.1578, allocations: 11.94 kB / 0.4928 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/0.1578, allocations: 11.98 kB / 0.4928 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.1578, allocations: 15.98 kB / 0.4928 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002839/0.1581, allocations: 295.1 kB / 0.4931 GB, free: 216 kB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1581, allocations: 0 / 0.4931 GB, free: 216 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001128/0.1593, allocations: 0.5073 MB / 0.4936 GB, free: 15.7 MB / 398.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.001704/0.161, allocations: 0.495 MB / 0.4941 GB, free: 15.2 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005419/0.1615, allocations: 399.9 kB / 0.4944 GB, free: 14.81 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1615, allocations: 0 / 0.4944 GB, free: 14.81 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003156/0.1619, allocations: 304.8 kB / 0.4947 GB, free: 14.51 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009779/0.1628, allocations: 197.4 kB / 0.4949 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.1645, allocations: 1.274 MB / 0.4962 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000505/0.165, allocations: 0.9498 MB / 0.4971 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003487/0.1654, allocations: 191 kB / 0.4973 GB, free: 11.85 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.033e-05/0.1655, allocations: 39.44 kB / 0.4973 GB, free: 11.81 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1655, allocations: 0 / 0.4973 GB, free: 11.81 MB / 398.1 MB Notification: Performance of Templates: time 0.02486/0.1903, allocations: 18.09 MB / 0.515 GB, free: 9.699 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 -s gbode -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe 2>&1)