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.00113/0.00113, allocations: 103 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.001128/0.001128, 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.134/1.134, allocations: 205.1 MB / 223.3 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.2209/0.2209, allocations: 48.83 MB / 319.5 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.001312/0.001312, allocations: 73.42 kB / 389.5 MB, free: 48.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07053/0.07186, allocations: 59.16 MB / 448.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.01663/0.08852, allocations: 16.34 MB / 465 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000848/0.08939, allocations: 0.7284 MB / 465.7 MB, free: 9.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.08952, allocations: 7.938 kB / 465.7 MB, free: 9.027 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003415/0.08987, allocations: 95.55 kB / 465.8 MB, free: 8.934 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004313/0.09031, allocations: 199.1 kB / 466 MB, free: 8.738 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003335/0.09366, allocations: 1.604 MB / 467.6 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006044/0.09427, allocations: 0.7278 MB / 468.3 MB, free: 6.398 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.09442, allocations: 100.4 kB / 468.4 MB, free: 6.297 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004851/0.09491, allocations: 351.1 kB / 468.8 MB, free: 5.953 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002953/0.09522, allocations: 267.1 kB / 469 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.597e-05/0.09526, allocations: 12 kB / 469 MB, free: 5.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004839/0.1001, allocations: 3.551 MB / 472.6 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001595/0.1003, allocations: 191.4 kB / 472.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002178/0.1005, allocations: 246.6 kB / 473 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002737/0.1032, allocations: 2.319 MB / 475.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1033, allocations: 4 kB / 475.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.1033, allocations: 0 / 475.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.1033, allocations: 4 kB / 475.3 MB, free: 15.36 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.002144/0.1054, allocations: 1.076 MB / 476.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.1055, allocations: 8.031 kB / 476.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.809e-05/0.1056, allocations: 82.66 kB / 476.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/0.1058, allocations: 72.27 kB / 476.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005735/0.1063, allocations: 499.1 kB / 477.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.1064, allocations: 25 kB / 477.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.317e-05/0.1064, allocations: 36 kB / 477.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009206/0.1073, allocations: 0.5937 MB / 477.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1074, allocations: 7.938 kB / 477.7 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.385e-05/0.1074, allocations: 23.92 kB / 477.7 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.092e-05/0.1074, allocations: 28.64 kB / 477.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007734/0.1082, allocations: 458.1 kB / 478.2 MB, free: 12.34 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.002239/0.1105, allocations: 3.152 MB / 481.4 MB, free: 8.785 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006705/0.1112, allocations: 386.6 kB / 481.8 MB, free: 8.398 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002322/0.1114, allocations: 176.7 kB / 481.9 MB, free: 8.223 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02801/0.1394, allocations: 15.31 MB / 497.2 MB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.1395, allocations: 34.55 kB / 497.3 MB, free: 7.094 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.744e-06/0.1395, allocations: 4 kB / 497.3 MB, free: 7.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.001161/0.1406, allocations: 0.5445 MB / 497.8 MB, free: 6.539 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.1407, allocations: 55.41 kB / 497.9 MB, free: 6.473 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003688/0.141, allocations: 413.6 kB / 498.3 MB, free: 6.062 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.1411, allocations: 29.7 kB / 498.3 MB, free: 6.027 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.1412, allocations: 248.1 kB / 498.5 MB, free: 5.777 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.056e-05/0.1413, allocations: 118.3 kB / 498.7 MB, free: 5.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.657e-05/0.1414, allocations: 49.7 kB / 498.7 MB, free: 5.605 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1415, allocations: 354.8 kB / 499.1 MB, free: 5.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.1417, allocations: 111.9 kB / 499.2 MB, free: 5.141 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.1419, allocations: 141.6 kB / 499.3 MB, free: 4.988 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000369/0.1422, allocations: 284.8 kB / 499.6 MB, free: 4.695 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1422, allocations: 4 kB / 499.6 MB, free: 4.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004755/0.1427, allocations: 352.8 kB / 499.9 MB, free: 4.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.1428, allocations: 8 kB / 499.9 MB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1428, allocations: 3.984 kB / 499.9 MB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1428, allocations: 4 kB / 499.9 MB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.143, allocations: 35.98 kB / 500 MB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.143, allocations: 11.88 kB / 500 MB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.1432, allocations: 39.8 kB / 0.4883 GB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.1432, allocations: 16 kB / 0.4883 GB, free: 4.223 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.000203/0.1434, allocations: 221.8 kB / 0.4885 GB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.916e-05/0.1435, allocations: 43.38 kB / 0.4886 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.1445, allocations: 1.12 MB / 0.4897 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.266e-05/0.1446, allocations: 23.95 kB / 0.4897 GB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1446, allocations: 0 / 0.4897 GB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1446, allocations: 4 kB / 0.4897 GB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006898/0.1453, allocations: 0.7298 MB / 0.4904 GB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.1453, allocations: 3.938 kB / 0.4904 GB, free: 2.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001451/0.1455, allocations: 39.92 kB / 0.4905 GB, free: 1.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1455, allocations: 0 / 0.4905 GB, free: 1.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.1455, allocations: 4 kB / 0.4905 GB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.1455, allocations: 7.984 kB / 0.4905 GB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1455, allocations: 0 / 0.4905 GB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006791/0.1462, allocations: 0.7042 MB / 0.4912 GB, free: 1.246 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.477e-05/0.1463, allocations: 144.1 kB / 0.4913 GB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.165e-05/0.1463, allocations: 4 kB / 0.4913 GB, free: 1.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.1465, allocations: 23.83 kB / 0.4913 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.1466, allocations: 19.98 kB / 0.4913 GB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.1466, allocations: 4 kB / 0.4913 GB, free: 1.035 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002661/0.1468, allocations: 303.1 kB / 0.4916 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1469, allocations: 0 / 0.4916 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009473/0.1478, allocations: 0.4956 MB / 0.4921 GB, free: 248 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.002372/0.1502, allocations: 1.659 MB / 0.4937 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004749/0.1507, allocations: 392.1 kB / 0.4941 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1507, allocations: 0 / 0.4941 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002862/0.151, allocations: 304.8 kB / 0.4944 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009523/0.1519, allocations: 186 kB / 0.4946 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005088/0.157, allocations: 4.792 MB / 0.4993 GB, free: 8.801 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004659/0.1575, allocations: 0.9538 MB / 0.5002 GB, free: 7.82 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003534/0.1579, allocations: 190.9 kB / 0.5004 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002244/0.1581, allocations: 203.4 kB / 0.5006 GB, free: 7.438 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1581, allocations: 0 / 0.5006 GB, free: 7.438 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1654/0.3235, allocations: 23.84 MB / 0.5238 GB, free: 83.87 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001409/0.3237, allocations: 239.5 kB / 0.5241 GB, free: 83.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.053/2.376, allocations: 1.406 kB / 0.5241 GB, free: 83.62 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)