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.001314/0.001314, allocations: 116.1 kB / 17.07 MB, free: 5.992 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.001331/0.001331, allocations: 196 kB / 18 MB, free: 5.074 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.361/1.361, allocations: 205.1 MB / 223.9 MB, free: 12.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.292/0.292, allocations: 48.85 MB / 320.1 MB, free: 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.002167/0.002168, allocations: 75.89 kB / 450.1 MB, free: 9.016 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.113, allocations: 59.15 MB / 0.4973 GB, free: 13.73 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.01971/0.1328, allocations: 15.53 MB / 0.5124 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.1339, allocations: 0.7126 MB / 0.5131 GB, free: 13.43 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.134, allocations: 4 kB / 0.5131 GB, free: 13.42 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003802/0.1344, allocations: 107.4 kB / 0.5132 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005029/0.1349, allocations: 203.1 kB / 0.5134 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005311/0.1403, allocations: 2.045 MB / 0.5154 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007544/0.141, allocations: 0.5949 MB / 0.516 GB, free: 10.47 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.1412, allocations: 92.62 kB / 0.5161 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000612/0.1419, allocations: 394.9 kB / 0.5165 GB, free: 9.992 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003932/0.1423, allocations: 274.9 kB / 0.5167 GB, free: 9.723 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.926e-05/0.1423, allocations: 20 kB / 0.5168 GB, free: 9.703 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00721/0.1495, allocations: 3.629 MB / 0.5203 GB, free: 6.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003375/0.1499, allocations: 211.3 kB / 0.5205 GB, free: 5.863 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004426/0.1504, allocations: 294.5 kB / 0.5208 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005662/0.1561, allocations: 2.431 MB / 0.5232 GB, free: 3.137 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.1561, allocations: 0 / 0.5232 GB, free: 3.137 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1561, allocations: 0 / 0.5232 GB, free: 3.137 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.1561, allocations: 4 kB / 0.5232 GB, free: 3.133 MB / 414.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.003467/0.1596, allocations: 1.245 MB / 0.5244 GB, free: 1.836 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.1597, allocations: 8.031 kB / 0.5244 GB, free: 1.828 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001349/0.1598, allocations: 98.7 kB / 0.5245 GB, free: 1.723 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003392/0.1602, allocations: 100.5 kB / 0.5246 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008479/0.161, allocations: 0.5502 MB / 0.5251 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.653e-05/0.1611, allocations: 36.94 kB / 0.5251 GB, free: 1 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.791e-05/0.1612, allocations: 47.98 kB / 0.5252 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.1627, allocations: 0.8117 MB / 0.526 GB, free: 88 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.1628, allocations: 4 kB / 0.526 GB, free: 84 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.698e-05/0.1628, allocations: 20 kB / 0.526 GB, free: 64 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.278e-05/0.1629, allocations: 44.92 kB / 0.526 GB, free: 20 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1883/0.3512, allocations: 0.606 MB / 0.5266 GB, free: 31.3 MB / 414.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.00262/0.3539, allocations: 4.299 MB / 0.5308 GB, free: 27.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.355, allocations: 0.5404 MB / 0.5314 GB, free: 27.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000284/0.3553, allocations: 194.2 kB / 0.5316 GB, free: 27.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02954/0.3848, allocations: 15.38 MB / 0.5466 GB, free: 18.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.3849, allocations: 33.67 kB / 0.5466 GB, free: 18.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.825e-06/0.3849, allocations: 0 / 0.5466 GB, free: 18.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002095/0.387, allocations: 0.747 MB / 0.5473 GB, free: 18.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.3871, allocations: 63.53 kB / 0.5474 GB, free: 18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005017/0.3876, allocations: 471.7 kB / 0.5478 GB, free: 17.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.3876, allocations: 30.52 kB / 0.5479 GB, free: 17.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.3878, allocations: 275.4 kB / 0.5481 GB, free: 17.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.464e-05/0.3878, allocations: 145.5 kB / 0.5483 GB, free: 17.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.388, allocations: 76.73 kB / 0.5483 GB, free: 17.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.838e-05/0.388, allocations: 361.5 kB / 0.5487 GB, free: 17.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.3883, allocations: 132.2 kB / 0.5488 GB, free: 17.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.3885, allocations: 207.4 kB / 0.549 GB, free: 17.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004485/0.389, allocations: 380.2 kB / 0.5494 GB, free: 16.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.389, allocations: 1.312 kB / 0.5494 GB, free: 16.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006302/0.3896, allocations: 437.1 kB / 0.5498 GB, free: 16.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3896, allocations: 6.188 kB / 0.5498 GB, free: 16.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.3896, allocations: 6.75 kB / 0.5498 GB, free: 16.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.3897, allocations: 4.953 kB / 0.5498 GB, free: 16.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003295/0.39, allocations: 72.42 kB / 0.5499 GB, free: 16.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.39, allocations: 6.344 kB / 0.5499 GB, free: 16.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.3902, allocations: 41.98 kB / 0.5499 GB, free: 16.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.946e-05/0.3903, allocations: 16.39 kB / 0.5499 GB, free: 16.78 MB / 414.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.0003069/0.3906, allocations: 251 kB / 0.5502 GB, free: 16.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.457e-05/0.3907, allocations: 51.61 kB / 0.5502 GB, free: 16.6 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001833/0.3926, allocations: 1.776 MB / 0.552 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.111e-05/0.3926, allocations: 37.61 kB / 0.552 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3926, allocations: 4 kB / 0.552 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.3926, allocations: 1.547 kB / 0.552 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009845/0.3936, allocations: 0.9959 MB / 0.553 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3936, allocations: 0.6562 kB / 0.553 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000203/0.3938, allocations: 57.72 kB / 0.553 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.3939, allocations: 2.297 kB / 0.553 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.3939, allocations: 8.734 kB / 0.553 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.3939, allocations: 12.94 kB / 0.5531 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3939, allocations: 0 / 0.5531 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008683/0.3948, allocations: 0.9919 MB / 0.554 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-05/0.3949, allocations: 170.4 kB / 0.5542 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.019e-05/0.3949, allocations: 12.19 kB / 0.5542 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.3951, allocations: 14.39 kB / 0.5542 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.3952, allocations: 19.28 kB / 0.5542 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.3952, allocations: 10.91 kB / 0.5542 GB, free: 14.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002883/0.3955, allocations: 340 kB / 0.5546 GB, free: 14.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3955, allocations: 0 / 0.5546 GB, free: 14.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001333/0.3968, allocations: 0.535 MB / 0.5551 GB, free: 14.35 MB / 414.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.002711/0.3996, allocations: 1.955 MB / 0.557 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000749/0.4003, allocations: 0.5383 MB / 0.5575 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.4003, allocations: 0 / 0.5575 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004266/0.4008, allocations: 466.5 kB / 0.558 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.4022, allocations: 294.4 kB / 0.5582 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005879/0.4081, allocations: 5.491 MB / 0.5636 GB, free: 9.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.4085, allocations: 1.049 MB / 0.5646 GB, free: 8.637 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004949/0.4091, allocations: 274.4 kB / 0.5649 GB, free: 8.523 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002337/0.4093, allocations: 272.2 kB / 0.5652 GB, free: 8.289 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4093, allocations: 0 / 0.5652 GB, free: 8.289 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05656/0.4659, allocations: 28.62 MB / 0.5931 GB, free: 13.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.39/9.856, allocations: 11.91 kB / 0.5931 GB, free: 13.82 MB / 446.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 & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe 2>&1)