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.0009336/0.0009337, allocations: 103.6 kB / 16.51 MB, free: 6.645 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.0008951/0.0008951, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.116/1.116, allocations: 205.1 MB / 223.3 MB, free: 12.39 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2264/0.2264, allocations: 48.84 MB / 319.5 MB, free: 11.32 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.001329/0.001329, allocations: 67.11 kB / 389.5 MB, free: 48.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07457/0.07591, allocations: 59.16 MB / 448.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.01642/0.09237, allocations: 16.33 MB / 465 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008533/0.09325, allocations: 0.7282 MB / 465.7 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.09339, allocations: 7.938 kB / 465.7 MB, free: 9.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003576/0.09379, allocations: 95.5 kB / 465.8 MB, free: 8.953 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004091/0.09421, allocations: 195.2 kB / 466 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003441/0.09766, allocations: 1.597 MB / 467.6 MB, free: 7.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006803/0.09835, allocations: 0.8719 MB / 468.4 MB, free: 6.281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.0985, allocations: 84.66 kB / 468.5 MB, free: 6.195 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005603/0.09906, allocations: 391 kB / 468.9 MB, free: 5.812 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004501/0.09952, allocations: 310.9 kB / 469.2 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.391e-05/0.09961, allocations: 16 kB / 469.2 MB, free: 5.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005064/0.1047, allocations: 3.543 MB / 472.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000177/0.1049, allocations: 199.4 kB / 473 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002766/0.1052, allocations: 298.4 kB / 473.3 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002562/0.1077, allocations: 2.401 MB / 475.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1077, allocations: 0 / 475.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.1077, allocations: 0 / 475.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.1078, allocations: 0 / 475.7 MB, free: 15.05 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.00256/0.1103, allocations: 1.224 MB / 476.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.1104, allocations: 8.031 kB / 476.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.347e-05/0.1105, allocations: 106.7 kB / 477 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002731/0.1107, allocations: 92.06 kB / 477.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005934/0.1113, allocations: 0.5147 MB / 477.6 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.97e-05/0.1114, allocations: 41.12 kB / 477.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.197e-05/0.1114, allocations: 40 kB / 477.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/0.1127, allocations: 0.8117 MB / 478.5 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.1127, allocations: 0 / 478.5 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.035e-05/0.1128, allocations: 24 kB / 478.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.397e-05/0.1128, allocations: 52.95 kB / 478.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.1139, allocations: 0.6008 MB / 479.2 MB, free: 11.39 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.002885/0.1168, allocations: 4.296 MB / 483.5 MB, free: 6.582 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009754/0.1178, allocations: 0.5455 MB / 484 MB, free: 6.027 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.1181, allocations: 201 kB / 484.2 MB, free: 5.828 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02748/0.1456, allocations: 15.32 MB / 499.5 MB, free: 4.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.1456, allocations: 30.56 kB / 499.5 MB, free: 4.691 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.214e-06/0.1456, allocations: 0 / 499.5 MB, free: 4.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.00176/0.1474, allocations: 0.7494 MB / 0.4886 GB, free: 3.938 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.1474, allocations: 55.41 kB / 0.4886 GB, free: 3.871 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004758/0.1479, allocations: 469.8 kB / 0.4891 GB, free: 3.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.1479, allocations: 33.7 kB / 0.4891 GB, free: 3.371 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.1481, allocations: 272.2 kB / 0.4894 GB, free: 3.098 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.1482, allocations: 145.9 kB / 0.4895 GB, free: 2.953 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.949e-05/0.1483, allocations: 73.69 kB / 0.4896 GB, free: 2.875 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.1485, allocations: 362.8 kB / 0.4899 GB, free: 2.512 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.1486, allocations: 136.3 kB / 0.49 GB, free: 2.379 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.1489, allocations: 201.4 kB / 0.4902 GB, free: 2.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004457/0.1493, allocations: 375.8 kB / 0.4906 GB, free: 1.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.1493, allocations: 4 kB / 0.4906 GB, free: 1.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005911/0.1499, allocations: 440.6 kB / 0.491 GB, free: 1.328 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.15, allocations: 4 kB / 0.491 GB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.15, allocations: 4 kB / 0.491 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.15, allocations: 7.938 kB / 0.491 GB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.1503, allocations: 76.11 kB / 0.4911 GB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.1503, allocations: 3.938 kB / 0.4911 GB, free: 1.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.1505, allocations: 47.58 kB / 0.4912 GB, free: 1.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.1506, allocations: 16 kB / 0.4912 GB, free: 1.172 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.0002523/0.1508, allocations: 261.6 kB / 0.4914 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.568e-05/0.1509, allocations: 59.28 kB / 0.4915 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001603/0.1525, allocations: 1.77 MB / 0.4932 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.423e-05/0.1526, allocations: 31.95 kB / 0.4932 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1526, allocations: 0 / 0.4932 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1526, allocations: 3.938 kB / 0.4932 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009528/0.1535, allocations: 1.004 MB / 0.4942 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.1536, allocations: 0 / 0.4942 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/0.1538, allocations: 55.91 kB / 0.4943 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1538, allocations: 0 / 0.4943 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.1538, allocations: 8 kB / 0.4943 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1538, allocations: 8 kB / 0.4943 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1538, allocations: 3.984 kB / 0.4943 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009147/0.1547, allocations: 0.9908 MB / 0.4953 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.1548, allocations: 167.8 kB / 0.4954 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.963e-05/0.1549, allocations: 8 kB / 0.4954 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.1551, allocations: 31.83 kB / 0.4955 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.1552, allocations: 23.91 kB / 0.4955 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.1552, allocations: 12 kB / 0.4955 GB, free: 12.63 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002892/0.1555, allocations: 335.1 kB / 0.4958 GB, free: 12.31 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1555, allocations: 0 / 0.4958 GB, free: 12.31 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001109/0.1566, allocations: 0.5269 MB / 0.4963 GB, free: 11.78 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.002594/0.1592, allocations: 1.965 MB / 0.4982 GB, free: 9.793 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006173/0.1598, allocations: 0.5363 MB / 0.4988 GB, free: 9.254 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.1599, allocations: 4.062 kB / 0.4988 GB, free: 9.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003954/0.1603, allocations: 469.9 kB / 0.4992 GB, free: 8.789 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.1615, allocations: 269.6 kB / 0.4995 GB, free: 8.527 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006/0.1675, allocations: 5.876 MB / 0.5052 GB, free: 2.527 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005127/0.168, allocations: 1.041 MB / 0.5062 GB, free: 1.457 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004651/0.1685, allocations: 284 kB / 0.5065 GB, free: 1.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002595/0.1688, allocations: 271.3 kB / 0.5068 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1688, allocations: 0 / 0.5068 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1816/0.3504, allocations: 27.86 MB / 0.534 GB, free: 83.15 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001403/0.3505, allocations: 248.4 kB / 0.5342 GB, free: 82.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.182/2.532, allocations: 0 / 0.5342 GB, free: 82.89 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)