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.001163/0.001163, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001107/0.001107, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.14/1.14, allocations: 205.1 MB / 223.7 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2323/0.2323, allocations: 48.84 MB / 319.9 MB, free: 11.08 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.00152/0.00152, allocations: 67.61 kB / 390.2 MB, free: 48.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07734/0.07887, allocations: 59.16 MB / 449.3 MB, free: 9.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.01675/0.09566, allocations: 15.55 MB / 464.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009016/0.09659, allocations: 0.7049 MB / 465.6 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.09675, allocations: 4 kB / 465.6 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003517/0.09711, allocations: 107.4 kB / 465.7 MB, free: 9.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004958/0.09764, allocations: 203.1 kB / 465.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004578/0.1022, allocations: 2.048 MB / 468 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004902/0.1027, allocations: 461.7 kB / 468.4 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.1029, allocations: 101 kB / 468.5 MB, free: 6.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005081/0.1034, allocations: 351.2 kB / 468.8 MB, free: 6.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003335/0.1038, allocations: 235.2 kB / 469.1 MB, free: 5.855 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.426e-05/0.1038, allocations: 20 kB / 469.1 MB, free: 5.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005507/0.1093, allocations: 3.543 MB / 472.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001964/0.1095, allocations: 191.4 kB / 472.8 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002594/0.1098, allocations: 254.7 kB / 473.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003426/0.1133, allocations: 2.339 MB / 475.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1133, allocations: 0 / 475.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1133, allocations: 0 / 475.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.1133, allocations: 0 / 475.4 MB, free: 15.51 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.002366/0.1157, allocations: 1.076 MB / 476.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.1157, allocations: 12.03 kB / 476.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.832e-05/0.1158, allocations: 82.7 kB / 476.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001975/0.116, allocations: 68.27 kB / 476.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005886/0.1166, allocations: 491.1 kB / 477.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.1166, allocations: 32.98 kB / 477.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.833e-05/0.1167, allocations: 40 kB / 477.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009426/0.1176, allocations: 0.5975 MB / 477.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1177, allocations: 4 kB / 477.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.1177, allocations: 12 kB / 477.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.402e-05/0.1177, allocations: 36.58 kB / 477.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007832/0.1185, allocations: 458.1 kB / 478.3 MB, free: 12.49 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.002332/0.1209, allocations: 3.168 MB / 481.5 MB, free: 8.926 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006804/0.1216, allocations: 390.4 kB / 481.8 MB, free: 8.535 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000227/0.1218, allocations: 172.8 kB / 482 MB, free: 8.363 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0297/0.1515, allocations: 15.31 MB / 497.3 MB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.1516, allocations: 34.56 kB / 497.4 MB, free: 7.234 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 2.605e-06/0.1516, allocations: 4 kB / 497.4 MB, free: 7.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.001317/0.1529, allocations: 0.5437 MB / 497.9 MB, free: 6.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.153, allocations: 51.41 kB / 498 MB, free: 6.617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004683/0.1534, allocations: 413.6 kB / 498.4 MB, free: 6.203 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.1535, allocations: 29.7 kB / 498.4 MB, free: 6.168 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/0.1537, allocations: 244.2 kB / 498.6 MB, free: 5.922 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.233e-05/0.1538, allocations: 110.4 kB / 498.7 MB, free: 5.812 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.934e-05/0.1539, allocations: 57.7 kB / 498.8 MB, free: 5.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.154, allocations: 362.7 kB / 499.1 MB, free: 5.387 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.1542, allocations: 99.94 kB / 499.2 MB, free: 5.289 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.1543, allocations: 144.2 kB / 499.4 MB, free: 5.133 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000368/0.1547, allocations: 292.8 kB / 499.7 MB, free: 4.832 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1547, allocations: 0 / 499.7 MB, free: 4.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005215/0.1553, allocations: 348.8 kB / 0.4883 GB, free: 4.484 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.607e-05/0.1553, allocations: 8 kB / 0.4883 GB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.1553, allocations: 0 / 0.4883 GB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.1554, allocations: 4.125 kB / 0.4883 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.1556, allocations: 43.92 kB / 0.4883 GB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.1556, allocations: 4 kB / 0.4883 GB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.1558, allocations: 39.52 kB / 0.4884 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.1558, allocations: 11.98 kB / 0.4884 GB, free: 4.375 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.0002364/0.156, allocations: 229.7 kB / 0.4886 GB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-05/0.1561, allocations: 43.47 kB / 0.4887 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.1572, allocations: 1.112 MB / 0.4897 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.492e-05/0.1572, allocations: 23.97 kB / 0.4898 GB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1573, allocations: 0 / 0.4898 GB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1573, allocations: 0 / 0.4898 GB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007653/0.158, allocations: 0.722 MB / 0.4905 GB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.1581, allocations: 3.938 kB / 0.4905 GB, free: 2.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.1582, allocations: 43.91 kB / 0.4905 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1582, allocations: 0 / 0.4905 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.1583, allocations: 4 kB / 0.4905 GB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1583, allocations: 0 / 0.4905 GB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1583, allocations: 4 kB / 0.4905 GB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007136/0.159, allocations: 0.7081 MB / 0.4912 GB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.1591, allocations: 144.1 kB / 0.4914 GB, free: 1.246 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.738e-05/0.1592, allocations: 4 kB / 0.4914 GB, free: 1.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.1593, allocations: 15.92 kB / 0.4914 GB, free: 1.227 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.1594, allocations: 11.98 kB / 0.4914 GB, free: 1.215 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.1594, allocations: 11.98 kB / 0.4914 GB, free: 1.203 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002831/0.1597, allocations: 299.1 kB / 0.4917 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.1597, allocations: 0 / 0.4917 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001324/0.161, allocations: 0.4995 MB / 0.4922 GB, free: 424 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.002698/0.1637, allocations: 1.66 MB / 0.4938 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007114/0.1644, allocations: 454.7 kB / 0.4942 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1645, allocations: 4.25 kB / 0.4942 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003245/0.1648, allocations: 309.8 kB / 0.4945 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.1658, allocations: 193.2 kB / 0.4947 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005293/0.1712, allocations: 4.542 MB / 0.4991 GB, free: 9.137 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004615/0.1716, allocations: 0.9576 MB / 0.5001 GB, free: 8.152 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003735/0.172, allocations: 179 kB / 0.5002 GB, free: 7.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/0.1723, allocations: 211.4 kB / 0.5004 GB, free: 7.773 MB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1723, allocations: 4 kB / 0.5005 GB, free: 7.77 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.868/3.04, allocations: 24.25 MB / 0.5241 GB, free: 84.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.41/18.45, allocations: 12.66 kB / 0.5241 GB, free: 84.39 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)