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.0008306/0.0008306, allocations: 95.55 kB / 16.65 MB, free: 6.586 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.000901/0.0009011, allocations: 184.4 kB / 17.57 MB, free: 6.203 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.136/1.136, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2266/0.2266, allocations: 48.78 MB / 320.8 MB, free: 11.11 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.0004597/0.0004597, allocations: 14.03 kB / 391.9 MB, free: 50.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07814/0.07861, allocations: 60.27 MB / 452.2 MB, free: 9.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.01525/0.09389, allocations: 15.8 MB / 468 MB, free: 9.211 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008046/0.09473, allocations: 0.7127 MB / 468.7 MB, free: 8.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.44e-05/0.09482, allocations: 7.938 kB / 468.7 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002951/0.09513, allocations: 95.5 kB / 468.8 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003696/0.0955, allocations: 191.2 kB / 469 MB, free: 8.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00322/0.09874, allocations: 1.597 MB / 470.6 MB, free: 6.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007092/0.09945, allocations: 0.868 MB / 471.5 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.0996, allocations: 88.59 kB / 471.5 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004551/0.1001, allocations: 383 kB / 471.9 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003372/0.1004, allocations: 306.8 kB / 472.2 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.185e-05/0.1005, allocations: 16 kB / 472.2 MB, free: 4.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004992/0.1055, allocations: 3.547 MB / 475.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001649/0.1056, allocations: 199.4 kB / 476 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002498/0.1059, allocations: 320.1 kB / 476.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002348/0.1082, allocations: 2.385 MB / 478.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1083, allocations: 0 / 478.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1083, allocations: 0 / 478.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.1083, allocations: 0 / 478.7 MB, free: 14.49 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.002306/0.1106, allocations: 1.122 MB / 479.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.1106, allocations: 8.031 kB / 479.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.138e-05/0.1107, allocations: 98.64 kB / 479.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000262/0.111, allocations: 96.06 kB / 480 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005928/0.1116, allocations: 0.5148 MB / 480.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.1116, allocations: 41.12 kB / 480.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.36e-05/0.1117, allocations: 44 kB / 480.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.113, allocations: 0.8194 MB / 481.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.113, allocations: 0 / 481.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.447e-05/0.113, allocations: 20 kB / 481.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.134e-05/0.1131, allocations: 44.97 kB / 481.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.1142, allocations: 0.6047 MB / 482.1 MB, free: 10.93 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.002924/0.1171, allocations: 4.3 MB / 486.4 MB, free: 6.121 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009933/0.1181, allocations: 0.5416 MB / 486.9 MB, free: 5.566 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002517/0.1184, allocations: 201 kB / 487.1 MB, free: 5.367 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02874/0.1471, allocations: 15.42 MB / 0.4908 GB, free: 4.164 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.1472, allocations: 42.56 kB / 0.4908 GB, free: 4.113 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.114e-06/0.1472, allocations: 0 / 0.4908 GB, free: 4.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001675/0.1489, allocations: 0.7497 MB / 0.4915 GB, free: 3.359 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.1489, allocations: 55.41 kB / 0.4916 GB, free: 3.293 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004713/0.1494, allocations: 473.8 kB / 0.492 GB, free: 2.828 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.1494, allocations: 37.64 kB / 0.4921 GB, free: 2.785 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.1496, allocations: 272.2 kB / 0.4923 GB, free: 2.512 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.1497, allocations: 142 kB / 0.4925 GB, free: 2.371 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.792e-05/0.1498, allocations: 41.7 kB / 0.4925 GB, free: 2.324 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.15, allocations: 370.7 kB / 0.4929 GB, free: 1.953 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/0.1502, allocations: 128.3 kB / 0.493 GB, free: 1.828 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.1504, allocations: 193.4 kB / 0.4932 GB, free: 1.617 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004457/0.1509, allocations: 379.8 kB / 0.4935 GB, free: 1.223 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1509, allocations: 4 kB / 0.4935 GB, free: 1.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005869/0.1515, allocations: 444.5 kB / 0.494 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1515, allocations: 4 kB / 0.494 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.1515, allocations: 7.938 kB / 0.494 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.1515, allocations: 4 kB / 0.494 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.1518, allocations: 67.91 kB / 0.494 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.1518, allocations: 3.938 kB / 0.494 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/0.1521, allocations: 55.8 kB / 0.4941 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.1521, allocations: 15.98 kB / 0.4941 GB, free: 0.6211 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.0002531/0.1524, allocations: 260.9 kB / 0.4944 GB, free: 368 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.627e-05/0.1525, allocations: 51.38 kB / 0.4944 GB, free: 316 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001661/0.1541, allocations: 1.774 MB / 0.4961 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.298e-05/0.1542, allocations: 31.95 kB / 0.4962 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.1542, allocations: 0 / 0.4962 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.1542, allocations: 7.984 kB / 0.4962 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009683/0.1552, allocations: 1 MB / 0.4972 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1552, allocations: 3.938 kB / 0.4972 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/0.1554, allocations: 51.97 kB / 0.4972 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1554, allocations: 0 / 0.4972 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.1554, allocations: 8 kB / 0.4972 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.1554, allocations: 4 kB / 0.4972 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1554, allocations: 0 / 0.4972 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009479/0.1564, allocations: 0.9987 MB / 0.4982 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.1565, allocations: 163.8 kB / 0.4983 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.699e-05/0.1566, allocations: 4 kB / 0.4984 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.1568, allocations: 35.75 kB / 0.4984 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.1568, allocations: 27.97 kB / 0.4984 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.1569, allocations: 11.98 kB / 0.4984 GB, free: 12.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003089/0.1572, allocations: 335.1 kB / 0.4987 GB, free: 11.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1572, allocations: 0 / 0.4987 GB, free: 11.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001084/0.1583, allocations: 0.5346 MB / 0.4993 GB, free: 11.23 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.002647/0.1609, allocations: 1.957 MB / 0.5012 GB, free: 9.246 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006341/0.1616, allocations: 0.5397 MB / 0.5017 GB, free: 8.703 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1616, allocations: 0 / 0.5017 GB, free: 8.703 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004244/0.162, allocations: 458.1 kB / 0.5021 GB, free: 8.254 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.1634, allocations: 282 kB / 0.5024 GB, free: 7.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006294/0.1697, allocations: 5.895 MB / 0.5082 GB, free: 1.957 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005729/0.1703, allocations: 1.053 MB / 0.5092 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004758/0.1708, allocations: 276 kB / 0.5095 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002736/0.1711, allocations: 279.3 kB / 0.5097 GB, free: 344 kB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1711, allocations: 0 / 0.5097 GB, free: 344 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1894/0.3604, allocations: 27.72 MB / 0.5368 GB, free: 82.43 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001421/0.3606, allocations: 241.2 kB / 0.537 GB, free: 82.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.096/2.457, allocations: 4.906 kB / 0.537 GB, free: 82.18 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)