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.001621/0.001621, allocations: 97.8 kB / 16.3 MB, free: 5.57 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.00226/0.00226, allocations: 183.9 kB / 17.2 MB, free: 5.504 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.628/1.628, allocations: 205.4 MB / 223.3 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.272/0.272, allocations: 48.77 MB / 320.4 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.000526/0.0005262, allocations: 16.5 kB / 391.2 MB, free: 50.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09627/0.09681, allocations: 60.26 MB / 451.5 MB, free: 9.484 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.01959/0.1165, allocations: 13.3 MB / 464.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.1175, allocations: 0.6394 MB / 465.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.1177, allocations: 11.88 kB / 465.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000429/0.1181, allocations: 103.6 kB / 465.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004054/0.1185, allocations: 139.6 kB / 465.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00483/0.1234, allocations: 1.551 MB / 467.2 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004667/0.1239, allocations: 291.4 kB / 467.5 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001923/0.1241, allocations: 88.56 kB / 467.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005302/0.1246, allocations: 311.4 kB / 467.9 MB, free: 9.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/0.1249, allocations: 171.4 kB / 468.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.328e-05/0.1249, allocations: 12 kB / 468.1 MB, free: 8.844 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006591/0.1315, allocations: 3.426 MB / 471.5 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000237/0.1318, allocations: 167.6 kB / 471.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002103/0.132, allocations: 121.5 kB / 471.8 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003057/0.1351, allocations: 1.575 MB / 473.4 MB, free: 3.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1351, allocations: 8 kB / 473.4 MB, free: 3.539 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.1351, allocations: 0 / 473.4 MB, free: 3.539 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.614e-05/0.1351, allocations: 0 / 473.4 MB, free: 3.539 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002949/0.1381, allocations: 0.9937 MB / 474.4 MB, free: 2.496 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.1382, allocations: 12.03 kB / 474.4 MB, free: 2.484 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001499/0.1383, allocations: 90.52 kB / 474.5 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000257/0.1386, allocations: 71.27 kB / 474.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008273/0.1394, allocations: 478.3 kB / 475 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.188e-05/0.1395, allocations: 29 kB / 475 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.048e-05/0.1395, allocations: 36 kB / 475.1 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.1407, allocations: 0.5975 MB / 475.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.1407, allocations: 0 / 475.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.518e-05/0.1408, allocations: 12 kB / 475.7 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-05/0.1408, allocations: 32.64 kB / 475.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009219/0.1418, allocations: 450.1 kB / 476.1 MB, free: 0.6211 MB / 350.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.003169/0.1449, allocations: 3.164 MB / 479.3 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008052/0.1458, allocations: 386.6 kB / 479.7 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03572/0.1815, allocations: 15.41 MB / 495.1 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.62e-05/0.1816, allocations: 38.56 kB / 495.1 MB, free: 11.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 3.507e-06/0.1816, allocations: 4 kB / 495.1 MB, free: 11.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.001645/0.1833, allocations: 0.7021 MB / 495.8 MB, free: 10.69 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.1833, allocations: 51.41 kB / 495.9 MB, free: 10.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005892/0.1839, allocations: 417.5 kB / 496.3 MB, free: 10.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.184, allocations: 29.7 kB / 496.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002181/0.1842, allocations: 248.2 kB / 496.6 MB, free: 9.926 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.1843, allocations: 102.5 kB / 496.7 MB, free: 9.824 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.395e-05/0.1843, allocations: 4 kB / 496.7 MB, free: 9.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.1845, allocations: 362.7 kB / 497 MB, free: 9.457 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.1847, allocations: 99.94 kB / 497.1 MB, free: 9.359 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.1849, allocations: 144.2 kB / 497.3 MB, free: 9.203 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.1852, allocations: 140.6 kB / 497.4 MB, free: 9.066 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.1852, allocations: 3.984 kB / 497.4 MB, free: 9.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005536/0.1857, allocations: 341 kB / 497.7 MB, free: 8.723 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.1858, allocations: 8 kB / 497.8 MB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.1858, allocations: 0 / 497.8 MB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.1858, allocations: 4 kB / 497.8 MB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/0.1861, allocations: 47.91 kB / 497.8 MB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.1861, allocations: 4 kB / 497.8 MB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.1863, allocations: 43.7 kB / 497.8 MB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/0.1864, allocations: 8 kB / 497.9 MB, free: 8.609 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002933/0.1867, allocations: 237.6 kB / 498.1 MB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.106e-05/0.1868, allocations: 35.53 kB / 498.1 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/0.1881, allocations: 1.108 MB / 499.2 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.2e-05/0.1882, allocations: 19.97 kB / 499.3 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.1882, allocations: 0 / 499.3 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.1882, allocations: 4 kB / 499.3 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000926/0.1891, allocations: 0.726 MB / 500 MB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.1891, allocations: 0 / 500 MB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.1893, allocations: 39.91 kB / 0.4883 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.585e-06/0.1893, allocations: 4 kB / 0.4883 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.1894, allocations: 7.984 kB / 0.4883 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1894, allocations: 0 / 0.4883 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.1894, allocations: 3.984 kB / 0.4883 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008096/0.1902, allocations: 0.7041 MB / 0.489 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.1903, allocations: 140.2 kB / 0.4891 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.308e-05/0.1904, allocations: 12 kB / 0.4891 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.1906, allocations: 23.83 kB / 0.4892 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/0.1907, allocations: 15.92 kB / 0.4892 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/0.1907, allocations: 8 kB / 0.4892 GB, free: 5.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003541/0.1911, allocations: 303.1 kB / 0.4895 GB, free: 5.133 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.02e-07/0.1911, allocations: 0 / 0.4895 GB, free: 5.133 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00182/0.1929, allocations: 0.4995 MB / 0.49 GB, free: 4.633 MB / 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 (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.003255/0.1962, allocations: 1.655 MB / 0.4916 GB, free: 2.949 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006091/0.1968, allocations: 391.7 kB / 0.492 GB, free: 2.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1968, allocations: 0 / 0.492 GB, free: 2.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003364/0.1972, allocations: 308.8 kB / 0.4923 GB, free: 2.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.1983, allocations: 188.8 kB / 0.4924 GB, free: 2.086 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005617/0.2039, allocations: 3.864 MB / 0.4962 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006177/0.2046, allocations: 0.9696 MB / 0.4972 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005245/0.2051, allocations: 191 kB / 0.4973 GB, free: 12.97 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002699/0.2054, allocations: 203.4 kB / 0.4975 GB, free: 12.77 MB / 398.1 MB Notification: Performance of SimCode: time 1.203e-06/0.2054, allocations: 0 / 0.4975 GB, free: 12.77 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08776/0.2932, allocations: 23.79 MB / 0.5208 GB, free: 4.945 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002223/0.2935, allocations: 217.8 kB / 0.521 GB, free: 4.707 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.509/3.802, allocations: 0 / 0.521 GB, free: 4.707 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/linux/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) Environment - environmentSimulation: