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.001299/0.001299, allocations: 110 kB / 16.92 MB, free: 6.332 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.001385/0.001385, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.314/1.314, allocations: 205.1 MB / 223.7 MB, free: 12.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2512/0.2512, 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.001608/0.001608, allocations: 66.64 kB / 390.2 MB, free: 48.88 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08181/0.08344, allocations: 59.16 MB / 449.3 MB, free: 9.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.01676/0.1002, allocations: 15.52 MB / 464.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.1014, allocations: 0.7125 MB / 465.6 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001823/0.1016, allocations: 4 kB / 465.6 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000403/0.1021, allocations: 107.4 kB / 465.7 MB, free: 9.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005373/0.1027, allocations: 211.1 kB / 465.9 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004689/0.1074, allocations: 2.048 MB / 467.9 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005788/0.1079, allocations: 0.5872 MB / 468.5 MB, free: 6.395 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.1081, allocations: 88.69 kB / 468.6 MB, free: 6.305 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005771/0.1087, allocations: 391 kB / 469 MB, free: 5.922 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004053/0.1091, allocations: 278.9 kB / 469.3 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.818e-05/0.1092, allocations: 24 kB / 469.3 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005829/0.115, allocations: 3.535 MB / 472.8 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001971/0.1153, allocations: 203.4 kB / 473 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003461/0.1156, allocations: 302.4 kB / 473.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004011/0.1196, allocations: 2.416 MB / 475.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1197, allocations: 0 / 475.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.1197, allocations: 0 / 475.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.712e-05/0.1197, allocations: 4 kB / 475.7 MB, free: 15.16 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.003021/0.1227, allocations: 1.216 MB / 477 MB, free: 13.9 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.1228, allocations: 12.03 kB / 477 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001118/0.1229, allocations: 98.69 kB / 477.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003108/0.1232, allocations: 92.08 kB / 477.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006498/0.1239, allocations: 0.5148 MB / 477.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/0.1239, allocations: 49.06 kB / 477.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.839e-05/0.124, allocations: 44 kB / 477.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.1253, allocations: 0.8117 MB / 478.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.1253, allocations: 3.938 kB / 478.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.149e-05/0.1254, allocations: 20 kB / 478.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.235e-05/0.1254, allocations: 40.98 kB / 478.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.1266, allocations: 0.6048 MB / 479.2 MB, free: 11.51 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.003072/0.1297, allocations: 4.32 MB / 483.6 MB, free: 6.684 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.1307, allocations: 0.5344 MB / 484.1 MB, free: 6.141 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.131, allocations: 197 kB / 484.3 MB, free: 5.945 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03064/0.1616, allocations: 15.31 MB / 499.6 MB, free: 4.852 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.1617, allocations: 38.56 kB / 499.6 MB, free: 4.805 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.514e-06/0.1617, allocations: 0 / 499.6 MB, free: 4.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001821/0.1636, allocations: 0.7415 MB / 0.4887 GB, free: 4.059 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.1636, allocations: 59.41 kB / 0.4887 GB, free: 3.988 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004909/0.1641, allocations: 473.8 kB / 0.4892 GB, free: 3.523 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.1641, allocations: 37.64 kB / 0.4892 GB, free: 3.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.1643, allocations: 268.3 kB / 0.4895 GB, free: 3.211 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.1644, allocations: 141.9 kB / 0.4896 GB, free: 3.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.1645, allocations: 73.69 kB / 0.4897 GB, free: 2.992 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.1647, allocations: 362.8 kB / 0.49 GB, free: 2.629 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.1648, allocations: 132.3 kB / 0.4901 GB, free: 2.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002255/0.1651, allocations: 201.4 kB / 0.4903 GB, free: 2.281 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004554/0.1655, allocations: 375.8 kB / 0.4907 GB, free: 1.891 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1656, allocations: 0 / 0.4907 GB, free: 1.891 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006061/0.1662, allocations: 440.6 kB / 0.4911 GB, free: 1.453 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.1662, allocations: 8 kB / 0.4911 GB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1662, allocations: 224 / 0.4911 GB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.1662, allocations: 8 kB / 0.4911 GB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/0.1665, allocations: 71.84 kB / 0.4912 GB, free: 1.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.1665, allocations: 4 kB / 0.4912 GB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.1667, allocations: 43.58 kB / 0.4912 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/0.1668, allocations: 15.98 kB / 0.4912 GB, free: 1.305 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.0002555/0.167, allocations: 260.7 kB / 0.4915 GB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.083e-05/0.1671, allocations: 55.28 kB / 0.4916 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001598/0.1687, allocations: 1.778 MB / 0.4933 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.288e-05/0.1688, allocations: 27.95 kB / 0.4933 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.1688, allocations: 0 / 0.4933 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1688, allocations: 8 kB / 0.4933 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.1698, allocations: 0.9926 MB / 0.4943 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1699, allocations: 4 kB / 0.4943 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.1701, allocations: 47.91 kB / 0.4943 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.054e-06/0.1701, allocations: 7.984 kB / 0.4943 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/0.1701, allocations: 12 kB / 0.4944 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.1701, allocations: 0 / 0.4944 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1701, allocations: 0 / 0.4944 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001/0.1711, allocations: 0.9948 MB / 0.4953 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.1713, allocations: 167.8 kB / 0.4955 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.644e-05/0.1713, allocations: 11.98 kB / 0.4955 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.1715, allocations: 8 kB / 0.4955 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.1716, allocations: 27.91 kB / 0.4955 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.1716, allocations: 15.94 kB / 0.4956 GB, free: 12.79 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003269/0.1719, allocations: 335.1 kB / 0.4959 GB, free: 12.47 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1719, allocations: 0 / 0.4959 GB, free: 12.47 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001319/0.1733, allocations: 0.5269 MB / 0.4964 GB, free: 11.94 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.003104/0.1764, allocations: 1.953 MB / 0.4983 GB, free: 9.957 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.1775, allocations: 0.6534 MB / 0.4989 GB, free: 9.305 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.1775, allocations: 4.062 kB / 0.4989 GB, free: 9.301 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004288/0.178, allocations: 462 kB / 0.4994 GB, free: 8.848 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/0.1794, allocations: 285.4 kB / 0.4996 GB, free: 8.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006967/0.1864, allocations: 5.547 MB / 0.5051 GB, free: 2.895 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005781/0.187, allocations: 1.045 MB / 0.5061 GB, free: 1.82 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005809/0.1876, allocations: 284 kB / 0.5064 GB, free: 1.543 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003283/0.1879, allocations: 271.4 kB / 0.5066 GB, free: 1.277 MB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1879, allocations: 0 / 0.5066 GB, free: 1.277 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2005/0.3884, allocations: 28.42 MB / 0.5344 GB, free: 83.71 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.599/7.988, allocations: 4.438 kB / 0.5344 GB, free: 83.71 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 & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe 2>&1)