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.00103/0.00103, allocations: 95.23 kB / 16.65 MB, free: 6.535 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.001112/0.001112, allocations: 175.4 kB / 17.56 MB, free: 6.18 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.138/1.138, allocations: 205.4 MB / 223.7 MB, free: 13 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.228/0.228, allocations: 48.78 MB / 320.8 MB, free: 11.11 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.0004668/0.0004669, allocations: 14.7 kB / 391.9 MB, free: 49.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07738/0.07786, allocations: 60.27 MB / 452.2 MB, free: 9.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.01549/0.09338, allocations: 15.81 MB / 468 MB, free: 9.207 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008721/0.09428, allocations: 0.7168 MB / 468.7 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.09441, allocations: 7.938 kB / 468.7 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003112/0.09472, allocations: 99.48 kB / 468.8 MB, free: 8.383 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004195/0.09515, allocations: 195.2 kB / 469 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003283/0.09845, allocations: 1.593 MB / 470.6 MB, free: 6.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006357/0.09909, allocations: 0.7317 MB / 471.3 MB, free: 5.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.09926, allocations: 100.4 kB / 471.4 MB, free: 5.758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004512/0.09972, allocations: 347.1 kB / 471.8 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003061/0.1, allocations: 259.1 kB / 472 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.946e-05/0.1001, allocations: 12 kB / 472 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004883/0.105, allocations: 3.543 MB / 475.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.1051, allocations: 191.4 kB / 475.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002167/0.1054, allocations: 264.4 kB / 476 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00249/0.1079, allocations: 2.303 MB / 478.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.1079, allocations: 0 / 478.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.1079, allocations: 0 / 478.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1079, allocations: 4 kB / 478.3 MB, free: 14.84 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.001838/0.1097, allocations: 1.003 MB / 479.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.1098, allocations: 11.97 kB / 479.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.847e-05/0.1099, allocations: 82.7 kB / 479.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001719/0.11, allocations: 72.27 kB / 479.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005511/0.1106, allocations: 491.1 kB / 480 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.1106, allocations: 25 kB / 480 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.676e-05/0.1107, allocations: 36 kB / 480 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009163/0.1116, allocations: 0.6053 MB / 480.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1116, allocations: 4 kB / 480.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.36e-05/0.1117, allocations: 19.98 kB / 480.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.209e-05/0.1117, allocations: 32.58 kB / 480.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007649/0.1125, allocations: 454.2 kB / 481.1 MB, free: 11.89 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.002183/0.1147, allocations: 3.16 MB / 484.3 MB, free: 8.332 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006583/0.1153, allocations: 382.4 kB / 484.7 MB, free: 7.949 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/0.1156, allocations: 172.8 kB / 484.8 MB, free: 7.777 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02835/0.1439, allocations: 15.42 MB / 0.4885 GB, free: 6.578 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.144, allocations: 34.56 kB / 0.4886 GB, free: 6.535 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.683e-06/0.144, allocations: 3.938 kB / 0.4886 GB, free: 6.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.001122/0.1451, allocations: 0.5477 MB / 0.4891 GB, free: 5.977 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.1451, allocations: 55.41 kB / 0.4892 GB, free: 5.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003706/0.1455, allocations: 425.5 kB / 0.4896 GB, free: 5.488 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.1455, allocations: 25.7 kB / 0.4896 GB, free: 5.457 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.1457, allocations: 248.1 kB / 0.4898 GB, free: 5.207 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.611e-05/0.1458, allocations: 110.4 kB / 0.4899 GB, free: 5.098 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.601e-05/0.1458, allocations: 33.69 kB / 0.49 GB, free: 5.059 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.1459, allocations: 354.8 kB / 0.4903 GB, free: 4.703 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.1461, allocations: 103.9 kB / 0.4904 GB, free: 4.602 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.1463, allocations: 148.2 kB / 0.4905 GB, free: 4.441 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003424/0.1466, allocations: 284.8 kB / 0.4908 GB, free: 4.148 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1466, allocations: 0 / 0.4908 GB, free: 4.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004413/0.1471, allocations: 352.8 kB / 0.4912 GB, free: 3.797 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.1471, allocations: 8 kB / 0.4912 GB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1471, allocations: 0 / 0.4912 GB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.1471, allocations: 4 kB / 0.4912 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.1473, allocations: 47.91 kB / 0.4912 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.1473, allocations: 4 kB / 0.4912 GB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.1475, allocations: 39.73 kB / 0.4913 GB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.1475, allocations: 12 kB / 0.4913 GB, free: 3.684 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.0002059/0.1478, allocations: 233.7 kB / 0.4915 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.374e-05/0.1478, allocations: 39.47 kB / 0.4915 GB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.1489, allocations: 1.12 MB / 0.4926 GB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.068e-05/0.1489, allocations: 15.98 kB / 0.4926 GB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1489, allocations: 0 / 0.4926 GB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1489, allocations: 7.984 kB / 0.4926 GB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006587/0.1496, allocations: 0.7299 MB / 0.4934 GB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1496, allocations: 3.938 kB / 0.4934 GB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.1497, allocations: 35.92 kB / 0.4934 GB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1497, allocations: 3.984 kB / 0.4934 GB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.1498, allocations: 4 kB / 0.4934 GB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/0.1498, allocations: 4 kB / 0.4934 GB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1498, allocations: 0 / 0.4934 GB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006453/0.1504, allocations: 0.7042 MB / 0.4941 GB, free: 0.707 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.098e-05/0.1505, allocations: 136.2 kB / 0.4942 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/0.1506, allocations: 7.984 kB / 0.4942 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.1507, allocations: 19.84 kB / 0.4942 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.294e-05/0.1508, allocations: 19.97 kB / 0.4943 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.1508, allocations: 4 kB / 0.4943 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002583/0.1511, allocations: 307.1 kB / 0.4946 GB, free: 208 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.152e-06/0.1511, allocations: 3.938 kB / 0.4946 GB, free: 204 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.000942/0.152, allocations: 0.4995 MB / 0.4951 GB, free: 15.7 MB / 398.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.00216/0.1542, allocations: 1.659 MB / 0.4967 GB, free: 14.01 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004497/0.1546, allocations: 395.7 kB / 0.497 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1547, allocations: 0 / 0.497 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00029/0.1549, allocations: 304.8 kB / 0.4973 GB, free: 13.33 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009992/0.156, allocations: 189.6 kB / 0.4975 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005046/0.161, allocations: 4.815 MB / 0.5022 GB, free: 8.223 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00052/0.1615, allocations: 0.9537 MB / 0.5032 GB, free: 7.246 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003562/0.1619, allocations: 183 kB / 0.5033 GB, free: 7.066 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/0.1621, allocations: 207.4 kB / 0.5035 GB, free: 6.863 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1621, allocations: 0 / 0.5035 GB, free: 6.863 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1772/0.3394, allocations: 23.7 MB / 0.5267 GB, free: 84.56 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001385/0.3396, allocations: 245.5 kB / 0.5269 GB, free: 84.31 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.022/2.361, allocations: 0 / 0.5269 GB, free: 84.31 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)