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.001164/0.001164, allocations: 117 kB / 17.7 MB, free: 5.285 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.001182/0.001182, allocations: 191 kB / 18.63 MB, free: 4.355 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.277/1.277, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2724/0.2724, allocations: 48.84 MB / 320.7 MB, free: 11.04 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.001463/0.001463, allocations: 69.88 kB / 391.5 MB, free: 48.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08851/0.08999, allocations: 59.16 MB / 450.7 MB, free: 9.039 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.018/0.108, allocations: 15.55 MB / 466.2 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009332/0.109, allocations: 0.7049 MB / 466.9 MB, free: 8.727 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.1091, allocations: 0 / 466.9 MB, free: 8.727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003901/0.1095, allocations: 111.4 kB / 467.1 MB, free: 8.617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004955/0.1101, allocations: 207.1 kB / 467.3 MB, free: 8.414 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004954/0.1151, allocations: 2.056 MB / 469.3 MB, free: 6.352 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005365/0.1156, allocations: 445.7 kB / 469.7 MB, free: 5.914 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.1158, allocations: 105 kB / 469.8 MB, free: 5.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004941/0.1163, allocations: 359.1 kB / 470.2 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002839/0.1166, allocations: 239.1 kB / 470.4 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.543e-05/0.1166, allocations: 20 kB / 470.5 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006064/0.1227, allocations: 3.621 MB / 474.1 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002319/0.123, allocations: 203.3 kB / 474.3 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002858/0.1233, allocations: 254.6 kB / 474.5 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003154/0.1264, allocations: 2.339 MB / 476.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1264, allocations: 0 / 476.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.1264, allocations: 0 / 476.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.1265, 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.002191/0.1287, allocations: 1.079 MB / 477.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1287, allocations: 8.031 kB / 477.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000203/0.1289, allocations: 76.27 kB / 478 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008233/0.1297, allocations: 0.511 MB / 478.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.073e-05/0.1298, allocations: 28.94 kB / 478.6 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.802e-05/0.1299, allocations: 39.98 kB / 478.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.1309, allocations: 0.5937 MB / 479.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.131, allocations: 0 / 479.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.872e-05/0.131, allocations: 16 kB / 479.2 MB, free: 12.31 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-05/0.1311, allocations: 44.52 kB / 479.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000852/0.1319, allocations: 454.1 kB / 479.7 MB, free: 11.82 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.002633/0.1346, allocations: 3.152 MB / 482.8 MB, free: 8.273 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007487/0.1354, allocations: 382.6 kB / 483.2 MB, free: 7.891 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/0.1356, allocations: 172.8 kB / 483.4 MB, free: 7.719 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03176/0.1674, allocations: 15.37 MB / 498.8 MB, free: 6.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.688e-05/0.1675, allocations: 50.44 kB / 498.8 MB, free: 6.512 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 2.725e-06/0.1675, allocations: 0 / 498.8 MB, free: 6.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.001435/0.1689, allocations: 0.5436 MB / 499.4 MB, free: 5.961 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.169, allocations: 51.41 kB / 499.4 MB, free: 5.898 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004471/0.1694, allocations: 413.6 kB / 499.8 MB, free: 5.484 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.1695, allocations: 29.7 kB / 499.8 MB, free: 5.449 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.1696, allocations: 244.2 kB / 0.4884 GB, free: 5.203 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.009e-05/0.1697, allocations: 110.4 kB / 0.4885 GB, free: 5.094 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.658e-05/0.1698, allocations: 53.7 kB / 0.4885 GB, free: 5.035 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.17, allocations: 358.8 kB / 0.4889 GB, free: 4.676 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.1701, allocations: 103.9 kB / 0.489 GB, free: 4.574 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.1704, allocations: 148.2 kB / 0.4891 GB, free: 4.414 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003951/0.1708, allocations: 292.8 kB / 0.4894 GB, free: 4.113 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.1708, allocations: 0 / 0.4894 GB, free: 4.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005133/0.1713, allocations: 340.9 kB / 0.4897 GB, free: 3.773 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1713, allocations: 8 kB / 0.4897 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.1713, allocations: 7.938 kB / 0.4897 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.1714, allocations: 4.125 kB / 0.4897 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.1716, allocations: 47.92 kB / 0.4898 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.1716, allocations: 4 kB / 0.4898 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.1718, allocations: 35.61 kB / 0.4898 GB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.251e-05/0.1718, allocations: 8 kB / 0.4898 GB, free: 3.66 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.0002622/0.1721, allocations: 229.7 kB / 0.49 GB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.762e-05/0.1721, allocations: 47.38 kB / 0.4901 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.1734, allocations: 1.112 MB / 0.4912 GB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.548e-05/0.1734, allocations: 19.97 kB / 0.4912 GB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1734, allocations: 4 kB / 0.4912 GB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1734, allocations: 0 / 0.4912 GB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000782/0.1742, allocations: 0.7221 MB / 0.4919 GB, free: 1.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1742, allocations: 0 / 0.4919 GB, free: 1.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.1744, allocations: 39.91 kB / 0.4919 GB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.1744, allocations: 4 kB / 0.4919 GB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.1744, allocations: 4 kB / 0.4919 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1744, allocations: 0 / 0.4919 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.1744, allocations: 0 / 0.4919 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007629/0.1752, allocations: 0.7158 MB / 0.4926 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.1753, allocations: 144.1 kB / 0.4928 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.429e-05/0.1754, allocations: 4 kB / 0.4928 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.1755, allocations: 8 kB / 0.4928 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.865e-05/0.1756, allocations: 11.98 kB / 0.4928 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.1756, allocations: 11.98 kB / 0.4928 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002963/0.1759, allocations: 291.1 kB / 0.4931 GB, free: 216 kB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1759, allocations: 0 / 0.4931 GB, free: 216 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001311/0.1772, 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.00161/0.1788, allocations: 0.5027 MB / 0.4941 GB, free: 15.19 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005608/0.1794, allocations: 399.9 kB / 0.4944 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1794, allocations: 0 / 0.4944 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003278/0.1798, allocations: 308.8 kB / 0.4947 GB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009799/0.1808, allocations: 201.4 kB / 0.4949 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.1824, allocations: 1.27 MB / 0.4962 GB, free: 13 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005482/0.183, allocations: 0.9538 MB / 0.4971 GB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003457/0.1833, allocations: 187 kB / 0.4973 GB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.788e-05/0.1834, allocations: 31.44 kB / 0.4973 GB, free: 11.81 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1834, allocations: 0 / 0.4973 GB, free: 11.81 MB / 398.1 MB Notification: Performance of Templates: time 0.02578/0.2092, allocations: 18.1 MB / 0.515 GB, free: 9.691 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 cvode -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe 2>&1)