Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.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: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009847/0.0009847, allocations: 99.8 kB / 16.94 MB, free: 5.812 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.0009358/0.0009358, allocations: 187.3 kB / 17.87 MB, free: 5.164 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.165/1.165, allocations: 205.1 MB / 223.7 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2301/0.2301, allocations: 48.84 MB / 319.9 MB, free: 11.1 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.001387/0.001387, allocations: 70.42 kB / 390.2 MB, free: 48.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07364/0.07504, allocations: 59.16 MB / 449.4 MB, free: 9.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.01645/0.09152, allocations: 15.53 MB / 464.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009401/0.0925, allocations: 0.7047 MB / 465.6 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.09268, allocations: 4 kB / 465.6 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003668/0.09306, allocations: 111.4 kB / 465.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00049/0.0936, allocations: 203.1 kB / 466 MB, free: 9.031 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004482/0.09809, allocations: 2.044 MB / 468 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005943/0.0987, allocations: 0.5911 MB / 468.6 MB, free: 6.383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.09887, allocations: 88.69 kB / 468.7 MB, free: 6.293 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005648/0.09944, allocations: 402.9 kB / 469.1 MB, free: 5.898 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003897/0.09984, allocations: 271 kB / 469.3 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.903e-05/0.09991, allocations: 24 kB / 469.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005427/0.1053, allocations: 3.566 MB / 472.9 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001913/0.1055, allocations: 207.4 kB / 473.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003317/0.1059, allocations: 302.4 kB / 473.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002985/0.1089, allocations: 2.436 MB / 475.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1089, allocations: 0 / 475.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1089, allocations: 0 / 475.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1089, allocations: 3.938 kB / 475.9 MB, free: 15.09 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002486/0.1114, allocations: 1.212 MB / 477.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.1115, allocations: 8.031 kB / 477.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.91e-05/0.1116, allocations: 98.69 kB / 477.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002782/0.1118, allocations: 96.06 kB / 477.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005937/0.1124, allocations: 0.5147 MB / 477.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.1125, allocations: 37.12 kB / 477.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.41e-05/0.1125, allocations: 51.98 kB / 477.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.1138, allocations: 0.8156 MB / 478.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.1138, allocations: 0 / 478.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.27e-05/0.1139, allocations: 16 kB / 478.7 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.742e-05/0.1139, allocations: 40.98 kB / 478.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.115, allocations: 0.6086 MB / 479.3 MB, free: 11.45 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.003/0.118, allocations: 4.3 MB / 483.6 MB, free: 6.641 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.1191, allocations: 0.5417 MB / 484.2 MB, free: 6.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002692/0.1193, allocations: 197 kB / 484.4 MB, free: 5.895 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02733/0.1467, allocations: 15.31 MB / 499.7 MB, free: 4.809 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.1467, allocations: 42.5 kB / 499.7 MB, free: 4.758 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.585e-06/0.1467, allocations: 0 / 499.7 MB, free: 4.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001764/0.1485, allocations: 0.7338 MB / 0.4887 GB, free: 4.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.1486, allocations: 59.39 kB / 0.4888 GB, free: 3.949 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004557/0.149, allocations: 473.8 kB / 0.4892 GB, free: 3.484 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.1491, allocations: 33.7 kB / 0.4893 GB, free: 3.445 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.1492, allocations: 264.3 kB / 0.4895 GB, free: 3.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.707e-05/0.1493, allocations: 145.9 kB / 0.4897 GB, free: 3.035 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.687e-05/0.1494, allocations: 77.62 kB / 0.4897 GB, free: 2.953 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1496, allocations: 362.8 kB / 0.4901 GB, free: 2.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.1498, allocations: 132.3 kB / 0.4902 GB, free: 2.461 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.15, allocations: 201.3 kB / 0.4904 GB, free: 2.242 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004607/0.1505, allocations: 371.9 kB / 0.4908 GB, free: 1.855 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1505, allocations: 4 kB / 0.4908 GB, free: 1.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006023/0.1511, allocations: 444.5 kB / 0.4912 GB, free: 1.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.1511, allocations: 8 kB / 0.4912 GB, free: 1.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.1511, allocations: 0 / 0.4912 GB, free: 1.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.1511, allocations: 4 kB / 0.4912 GB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002574/0.1514, allocations: 71.84 kB / 0.4913 GB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.1514, allocations: 7.938 kB / 0.4913 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.1516, allocations: 39.8 kB / 0.4913 GB, free: 1.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/0.1516, allocations: 20 kB / 0.4913 GB, free: 1.262 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 (fluidState[7].phase,fluidState[6].phase,fluidState[5].phase,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 (39): * Single equations (assignments): 37 * 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.0002503/0.1519, allocations: 257.6 kB / 0.4916 GB, free: 1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.01e-05/0.152, allocations: 55.28 kB / 0.4916 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001625/0.1536, allocations: 1.766 MB / 0.4934 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.717e-05/0.1536, allocations: 23.95 kB / 0.4934 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1537, allocations: 0 / 0.4934 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1537, allocations: 4 kB / 0.4934 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009228/0.1546, allocations: 1.004 MB / 0.4944 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1546, allocations: 4 kB / 0.4944 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001925/0.1548, allocations: 51.84 kB / 0.4944 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1548, allocations: 4 kB / 0.4944 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.1548, allocations: 8 kB / 0.4944 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1548, allocations: 0 / 0.4944 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.1549, allocations: 3.984 kB / 0.4944 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009437/0.1558, allocations: 0.9986 MB / 0.4954 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.1559, allocations: 167.8 kB / 0.4956 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.679e-05/0.156, allocations: 8 kB / 0.4956 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.1561, allocations: 8 kB / 0.4956 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.1562, allocations: 23.97 kB / 0.4956 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.1562, allocations: 15.98 kB / 0.4956 GB, free: 12.76 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003034/0.1565, allocations: 335.1 kB / 0.4959 GB, free: 12.44 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1565, allocations: 0 / 0.4959 GB, free: 12.44 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001118/0.1577, allocations: 0.5269 MB / 0.4965 GB, free: 11.91 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: 14 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 30 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 7 * 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.002536/0.1602, allocations: 1.961 MB / 0.4984 GB, free: 9.918 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006514/0.1609, allocations: 0.5399 MB / 0.4989 GB, free: 9.379 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1609, allocations: 0 / 0.4989 GB, free: 9.379 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00041/0.1613, allocations: 466.4 kB / 0.4993 GB, free: 8.922 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.1625, allocations: 285.4 kB / 0.4996 GB, free: 8.645 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005838/0.1683, allocations: 5.562 MB / 0.505 GB, free: 2.953 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005237/0.1689, allocations: 1.056 MB / 0.5061 GB, free: 1.871 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004261/0.1693, allocations: 283.9 kB / 0.5063 GB, free: 1.594 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002614/0.1696, allocations: 267.4 kB / 0.5066 GB, free: 1.332 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1696, allocations: 4 kB / 0.5066 GB, free: 1.328 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.181/0.3506, allocations: 28.3 MB / 0.5342 GB, free: 83.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.376/6.727, allocations: 10.56 kB / 0.5343 GB, free: 83.25 MB / 414.1 MB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe 2>&1)