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.00137/0.001371, allocations: 94.08 kB / 16.3 MB, free: 5.996 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.001147/0.001147, allocations: 179.8 kB / 17.2 MB, free: 5.898 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.73/1.73, allocations: 205.4 MB / 223.4 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3144/0.3144, allocations: 48.78 MB / 320.4 MB, free: 11.31 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.0005267/0.0005267, allocations: 13.06 kB / 391.2 MB, free: 50.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1102, allocations: 60.27 MB / 451.5 MB, free: 9.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.01664/0.1269, allocations: 13.28 MB / 464.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009678/0.1279, allocations: 0.643 MB / 465.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.128, allocations: 7.938 kB / 465.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003945/0.1284, allocations: 99.59 kB / 465.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003961/0.1288, allocations: 139.6 kB / 465.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004568/0.1334, allocations: 1.555 MB / 467.2 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005276/0.134, allocations: 399.6 kB / 467.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.1341, allocations: 80.62 kB / 467.7 MB, free: 9.246 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005148/0.1347, allocations: 351.2 kB / 468 MB, free: 8.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002797/0.135, allocations: 211.3 kB / 468.2 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.538e-05/0.135, allocations: 16 kB / 468.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006212/0.1412, allocations: 3.43 MB / 471.7 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002312/0.1415, allocations: 171.5 kB / 471.9 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001886/0.1417, allocations: 149.3 kB / 472 MB, free: 4.926 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002695/0.1444, allocations: 1.629 MB / 473.6 MB, free: 3.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1444, allocations: 0 / 473.6 MB, free: 3.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1444, allocations: 0 / 473.6 MB, free: 3.293 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.1445, allocations: 4 kB / 473.6 MB, free: 3.289 MB / 350.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.002977/0.1474, allocations: 1.118 MB / 474.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.1475, allocations: 12.03 kB / 474.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001058/0.1476, allocations: 98.52 kB / 474.9 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002892/0.1479, allocations: 95.12 kB / 475 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007524/0.1487, allocations: 0.502 MB / 475.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.1487, allocations: 37 kB / 475.5 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.545e-05/0.1488, allocations: 44 kB / 475.5 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.1501, allocations: 0.8078 MB / 476.3 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.1502, allocations: 0 / 476.3 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.199e-05/0.1502, allocations: 23.98 kB / 476.4 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.103e-05/0.1503, allocations: 44.92 kB / 476.4 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/0.1515, allocations: 0.6048 MB / 477 MB, free: 15.75 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.003371/0.1549, allocations: 4.296 MB / 481.3 MB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.156, allocations: 0.5379 MB / 481.8 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03291/0.1889, allocations: 15.44 MB / 497.3 MB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.189, allocations: 30.56 kB / 497.3 MB, free: 9.133 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.815e-06/0.189, allocations: 0 / 497.3 MB, free: 9.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001959/0.191, allocations: 0.9019 MB / 498.2 MB, free: 8.191 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.191, allocations: 59.34 kB / 498.3 MB, free: 8.121 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005078/0.1915, allocations: 473.8 kB / 498.7 MB, free: 7.656 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.1916, allocations: 29.7 kB / 498.8 MB, free: 7.621 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.1918, allocations: 272.2 kB / 499 MB, free: 7.348 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.855e-05/0.1919, allocations: 146 kB / 499.2 MB, free: 7.203 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.585e-05/0.1919, allocations: 4 kB / 499.2 MB, free: 7.199 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.192, allocations: 362.8 kB / 499.5 MB, free: 6.836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.1922, allocations: 128.3 kB / 499.7 MB, free: 6.711 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/0.1925, allocations: 193.4 kB / 499.9 MB, free: 6.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002562/0.1927, allocations: 175.8 kB / 0.4883 GB, free: 6.328 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.1927, allocations: 0 / 0.4883 GB, free: 6.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006009/0.1934, allocations: 429.2 kB / 0.4887 GB, free: 5.902 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.1934, allocations: 8.031 kB / 0.4887 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.1934, allocations: 7.984 kB / 0.4887 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.1934, allocations: 4 kB / 0.4887 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.1937, allocations: 67.91 kB / 0.4888 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.1937, allocations: 3.938 kB / 0.4888 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.194, allocations: 59.42 kB / 0.4889 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.271e-05/0.1941, allocations: 19.98 kB / 0.4889 GB, free: 5.734 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002708/0.1944, allocations: 257.6 kB / 0.4891 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.614e-05/0.1944, allocations: 43.44 kB / 0.4892 GB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001706/0.1961, allocations: 1.774 MB / 0.4909 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.966e-05/0.1962, allocations: 31.95 kB / 0.4909 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1962, allocations: 0 / 0.4909 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.1962, allocations: 3.984 kB / 0.4909 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.1973, allocations: 0.9966 MB / 0.4919 GB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.1973, allocations: 4 kB / 0.4919 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/0.1976, allocations: 55.91 kB / 0.492 GB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.1976, allocations: 0 / 0.492 GB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.1976, allocations: 11.98 kB / 0.492 GB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.1976, allocations: 0 / 0.492 GB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1976, allocations: 0 / 0.492 GB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.1986, allocations: 0.9831 MB / 0.4929 GB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.1988, allocations: 171.7 kB / 0.4931 GB, free: 1.301 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.618e-05/0.1989, allocations: 8 kB / 0.4931 GB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.1991, allocations: 31.89 kB / 0.4931 GB, free: 1.262 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.1992, allocations: 19.95 kB / 0.4932 GB, free: 1.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/0.1992, allocations: 15.98 kB / 0.4932 GB, free: 1.227 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003272/0.1995, allocations: 339.1 kB / 0.4935 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.532e-06/0.1995, allocations: 0 / 0.4935 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001409/0.2009, allocations: 0.5307 MB / 0.494 GB, free: 376 kB / 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002817/0.2038, allocations: 1.948 MB / 0.4959 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007763/0.2046, allocations: 0.5437 MB / 0.4964 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.2046, allocations: 0 / 0.4964 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004895/0.2051, allocations: 457 kB / 0.4969 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/0.2065, allocations: 270.1 kB / 0.4971 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005673/0.2122, allocations: 5.146 MB / 0.5022 GB, free: 7.902 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005859/0.2128, allocations: 1.068 MB / 0.5032 GB, free: 6.809 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005516/0.2134, allocations: 280 kB / 0.5035 GB, free: 6.535 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002908/0.2137, allocations: 271.3 kB / 0.5037 GB, free: 6.273 MB / 398.1 MB Notification: Performance of SimCode: time 1.553e-06/0.2137, allocations: 0 / 0.5037 GB, free: 6.273 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2525/0.4662, allocations: 27.71 MB / 0.5308 GB, free: 83.96 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001578/0.4664, allocations: 222.7 kB / 0.531 GB, free: 83.72 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.862/3.329, allocations: 3.094 kB / 0.531 GB, free: 83.72 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/linux/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) Environment - environmentSimulation: