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: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Fcoarse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Fcoarse",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.001227/0.001227, allocations: 105.4 kB / 16.62 MB, free: 6.809 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.001171/0.001171, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.166/1.166, allocations: 205.1 MB / 223.4 MB, free: 12.46 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2333/0.2333, allocations: 48.84 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.001374/0.001374, allocations: 66.28 kB / 389.7 MB, free: 48.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07789/0.07928, allocations: 59.16 MB / 448.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.01509/0.0944, allocations: 15.64 MB / 464.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009153/0.09536, allocations: 0.7089 MB / 465.2 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.09548, allocations: 4 kB / 465.2 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003572/0.09585, allocations: 95.48 kB / 465.3 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003994/0.09629, allocations: 199.2 kB / 465.5 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003845/0.1002, allocations: 1.819 MB / 467.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004139/0.1006, allocations: 453.8 kB / 467.7 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.1007, allocations: 117 kB / 467.8 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000403/0.1011, allocations: 367.1 kB / 468.2 MB, free: 6.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002642/0.1014, allocations: 275.1 kB / 468.5 MB, free: 6.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.176e-05/0.1015, allocations: 20 kB / 468.5 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004436/0.1059, allocations: 3.531 MB / 472 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001759/0.1061, allocations: 207.4 kB / 472.2 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002011/0.1063, allocations: 250.7 kB / 472.5 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002337/0.1086, allocations: 2.331 MB / 474.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1087, allocations: 7.984 kB / 474.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1087, allocations: 0 / 474.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.1087, allocations: 0 / 474.8 MB, free: 15.98 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.001992/0.1107, allocations: 1.073 MB / 475.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.1107, allocations: 8.031 kB / 475.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.614e-05/0.1108, allocations: 82.7 kB / 476 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/0.111, allocations: 72.27 kB / 476 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00055/0.1115, allocations: 491.1 kB / 476.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.1116, allocations: 33 kB / 476.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.78e-05/0.1116, allocations: 32 kB / 476.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009242/0.1126, allocations: 0.6053 MB / 477.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.1126, allocations: 7.938 kB / 477.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.165e-05/0.1126, allocations: 12 kB / 477.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-05/0.1127, allocations: 32.64 kB / 477.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007478/0.1134, allocations: 450.2 kB / 477.7 MB, free: 12.97 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.002088/0.1155, allocations: 3.156 MB / 480.8 MB, free: 9.414 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000703/0.1162, allocations: 390.5 kB / 481.2 MB, free: 9.023 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/0.1165, allocations: 184.7 kB / 481.4 MB, free: 8.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02769/0.1442, allocations: 15.3 MB / 496.7 MB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.1442, allocations: 38.56 kB / 496.7 MB, free: 7.719 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.943e-06/0.1442, allocations: 0 / 496.7 MB, free: 7.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.001179/0.1454, allocations: 0.5552 MB / 497.3 MB, free: 7.156 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.1455, allocations: 59.39 kB / 497.3 MB, free: 7.086 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003716/0.1458, allocations: 409.7 kB / 497.7 MB, free: 6.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.1459, allocations: 29.7 kB / 497.8 MB, free: 6.645 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.146, allocations: 244.2 kB / 498 MB, free: 6.398 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.1e-05/0.1461, allocations: 110.4 kB / 498.1 MB, free: 6.289 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.014e-05/0.1462, allocations: 57.69 kB / 498.2 MB, free: 6.227 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.1463, allocations: 354.8 kB / 498.5 MB, free: 5.871 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.1464, allocations: 99.94 kB / 498.6 MB, free: 5.773 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.1466, allocations: 148.2 kB / 498.7 MB, free: 5.613 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003409/0.147, allocations: 284.8 kB / 499 MB, free: 5.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.147, allocations: 4 kB / 499 MB, free: 5.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004558/0.1474, allocations: 352.8 kB / 499.4 MB, free: 4.965 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1475, allocations: 4 kB / 499.4 MB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1475, allocations: 0 / 499.4 MB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1475, allocations: 8 kB / 499.4 MB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.1477, allocations: 55.84 kB / 499.4 MB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.1477, allocations: 0 / 499.4 MB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.1479, allocations: 47.7 kB / 499.5 MB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/0.1479, allocations: 4 kB / 499.5 MB, free: 4.848 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.0002048/0.1481, allocations: 229.7 kB / 499.7 MB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.765e-05/0.1482, allocations: 43.47 kB / 499.8 MB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/0.1492, allocations: 1.112 MB / 0.4891 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.206e-05/0.1493, allocations: 15.98 kB / 0.4891 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1493, allocations: 7.984 kB / 0.4892 GB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.1493, allocations: 0 / 0.4892 GB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006668/0.15, allocations: 0.722 MB / 0.4899 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.15, allocations: 3.938 kB / 0.4899 GB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.1501, allocations: 39.91 kB / 0.4899 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1501, allocations: 3.938 kB / 0.4899 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.1502, allocations: 8 kB / 0.4899 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1502, allocations: 0 / 0.4899 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1502, allocations: 0 / 0.4899 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000644/0.1508, allocations: 0.7042 MB / 0.4906 GB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.314e-05/0.1509, allocations: 140.1 kB / 0.4907 GB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.649e-05/0.151, allocations: 11.98 kB / 0.4907 GB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.1511, allocations: 27.77 kB / 0.4908 GB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.1512, allocations: 11.98 kB / 0.4908 GB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.1512, allocations: 19.98 kB / 0.4908 GB, free: 1.656 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002468/0.1515, allocations: 295.1 kB / 0.4911 GB, free: 1.367 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1515, allocations: 0 / 0.4911 GB, free: 1.367 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000943/0.1524, allocations: 0.5034 MB / 0.4916 GB, free: 0.8633 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.002186/0.1546, allocations: 1.647 MB / 0.4932 GB, free: 15.19 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006377/0.1553, allocations: 463.6 kB / 0.4936 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1553, allocations: 0 / 0.4936 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002739/0.1555, allocations: 304.8 kB / 0.4939 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009373/0.1565, allocations: 197.5 kB / 0.4941 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004812/0.1613, allocations: 4.794 MB / 0.4988 GB, free: 9.348 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004423/0.1618, allocations: 0.9498 MB / 0.4997 GB, free: 8.371 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003299/0.1621, allocations: 183 kB / 0.4999 GB, free: 8.195 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002122/0.1623, allocations: 207.3 kB / 0.5001 GB, free: 7.992 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1623, allocations: 3.938 kB / 0.5001 GB, free: 7.988 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1876/0.3499, allocations: 24.14 MB / 0.5237 GB, free: 84.62 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001615/0.3501, allocations: 243.6 kB / 0.5239 GB, free: 84.37 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.214/2.565, allocations: 1.406 kB / 0.5239 GB, free: 84.37 MB / 414.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Fcoarse_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Fcoarse.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe 2>&1)