Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 212.1 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.435/1.435, allocations: 230.6 MB / 257.5 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1571/0.1571, allocations: 26.81 MB / 340.7 MB, free: 8.172 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse,fileNamePrefix="ThermoPower_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 67.84 kB / 476.9 MB, free: 3.609 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3588, allocations: 60.47 MB / 0.5247 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.01876/0.3776, allocations: 15.79 MB / 0.5402 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.3791, allocations: 0.7354 MB / 0.5409 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003193/0.3794, allocations: 7.344 kB / 0.5409 GB, free: 14.06 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000594/0.38, allocations: 110.5 kB / 0.541 GB, free: 14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009357/0.3809, allocations: 214.9 kB / 0.5412 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01004/0.391, allocations: 2.062 MB / 0.5432 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001027/0.392, allocations: 0.6008 MB / 0.5438 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002006/0.3922, allocations: 37.48 kB / 0.5438 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000996/0.3932, allocations: 424.4 kB / 0.5442 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006607/0.3938, allocations: 281 kB / 0.5445 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.987e-05/0.3939, allocations: 20.84 kB / 0.5445 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008572/0.4025, allocations: 3.659 MB / 0.5481 GB, free: 9.953 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000315/0.4028, allocations: 211.5 kB / 0.5483 GB, free: 9.824 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006031/0.4034, allocations: 301.7 kB / 0.5486 GB, free: 9.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005775/0.4092, allocations: 2.444 MB / 0.551 GB, free: 8.145 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4092, allocations: 0 / 0.551 GB, free: 8.145 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4092, allocations: 0.9375 kB / 0.551 GB, free: 8.145 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.876e-05/0.4092, allocations: 0 / 0.551 GB, free: 8.145 MB / 398.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.004577/0.4138, allocations: 1.171 MB / 0.5521 GB, free: 7.348 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.273e-05/0.4139, allocations: 9.656 kB / 0.5521 GB, free: 7.348 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001875/0.4141, allocations: 95.3 kB / 0.5522 GB, free: 7.266 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003937/0.4145, allocations: 101.9 kB / 0.5523 GB, free: 7.211 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.4157, allocations: 0.4917 MB / 0.5528 GB, free: 6.844 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.504e-05/0.4157, allocations: 39.69 kB / 0.5528 GB, free: 6.824 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.89e-05/0.4158, allocations: 46.66 kB / 0.5529 GB, free: 6.809 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/0.4174, allocations: 0.8184 MB / 0.5537 GB, free: 6.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.4174, allocations: 3.938 kB / 0.5537 GB, free: 6.266 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.504e-05/0.4175, allocations: 21.97 kB / 0.5537 GB, free: 6.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-05/0.4175, allocations: 42.52 kB / 0.5537 GB, free: 6.242 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001368/0.4189, allocations: 0.602 MB / 0.5543 GB, free: 5.961 MB / 398.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.004721/0.4236, allocations: 4.256 MB / 0.5585 GB, free: 1.723 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.4248, allocations: 0.5217 MB / 0.559 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002857/0.4251, allocations: 177 kB / 0.5592 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03123/0.4563, allocations: 8.436 MB / 0.5674 GB, free: 8.684 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.675e-05/0.4564, allocations: 34.56 kB / 0.5674 GB, free: 8.641 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.585e-06/0.4564, allocations: 0 / 0.5674 GB, free: 8.641 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002258/0.4586, allocations: 0.7548 MB / 0.5682 GB, free: 7.883 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.4587, allocations: 59.41 kB / 0.5682 GB, free: 7.812 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006566/0.4593, allocations: 465.9 kB / 0.5687 GB, free: 7.348 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.4594, allocations: 29.7 kB / 0.5687 GB, free: 7.312 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.4596, allocations: 276.6 kB / 0.569 GB, free: 7.035 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.4597, allocations: 142.8 kB / 0.5691 GB, free: 6.895 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.4599, allocations: 81.62 kB / 0.5692 GB, free: 6.809 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.46, allocations: 362.8 kB / 0.5695 GB, free: 6.445 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/0.4603, allocations: 132.3 kB / 0.5697 GB, free: 6.316 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000272/0.4605, allocations: 201.3 kB / 0.5698 GB, free: 6.094 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005237/0.4611, allocations: 370.5 kB / 0.5702 GB, free: 5.707 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4611, allocations: 4 kB / 0.5702 GB, free: 5.703 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000745/0.4618, allocations: 449.3 kB / 0.5706 GB, free: 5.258 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.4618, allocations: 8 kB / 0.5706 GB, free: 5.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.4618, allocations: 4 kB / 0.5706 GB, free: 5.246 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.4618, allocations: 7.984 kB / 0.5707 GB, free: 5.238 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.4621, allocations: 71.89 kB / 0.5707 GB, free: 5.168 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.4622, allocations: 7.984 kB / 0.5707 GB, free: 5.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002932/0.4624, allocations: 39.61 kB / 0.5708 GB, free: 5.121 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.293e-05/0.4625, allocations: 16 kB / 0.5708 GB, free: 5.105 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.0003435/0.4628, allocations: 262.1 kB / 0.571 GB, free: 4.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.4629, allocations: 51.67 kB / 0.5711 GB, free: 4.789 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00202/0.465, allocations: 1.845 MB / 0.5729 GB, free: 2.941 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.049e-05/0.465, allocations: 31.95 kB / 0.5729 GB, free: 2.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.465, allocations: 0 / 0.5729 GB, free: 2.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.465, allocations: 3.984 kB / 0.5729 GB, free: 2.906 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.4663, allocations: 0.9959 MB / 0.5739 GB, free: 1.867 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4663, allocations: 0 / 0.5739 GB, free: 1.867 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002173/0.4665, allocations: 55.91 kB / 0.5739 GB, free: 1.812 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.4665, allocations: 0 / 0.5739 GB, free: 1.812 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/0.4665, allocations: 11.98 kB / 0.574 GB, free: 1.801 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.4665, allocations: 7.984 kB / 0.574 GB, free: 1.793 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4665, allocations: 0 / 0.574 GB, free: 1.793 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.4677, allocations: 1.011 MB / 0.5749 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.4679, allocations: 103 kB / 0.575 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.574e-05/0.468, allocations: 12 kB / 0.5751 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.4682, allocations: 15.94 kB / 0.5751 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.4682, allocations: 19.95 kB / 0.5751 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/0.4682, allocations: 15.98 kB / 0.5751 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003798/0.4686, allocations: 335.1 kB / 0.5754 GB, free: 272 kB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4686, allocations: 3.938 kB / 0.5754 GB, free: 268 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.001897/0.4705, allocations: 0.5422 MB / 0.576 GB, free: 15.71 MB / 430.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.004081/0.4746, allocations: 1.981 MB / 0.5779 GB, free: 13.71 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008407/0.4754, allocations: 0.5365 MB / 0.5784 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4754, allocations: 0 / 0.5784 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004583/0.4759, allocations: 370 kB / 0.5788 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.4774, allocations: 300.7 kB / 0.5791 GB, free: 12.54 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009444/0.4868, allocations: 5.524 MB / 0.5845 GB, free: 6.875 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009257/0.4878, allocations: 1.049 MB / 0.5855 GB, free: 5.801 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006238/0.4884, allocations: 264.1 kB / 0.5857 GB, free: 5.539 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003672/0.4888, allocations: 271.3 kB / 0.586 GB, free: 5.273 MB / 430.1 MB Notification: Performance of SimCode: time 1.293e-06/0.4888, allocations: 0 / 0.586 GB, free: 5.273 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0717/0.5605, allocations: 29.7 MB / 0.615 GB, free: 7.777 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13.24, allocations: 11.94 kB / 0.615 GB, free: 7.766 MB / 462.1 MB " [Timeout remaining time 647] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.sim & python3 -m fmpy simulate --output-file ThermoPower_4.0.0-dev_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_4_0_0-dev_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse.fmu > ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.062906067003496] Failed to read output from testmodel.py, exit status != 0: 13.361777354963124 13.389959776 12.975284471 Calling exit ...