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.001387/0.001392, allocations: 113.6 kB / 17.06 MB, free: 6.012 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.0016/0.0016, allocations: 191 kB / 18 MB, free: 5.098 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.315/1.315, allocations: 205.1 MB / 223.9 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2514/0.2514, allocations: 48.85 MB / 320.1 MB, free: 11.02 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.001619/0.001619, allocations: 67.91 kB / 450.1 MB, free: 9.016 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1092, allocations: 59.16 MB / 0.4973 GB, free: 13.72 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.01883/0.128, allocations: 15.53 MB / 0.5125 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.1293, allocations: 0.7128 MB / 0.5132 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002435/0.1296, allocations: 7.938 kB / 0.5132 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004604/0.1301, allocations: 99.38 kB / 0.5133 GB, free: 13.3 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006376/0.1308, allocations: 211 kB / 0.5135 GB, free: 13.1 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005539/0.1363, allocations: 2.056 MB / 0.5155 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005915/0.1369, allocations: 461.6 kB / 0.5159 GB, free: 10.58 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002038/0.1372, allocations: 116.9 kB / 0.516 GB, free: 10.47 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005664/0.1377, allocations: 359.1 kB / 0.5164 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003094/0.1381, allocations: 235.1 kB / 0.5166 GB, free: 9.887 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.55e-05/0.1381, allocations: 20 kB / 0.5166 GB, free: 9.867 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006496/0.1446, allocations: 3.625 MB / 0.5201 GB, free: 6.238 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002632/0.1449, allocations: 199.4 kB / 0.5203 GB, free: 6.043 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003098/0.1452, allocations: 254.6 kB / 0.5206 GB, free: 5.793 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004504/0.1498, allocations: 2.334 MB / 0.5229 GB, free: 3.453 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.1498, allocations: 7.984 kB / 0.5229 GB, free: 3.445 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1498, allocations: 0 / 0.5229 GB, free: 3.445 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.1498, allocations: 0 / 0.5229 GB, free: 3.445 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002718/0.1526, allocations: 1.101 MB / 0.5239 GB, free: 2.293 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.1526, allocations: 8.031 kB / 0.5239 GB, free: 2.285 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001011/0.1527, allocations: 82.7 kB / 0.524 GB, free: 2.195 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002265/0.153, allocations: 76.55 kB / 0.5241 GB, free: 2.121 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008399/0.1538, allocations: 0.5187 MB / 0.5246 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.1539, allocations: 32.98 kB / 0.5246 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.395e-05/0.1539, allocations: 36 kB / 0.5247 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.155, allocations: 0.5936 MB / 0.5253 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.155, allocations: 0 / 0.5253 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.296e-05/0.155, allocations: 16 kB / 0.5253 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-05/0.1551, allocations: 28.64 kB / 0.5253 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008462/0.156, allocations: 466.1 kB / 0.5257 GB, free: 376 kB / 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.2337/0.3897, allocations: 3.148 MB / 0.5288 GB, free: 28.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007283/0.3904, allocations: 382.5 kB / 0.5292 GB, free: 28.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000252/0.3907, allocations: 175.3 kB / 0.5293 GB, free: 28.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03214/0.4228, allocations: 15.37 MB / 0.5444 GB, free: 19.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.642e-05/0.4229, allocations: 33.48 kB / 0.5444 GB, free: 19.17 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 3.406e-06/0.4229, allocations: 0 / 0.5444 GB, free: 19.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.001591/0.4245, allocations: 0.5476 MB / 0.5449 GB, free: 19.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.4246, allocations: 65.91 kB / 0.545 GB, free: 19.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005061/0.4251, allocations: 409.4 kB / 0.5454 GB, free: 18.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.4251, allocations: 30.33 kB / 0.5454 GB, free: 18.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.4253, allocations: 246.6 kB / 0.5456 GB, free: 18.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.079e-05/0.4254, allocations: 109.4 kB / 0.5457 GB, free: 18.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.142e-05/0.4255, allocations: 55.08 kB / 0.5458 GB, free: 18.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.234e-05/0.4256, allocations: 358.3 kB / 0.5461 GB, free: 18.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.4257, allocations: 106.2 kB / 0.5462 GB, free: 18.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.4259, allocations: 157.4 kB / 0.5464 GB, free: 18.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003775/0.4263, allocations: 290.2 kB / 0.5467 GB, free: 18.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4263, allocations: 4.656 kB / 0.5467 GB, free: 18.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004983/0.4268, allocations: 347.8 kB / 0.547 GB, free: 18.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.4269, allocations: 6.094 kB / 0.547 GB, free: 18.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.4269, allocations: 5.125 kB / 0.547 GB, free: 18.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.4269, allocations: 2.969 kB / 0.547 GB, free: 18.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/0.4271, allocations: 43.08 kB / 0.5471 GB, free: 18.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.4272, allocations: 3.922 kB / 0.5471 GB, free: 18.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.4273, allocations: 31 kB / 0.5471 GB, free: 18.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-05/0.4274, allocations: 12.17 kB / 0.5471 GB, free: 18.23 MB / 414.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.0002286/0.4276, allocations: 239 kB / 0.5473 GB, free: 18.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.234e-05/0.4277, allocations: 43.41 kB / 0.5474 GB, free: 18.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/0.4289, allocations: 1.114 MB / 0.5485 GB, free: 17.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.328e-05/0.4289, allocations: 18.09 kB / 0.5485 GB, free: 17.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.4289, allocations: 0 / 0.5485 GB, free: 17.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.874e-06/0.4289, allocations: 3.219 kB / 0.5485 GB, free: 17.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007933/0.4297, allocations: 0.7263 MB / 0.5492 GB, free: 17.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.4297, allocations: 0.5625 kB / 0.5492 GB, free: 17.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.4299, allocations: 42.81 kB / 0.5492 GB, free: 17.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.4299, allocations: 1.094 kB / 0.5492 GB, free: 17.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.4299, allocations: 6.859 kB / 0.5492 GB, free: 17.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.4299, allocations: 1.062 kB / 0.5492 GB, free: 17.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.43, allocations: 1.984 kB / 0.5492 GB, free: 17.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009763/0.4309, allocations: 0.7107 MB / 0.5499 GB, free: 16.85 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.4311, allocations: 143.1 kB / 0.5501 GB, free: 16.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.304e-05/0.4311, allocations: 8.844 kB / 0.5501 GB, free: 16.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.4313, allocations: 12.31 kB / 0.5501 GB, free: 16.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.4313, allocations: 16.48 kB / 0.5501 GB, free: 16.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.4313, allocations: 6.906 kB / 0.5501 GB, free: 16.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003578/0.4317, allocations: 299.4 kB / 0.5504 GB, free: 16.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.12e-07/0.4317, allocations: 0.5625 kB / 0.5504 GB, free: 16.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001314/0.433, allocations: 0.5031 MB / 0.5509 GB, free: 16.5 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: 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.002293/0.4353, allocations: 1.655 MB / 0.5525 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000503/0.4358, allocations: 394.6 kB / 0.5529 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4358, allocations: 2.297 kB / 0.5529 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002944/0.4361, allocations: 314.7 kB / 0.5532 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.4372, allocations: 202.6 kB / 0.5534 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004739/0.4419, allocations: 4.513 MB / 0.5578 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.4423, allocations: 0.959 MB / 0.5587 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003705/0.4427, allocations: 179.4 kB / 0.5589 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/0.4429, allocations: 200.5 kB / 0.5591 GB, free: 12.04 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4429, allocations: 3.281 kB / 0.5591 GB, free: 12.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04545/0.4883, allocations: 24.42 MB / 0.5829 GB, free: 8.484 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.136/9.625, allocations: 4.375 kB / 0.5829 GB, free: 8.48 MB / 430.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 & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse_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_Fcoarse.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe 2>&1)