Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.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_Wcoarse,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse",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.001115/0.001115, allocations: 103.7 kB / 16.62 MB, free: 6.812 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.001092/0.001092, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.172/1.172, allocations: 205.1 MB / 223.4 MB, free: 12.38 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2348/0.2348, allocations: 48.84 MB / 319.6 MB, free: 11.27 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.001453/0.001453, allocations: 66.12 kB / 389.7 MB, free: 48.92 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08357/0.08504, allocations: 59.16 MB / 448.8 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.0161/0.1012, allocations: 15.63 MB / 464.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009123/0.1021, allocations: 0.7165 MB / 465.2 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.1023, allocations: 0 / 465.2 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003702/0.1027, allocations: 103.5 kB / 465.3 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005093/0.1032, allocations: 187.2 kB / 465.4 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004211/0.1074, allocations: 1.8 MB / 467.2 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005539/0.108, allocations: 0.5911 MB / 467.8 MB, free: 6.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.1082, allocations: 96.69 kB / 467.9 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004492/0.1086, allocations: 406.9 kB / 468.3 MB, free: 6.438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003055/0.109, allocations: 311 kB / 468.6 MB, free: 6.133 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.305e-05/0.109, allocations: 20 kB / 468.6 MB, free: 6.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004559/0.1136, allocations: 3.543 MB / 472.2 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.1137, allocations: 211.4 kB / 472.4 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002377/0.114, allocations: 306.4 kB / 472.7 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002376/0.1164, allocations: 2.409 MB / 475.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1164, allocations: 4 kB / 475.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1164, allocations: 0 / 475.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.1164, allocations: 0 / 475.1 MB, free: 15.64 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002379/0.1188, allocations: 1.224 MB / 476.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.1188, allocations: 8.031 kB / 476.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.162e-05/0.1189, allocations: 98.7 kB / 476.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002686/0.1192, allocations: 96.06 kB / 476.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005871/0.1198, allocations: 0.5109 MB / 477 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.1198, allocations: 41.12 kB / 477.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.398e-05/0.1199, allocations: 40 kB / 477.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.1211, allocations: 0.8195 MB / 477.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.1212, allocations: 0 / 477.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.089e-05/0.1212, allocations: 27.94 kB / 478 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.876e-05/0.1213, allocations: 40.98 kB / 478 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.1224, allocations: 0.6047 MB / 478.6 MB, free: 11.98 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.00291/0.1253, allocations: 4.308 MB / 482.9 MB, free: 7.164 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009633/0.1262, allocations: 0.5382 MB / 483.5 MB, free: 6.617 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/0.1265, allocations: 197 kB / 483.7 MB, free: 6.422 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02777/0.1543, allocations: 15.31 MB / 499 MB, free: 5.328 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.1543, allocations: 30.56 kB / 499 MB, free: 5.289 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.375e-06/0.1544, allocations: 0 / 499 MB, free: 5.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001728/0.1561, allocations: 0.7494 MB / 499.7 MB, free: 4.535 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.1561, allocations: 59.39 kB / 499.8 MB, free: 4.465 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004537/0.1566, allocations: 477.8 kB / 0.4885 GB, free: 3.996 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.1566, allocations: 29.7 kB / 0.4886 GB, free: 3.961 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.1568, allocations: 264.3 kB / 0.4888 GB, free: 3.695 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.115e-05/0.1569, allocations: 149.9 kB / 0.489 GB, free: 3.547 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.531e-05/0.157, allocations: 73.69 kB / 0.489 GB, free: 3.469 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.1571, allocations: 362.8 kB / 0.4894 GB, free: 3.105 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.1573, allocations: 128.3 kB / 0.4895 GB, free: 2.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.1575, allocations: 201.4 kB / 0.4897 GB, free: 2.762 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004455/0.158, allocations: 383.8 kB / 0.4901 GB, free: 2.363 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.158, allocations: 0 / 0.4901 GB, free: 2.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000554/0.1585, allocations: 436.6 kB / 0.4905 GB, free: 1.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1586, allocations: 4 kB / 0.4905 GB, free: 1.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.485e-06/0.1586, allocations: 8.156 kB / 0.4905 GB, free: 1.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.1586, allocations: 15.94 kB / 0.4905 GB, free: 1.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/0.1589, allocations: 67.91 kB / 0.4906 GB, free: 1.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.1589, allocations: 4 kB / 0.4906 GB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002522/0.1591, allocations: 55.55 kB / 0.4906 GB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.36e-05/0.1592, allocations: 16 kB / 0.4906 GB, free: 1.762 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 (fluidState[7].phase,fluidState[6].phase,fluidState[5].phase,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 (39): * Single equations (assignments): 37 * 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.0002393/0.1594, allocations: 253.6 kB / 0.4909 GB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.069e-05/0.1595, allocations: 67.2 kB / 0.491 GB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00153/0.161, allocations: 1.77 MB / 0.4927 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.157e-05/0.1611, allocations: 31.95 kB / 0.4927 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1611, allocations: 0 / 0.4927 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1611, allocations: 3.984 kB / 0.4927 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008842/0.162, allocations: 0.9966 MB / 0.4937 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.162, allocations: 0 / 0.4937 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/0.1622, allocations: 51.97 kB / 0.4937 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.1622, allocations: 8 kB / 0.4937 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.1622, allocations: 4 kB / 0.4937 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.1622, allocations: 7.938 kB / 0.4938 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1622, allocations: 0 / 0.4938 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009004/0.1631, allocations: 0.9987 MB / 0.4947 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.1633, allocations: 167.8 kB / 0.4949 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.938e-05/0.1633, allocations: 4 kB / 0.4949 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.1635, allocations: 35.83 kB / 0.4949 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.1636, allocations: 23.91 kB / 0.495 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.1636, allocations: 8 kB / 0.495 GB, free: 13.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002876/0.1639, allocations: 339.1 kB / 0.4953 GB, free: 12.9 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1639, allocations: 0 / 0.4953 GB, free: 12.9 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001132/0.165, allocations: 0.5308 MB / 0.4958 GB, free: 12.37 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: 14 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 30 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 7 * 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.002551/0.1676, allocations: 1.952 MB / 0.4977 GB, free: 10.39 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009894/0.1686, allocations: 0.6609 MB / 0.4984 GB, free: 9.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.1686, allocations: 0 / 0.4984 GB, free: 9.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004071/0.169, allocations: 462 kB / 0.4988 GB, free: 9.277 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.1703, allocations: 289.8 kB / 0.4991 GB, free: 8.996 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00587/0.1762, allocations: 5.871 MB / 0.5048 GB, free: 3 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005066/0.1767, allocations: 1.049 MB / 0.5058 GB, free: 1.922 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004469/0.1772, allocations: 272 kB / 0.5061 GB, free: 1.656 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002568/0.1774, allocations: 275.3 kB / 0.5063 GB, free: 1.387 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1774, allocations: 0 / 0.5063 GB, free: 1.387 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1782/0.3557, allocations: 28.28 MB / 0.534 GB, free: 83.33 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/0.3559, allocations: 247.7 kB / 0.5342 GB, free: 83.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.268/2.624, allocations: 6.406 kB / 0.5342 GB, free: 83.07 MB / 414.1 MB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe 2>&1)