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.001697/0.001697, allocations: 104.6 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.002047/0.002047, 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.175/1.175, 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.2112/0.2112, 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.001908/0.001908, allocations: 65.38 kB / 390.2 MB, free: 48.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08068/0.0826, allocations: 59.16 MB / 449.3 MB, free: 9.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.01596/0.09859, allocations: 15.53 MB / 464.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008544/0.09947, allocations: 0.7048 MB / 465.6 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.09964, allocations: 4 kB / 465.6 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003316/0.09998, allocations: 107.4 kB / 465.7 MB, free: 9.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005013/0.1005, allocations: 203.1 kB / 465.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004213/0.1047, allocations: 2.048 MB / 467.9 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005409/0.1053, allocations: 0.591 MB / 468.5 MB, free: 6.387 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.1054, allocations: 92.69 kB / 468.6 MB, free: 6.293 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005206/0.106, allocations: 399 kB / 469 MB, free: 5.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003351/0.1063, allocations: 267 kB / 469.3 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.472e-05/0.1064, allocations: 24 kB / 469.3 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005056/0.1114, allocations: 3.535 MB / 472.8 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001645/0.1116, allocations: 207.4 kB / 473 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002737/0.1119, allocations: 302.4 kB / 473.3 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003653/0.1155, allocations: 2.416 MB / 475.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1156, allocations: 0 / 475.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1156, allocations: 0 / 475.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.413e-06/0.1156, allocations: 4 kB / 475.7 MB, free: 15.15 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.002418/0.118, allocations: 1.216 MB / 477 MB, free: 13.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.1181, allocations: 12.03 kB / 477 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.241e-05/0.1182, allocations: 98.64 kB / 477.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000268/0.1184, allocations: 96.06 kB / 477.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005626/0.119, allocations: 0.5147 MB / 477.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.119, allocations: 41.12 kB / 477.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.463e-05/0.1191, allocations: 47.98 kB / 477.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.1203, allocations: 0.8117 MB / 478.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.1203, allocations: 0 / 478.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.859e-05/0.1204, allocations: 20 kB / 478.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.047e-05/0.1204, allocations: 40.98 kB / 478.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.1215, allocations: 0.6086 MB / 479.2 MB, free: 11.5 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.002696/0.1242, allocations: 4.316 MB / 483.6 MB, free: 6.676 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009667/0.1252, allocations: 0.5378 MB / 484.1 MB, free: 6.129 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000237/0.1254, allocations: 197 kB / 484.3 MB, free: 5.934 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02894/0.1544, allocations: 15.32 MB / 499.6 MB, free: 4.836 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.1544, allocations: 38.56 kB / 499.6 MB, free: 4.789 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.024e-06/0.1544, allocations: 0 / 499.6 MB, free: 4.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.0017/0.1561, allocations: 0.7338 MB / 0.4887 GB, free: 4.051 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.1562, allocations: 55.41 kB / 0.4887 GB, free: 3.984 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004537/0.1566, allocations: 477.8 kB / 0.4892 GB, free: 3.516 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.1567, allocations: 33.7 kB / 0.4892 GB, free: 3.477 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.1568, allocations: 268.3 kB / 0.4894 GB, free: 3.207 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.316e-05/0.1569, allocations: 141.9 kB / 0.4896 GB, free: 3.066 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.395e-05/0.157, allocations: 73.69 kB / 0.4897 GB, free: 2.988 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1571, allocations: 362.8 kB / 0.49 GB, free: 2.625 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.1573, allocations: 128.4 kB / 0.4901 GB, free: 2.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.1576, allocations: 209.3 kB / 0.4903 GB, free: 2.273 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004359/0.158, allocations: 383.8 kB / 0.4907 GB, free: 1.875 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.158, allocations: 0 / 0.4907 GB, free: 1.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005623/0.1586, allocations: 436.6 kB / 0.4911 GB, free: 1.441 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.1586, allocations: 8 kB / 0.4911 GB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1586, allocations: 4.156 kB / 0.4911 GB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.1586, allocations: 8 kB / 0.4911 GB, free: 1.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002555/0.1589, allocations: 71.84 kB / 0.4912 GB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.1589, allocations: 7.938 kB / 0.4912 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.1591, allocations: 43.58 kB / 0.4912 GB, free: 1.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.135e-05/0.1591, allocations: 12 kB / 0.4913 GB, free: 1.289 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.0002327/0.1594, allocations: 253.6 kB / 0.4915 GB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.511e-05/0.1595, allocations: 55.28 kB / 0.4915 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001526/0.161, allocations: 1.778 MB / 0.4933 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.7e-05/0.161, allocations: 19.97 kB / 0.4933 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.161, allocations: 0 / 0.4933 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.161, allocations: 11.98 kB / 0.4933 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008642/0.1619, allocations: 1.001 MB / 0.4943 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.1619, allocations: 4 kB / 0.4943 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/0.1621, allocations: 47.91 kB / 0.4943 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1621, allocations: 4 kB / 0.4943 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.1622, allocations: 12 kB / 0.4944 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1622, allocations: 0 / 0.4944 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1622, allocations: 0 / 0.4944 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008834/0.1631, allocations: 0.9986 MB / 0.4953 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.1632, allocations: 163.8 kB / 0.4955 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.127e-05/0.1632, allocations: 7.984 kB / 0.4955 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.1634, allocations: 8 kB / 0.4955 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.1635, allocations: 23.97 kB / 0.4955 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.1635, allocations: 15.94 kB / 0.4955 GB, free: 12.79 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002901/0.1638, allocations: 335.1 kB / 0.4959 GB, free: 12.46 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1638, allocations: 0 / 0.4959 GB, free: 12.46 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001033/0.1648, allocations: 0.5269 MB / 0.4964 GB, free: 11.94 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.00251/0.1673, allocations: 1.965 MB / 0.4983 GB, free: 9.941 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009801/0.1683, allocations: 0.6456 MB / 0.4989 GB, free: 9.297 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1683, allocations: 4.062 kB / 0.4989 GB, free: 9.293 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004045/0.1688, allocations: 462 kB / 0.4994 GB, free: 8.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.1701, allocations: 292.6 kB / 0.4996 GB, free: 8.559 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005638/0.1757, allocations: 5.551 MB / 0.5051 GB, free: 2.879 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005179/0.1763, allocations: 1.045 MB / 0.5061 GB, free: 1.805 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004886/0.1768, allocations: 276 kB / 0.5064 GB, free: 1.535 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002687/0.177, allocations: 275.3 kB / 0.5066 GB, free: 1.266 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.177, allocations: 0 / 0.5066 GB, free: 1.266 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.496/6.673, allocations: 28.41 MB / 0.5344 GB, free: 83.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15/21.67, allocations: 1.531 kB / 0.5344 GB, free: 83.27 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)