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.001119/0.001119, allocations: 107.8 kB / 16.94 MB, free: 5.801 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.001093/0.001093, allocations: 187.5 kB / 17.87 MB, free: 5.141 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.114/1.114, allocations: 205.1 MB / 223.7 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2211/0.2211, allocations: 48.85 MB / 319.9 MB, free: 11.09 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.001299/0.001299, allocations: 70.28 kB / 390.2 MB, free: 48.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07042/0.07173, allocations: 59.16 MB / 449.4 MB, free: 9.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.0151/0.08686, allocations: 15.54 MB / 464.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008132/0.0877, allocations: 0.7166 MB / 465.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.08783, allocations: 0 / 465.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003259/0.08819, allocations: 103.4 kB / 465.8 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004306/0.08863, allocations: 211.1 kB / 466 MB, free: 9.008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003856/0.0925, allocations: 2.052 MB / 468 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004241/0.09293, allocations: 453.7 kB / 468.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.09309, allocations: 101 kB / 468.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004008/0.0935, allocations: 363.1 kB / 468.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000248/0.09376, allocations: 235.2 kB / 469.1 MB, free: 5.816 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.868e-05/0.0938, allocations: 20 kB / 469.2 MB, free: 5.797 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004727/0.09854, allocations: 3.578 MB / 472.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001419/0.09869, allocations: 187.5 kB / 472.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.09888, allocations: 250.7 kB / 473.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002147/0.101, allocations: 2.346 MB / 475.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1011, allocations: 4 kB / 475.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1011, allocations: 0 / 475.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1011, allocations: 0 / 475.5 MB, free: 15.43 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.001798/0.1029, allocations: 1.073 MB / 476.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.1029, allocations: 16.03 kB / 476.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.662e-05/0.103, allocations: 82.66 kB / 476.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/0.1032, allocations: 68.27 kB / 476.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005234/0.1037, allocations: 499.1 kB / 477.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.1037, allocations: 25 kB / 477.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.408e-05/0.1038, allocations: 36 kB / 477.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000873/0.1047, allocations: 0.6014 MB / 477.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.1047, allocations: 3.938 kB / 477.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.268e-05/0.1047, allocations: 12 kB / 477.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.775e-05/0.1048, allocations: 32.64 kB / 477.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007536/0.1055, allocations: 458.1 kB / 478.4 MB, free: 12.42 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.002051/0.1076, allocations: 3.148 MB / 481.5 MB, free: 8.871 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006572/0.1083, allocations: 386.6 kB / 481.9 MB, free: 8.484 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/0.1085, allocations: 176.8 kB / 482.1 MB, free: 8.309 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02583/0.1343, allocations: 15.29 MB / 497.4 MB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.1344, allocations: 42.56 kB / 497.4 MB, free: 7.188 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.994e-06/0.1344, allocations: 0 / 497.4 MB, free: 7.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.00123/0.1356, allocations: 0.5513 MB / 498 MB, free: 6.629 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.1357, allocations: 51.41 kB / 498 MB, free: 6.566 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003986/0.1361, allocations: 413.6 kB / 498.4 MB, free: 6.152 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.1361, allocations: 33.69 kB / 498.5 MB, free: 6.113 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.1362, allocations: 240.2 kB / 498.7 MB, free: 5.871 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.847e-05/0.1363, allocations: 114.3 kB / 498.8 MB, free: 5.758 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.026e-05/0.1364, allocations: 61.62 kB / 498.9 MB, free: 5.691 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1365, allocations: 358.8 kB / 499.2 MB, free: 5.332 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.1367, allocations: 99.94 kB / 499.3 MB, free: 5.234 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.1369, allocations: 148.2 kB / 499.5 MB, free: 5.074 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003559/0.1372, allocations: 288.8 kB / 499.7 MB, free: 4.777 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1372, allocations: 0 / 499.7 MB, free: 4.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004419/0.1377, allocations: 344.8 kB / 0.4884 GB, free: 4.434 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1377, allocations: 8 kB / 0.4884 GB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1377, allocations: 0 / 0.4884 GB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1377, allocations: 4 kB / 0.4884 GB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.1379, allocations: 43.97 kB / 0.4884 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.1379, allocations: 12.06 kB / 0.4884 GB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.1381, allocations: 35.53 kB / 0.4885 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.1381, allocations: 11.98 kB / 0.4885 GB, free: 4.32 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.0002004/0.1383, allocations: 217.8 kB / 0.4887 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.294e-05/0.1384, allocations: 47.45 kB / 0.4887 GB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/0.1394, allocations: 1.116 MB / 0.4898 GB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.221e-05/0.1394, allocations: 19.97 kB / 0.4898 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1395, allocations: 0 / 0.4898 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1395, allocations: 7.984 kB / 0.4898 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006686/0.1401, allocations: 0.722 MB / 0.4906 GB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.1402, allocations: 3.938 kB / 0.4906 GB, free: 2.133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/0.1403, allocations: 39.92 kB / 0.4906 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.1403, allocations: 4 kB / 0.4906 GB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.1403, allocations: 4 kB / 0.4906 GB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1403, allocations: 0 / 0.4906 GB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1403, allocations: 0 / 0.4906 GB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006583/0.141, allocations: 0.712 MB / 0.4913 GB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.921e-05/0.1411, allocations: 140.1 kB / 0.4914 GB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.917e-05/0.1411, allocations: 4 kB / 0.4914 GB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.1413, allocations: 11.98 kB / 0.4914 GB, free: 1.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.813e-05/0.1413, allocations: 11.98 kB / 0.4915 GB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.1413, allocations: 8 kB / 0.4915 GB, free: 1.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002505/0.1416, allocations: 299.1 kB / 0.4917 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1416, allocations: 0 / 0.4917 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009573/0.1426, allocations: 0.5034 MB / 0.4922 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: 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.002105/0.1447, allocations: 1.652 MB / 0.4939 GB, free: 14.69 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004669/0.1451, allocations: 394.8 kB / 0.4942 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1452, allocations: 3.938 kB / 0.4942 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002741/0.1454, allocations: 310 kB / 0.4945 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008752/0.1463, allocations: 197.2 kB / 0.4947 GB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004619/0.151, allocations: 4.56 MB / 0.4992 GB, free: 9.133 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004292/0.1514, allocations: 0.9615 MB / 0.5001 GB, free: 8.145 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003019/0.1517, allocations: 179 kB / 0.5003 GB, free: 7.973 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002071/0.1519, allocations: 211.4 kB / 0.5005 GB, free: 7.766 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1519, allocations: 0 / 0.5005 GB, free: 7.766 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.167/0.3189, allocations: 24.16 MB / 0.5241 GB, free: 84.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.259/6.578, allocations: 13.44 kB / 0.5241 GB, free: 84.05 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)