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.001193/0.001193, allocations: 112.9 kB / 17.06 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.001025/0.001025, allocations: 196 kB / 18.01 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.353/1.353, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2846/0.2846, 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.001433/0.001433, allocations: 67.91 kB / 450.1 MB, free: 9.023 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.104, allocations: 59.16 MB / 0.4973 GB, free: 13.73 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.01769/0.1217, allocations: 15.52 MB / 0.5124 GB, free: 14.15 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009664/0.1227, allocations: 0.7009 MB / 0.5131 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.1229, allocations: 4 kB / 0.5131 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003767/0.1233, allocations: 115.4 kB / 0.5132 GB, free: 13.33 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005227/0.1238, allocations: 207.1 kB / 0.5134 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004829/0.1287, allocations: 2.052 MB / 0.5154 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006249/0.1293, allocations: 0.5871 MB / 0.516 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.1295, allocations: 96.64 kB / 0.5161 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006109/0.1301, allocations: 403 kB / 0.5165 GB, free: 9.988 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003765/0.1305, allocations: 270.9 kB / 0.5167 GB, free: 9.723 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.206e-05/0.1306, allocations: 24 kB / 0.5168 GB, free: 9.699 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006058/0.1367, allocations: 3.629 MB / 0.5203 GB, free: 6.066 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002354/0.1369, allocations: 207.4 kB / 0.5205 GB, free: 5.863 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000383/0.1373, allocations: 302.4 kB / 0.5208 GB, free: 5.566 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004094/0.1414, allocations: 2.423 MB / 0.5232 GB, free: 3.137 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1414, allocations: 0 / 0.5232 GB, free: 3.137 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1415, allocations: 4 kB / 0.5232 GB, free: 3.133 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.583e-05/0.1415, allocations: 0 / 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.003089/0.1446, allocations: 1.249 MB / 0.5244 GB, free: 1.832 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.1446, allocations: 12.03 kB / 0.5244 GB, free: 1.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001173/0.1447, allocations: 98.64 kB / 0.5245 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003389/0.1451, allocations: 96.48 kB / 0.5246 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008661/0.146, allocations: 0.5502 MB / 0.5251 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/0.146, allocations: 36.94 kB / 0.5252 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.012e-05/0.1461, allocations: 51.97 kB / 0.5252 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.1476, allocations: 0.8078 MB / 0.526 GB, free: 84 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.1476, allocations: 4 kB / 0.526 GB, free: 80 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.495e-05/0.1476, allocations: 20 kB / 0.526 GB, free: 60 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-05/0.1477, allocations: 40.98 kB / 0.5261 GB, free: 20 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1958/0.3436, allocations: 0.6113 MB / 0.5267 GB, free: 31.36 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.002976/0.3466, allocations: 4.293 MB / 0.5308 GB, free: 27.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.3477, allocations: 0.5388 MB / 0.5314 GB, free: 27.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002939/0.348, allocations: 197.9 kB / 0.5316 GB, free: 27.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03146/0.3795, allocations: 15.37 MB / 0.5466 GB, free: 18.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.3796, allocations: 38.53 kB / 0.5466 GB, free: 18.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.916e-06/0.3796, allocations: 0 / 0.5466 GB, free: 18.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.001988/0.3816, allocations: 0.7444 MB / 0.5473 GB, free: 18.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.3816, allocations: 58.75 kB / 0.5474 GB, free: 18.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005158/0.3821, allocations: 469.7 kB / 0.5478 GB, free: 17.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.3822, allocations: 31.77 kB / 0.5479 GB, free: 17.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.3823, allocations: 281.3 kB / 0.5481 GB, free: 17.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.832e-05/0.3824, allocations: 148 kB / 0.5483 GB, free: 17.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.3825, allocations: 70.67 kB / 0.5483 GB, free: 17.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.471e-05/0.3826, allocations: 363.3 kB / 0.5487 GB, free: 17.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.3828, allocations: 128.9 kB / 0.5488 GB, free: 17.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002345/0.3831, allocations: 203.1 kB / 0.549 GB, free: 17.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004933/0.3836, allocations: 382.9 kB / 0.5494 GB, free: 17.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3836, allocations: 4 kB / 0.5494 GB, free: 17.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007316/0.3843, allocations: 435.8 kB / 0.5498 GB, free: 16.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.3844, allocations: 9.219 kB / 0.5498 GB, free: 16.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.3844, allocations: 3.281 kB / 0.5498 GB, free: 16.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.811e-05/0.3844, allocations: 3.844 kB / 0.5498 GB, free: 16.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003691/0.3848, allocations: 72.23 kB / 0.5499 GB, free: 16.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.3848, allocations: 3.312 kB / 0.5499 GB, free: 16.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002656/0.3851, allocations: 50.86 kB / 0.5499 GB, free: 16.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-05/0.3851, allocations: 16.06 kB / 0.5499 GB, free: 16.9 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.0003666/0.3855, allocations: 259.2 kB / 0.5502 GB, free: 16.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.3857, allocations: 51.48 kB / 0.5502 GB, free: 16.72 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002282/0.3879, allocations: 1.777 MB / 0.552 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.895e-05/0.388, allocations: 29.83 kB / 0.552 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.388, allocations: 1.188 kB / 0.552 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.388, allocations: 5.094 kB / 0.552 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/0.3893, allocations: 1.005 MB / 0.553 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.3893, allocations: 1.781 kB / 0.553 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/0.3896, allocations: 47.69 kB / 0.553 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.3896, allocations: 3.531 kB / 0.553 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.3896, allocations: 7.984 kB / 0.5531 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3896, allocations: 4.781 kB / 0.5531 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3896, allocations: 0 / 0.5531 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.3907, allocations: 0.9953 MB / 0.554 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.3908, allocations: 174 kB / 0.5542 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.356e-05/0.3909, allocations: 6.719 kB / 0.5542 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.3911, allocations: 11.34 kB / 0.5542 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.3911, allocations: 28.03 kB / 0.5542 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.3912, allocations: 8.969 kB / 0.5542 GB, free: 14.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003024/0.3915, allocations: 331.5 kB / 0.5546 GB, free: 14.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3915, allocations: 1.031 kB / 0.5546 GB, free: 14.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001661/0.3931, allocations: 0.5459 MB / 0.5551 GB, free: 14.42 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.002825/0.396, allocations: 1.951 MB / 0.557 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007104/0.3967, allocations: 0.5388 MB / 0.5575 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3967, allocations: 448 / 0.5575 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004069/0.3971, allocations: 472.3 kB / 0.558 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/0.3985, allocations: 290.7 kB / 0.5583 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005878/0.4044, allocations: 5.484 MB / 0.5636 GB, free: 9.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004436/0.4049, allocations: 1.048 MB / 0.5646 GB, free: 8.727 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005498/0.4055, allocations: 280.9 kB / 0.5649 GB, free: 8.605 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002486/0.4057, allocations: 268.8 kB / 0.5652 GB, free: 8.375 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4057, allocations: 0 / 0.5652 GB, free: 8.375 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05159/0.4573, allocations: 28.62 MB / 0.5931 GB, free: 13.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.303/9.761, allocations: 11.97 kB / 0.5931 GB, free: 13.91 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)