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.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.0013/0.0013, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001339/0.001339, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 207.6 MB / 231.1 MB, free: 4.094 MB / 174.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.4028/0.4028, allocations: 49.52 MB / 332.5 MB, free: 0.7344 MB / 254.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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.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_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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 83.23 kB / 470.9 MB, free: 41.05 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09677/0.09886, allocations: 62.34 MB / 0.5207 GB, free: 2.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.02024/0.1191, allocations: 15.61 MB / 0.5359 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.1202, allocations: 0.7205 MB / 0.5366 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001743/0.1204, allocations: 7.875 kB / 0.5366 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004174/0.1208, allocations: 107.4 kB / 0.5368 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005983/0.1214, allocations: 203.1 kB / 0.5369 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005129/0.1265, allocations: 2.064 MB / 0.539 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005989/0.1271, allocations: 449.7 kB / 0.5394 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.1273, allocations: 77.27 kB / 0.5395 GB, free: 15 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005213/0.1278, allocations: 371.1 kB / 0.5398 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003082/0.1281, allocations: 243.1 kB / 0.5401 GB, free: 14.4 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.747e-05/0.1282, allocations: 20 kB / 0.5401 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006104/0.1343, allocations: 3.632 MB / 0.5436 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000233/0.1345, allocations: 195.4 kB / 0.5438 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002833/0.1348, allocations: 254.7 kB / 0.544 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003583/0.1384, allocations: 2.349 MB / 0.5463 GB, free: 7.945 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1384, allocations: 4 kB / 0.5463 GB, free: 7.941 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1384, allocations: 0 / 0.5463 GB, free: 7.941 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.1384, allocations: 0 / 0.5463 GB, free: 7.941 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.002412/0.1408, allocations: 1.093 MB / 0.5474 GB, free: 6.797 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.1408, allocations: 8.031 kB / 0.5474 GB, free: 6.789 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001074/0.1409, allocations: 82.7 kB / 0.5475 GB, free: 6.699 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002027/0.1412, allocations: 76.55 kB / 0.5476 GB, free: 6.625 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007363/0.1419, allocations: 0.5226 MB / 0.5481 GB, free: 6.062 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.1419, allocations: 25 kB / 0.5481 GB, free: 6.039 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.209e-05/0.142, allocations: 39.92 kB / 0.5481 GB, free: 6 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.143, allocations: 0.6015 MB / 0.5487 GB, free: 5.359 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.143, allocations: 0 / 0.5487 GB, free: 5.359 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.386e-05/0.1431, allocations: 16 kB / 0.5487 GB, free: 5.344 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.892e-05/0.1431, allocations: 28.64 kB / 0.5488 GB, free: 5.316 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008603/0.144, allocations: 450.2 kB / 0.5492 GB, free: 4.875 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.002883/0.1469, allocations: 3.165 MB / 0.5523 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000735/0.1476, allocations: 358.4 kB / 0.5526 GB, free: 0.957 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002574/0.1479, allocations: 168.7 kB / 0.5528 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03347/0.1813, allocations: 15.37 MB / 0.5678 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.1814, allocations: 38.56 kB / 0.5678 GB, free: 15.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 2.405e-06/0.1814, allocations: 0 / 0.5678 GB, free: 15.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.001409/0.1828, allocations: 0.5439 MB / 0.5684 GB, free: 15.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.1828, allocations: 51.41 kB / 0.5684 GB, free: 14.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004876/0.1833, allocations: 421.5 kB / 0.5688 GB, free: 14.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.1833, allocations: 33.7 kB / 0.5689 GB, free: 14.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.1835, allocations: 240.5 kB / 0.5691 GB, free: 14.28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.895e-05/0.1836, allocations: 115 kB / 0.5692 GB, free: 14.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.221e-05/0.1837, allocations: 53.69 kB / 0.5692 GB, free: 14.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.1839, allocations: 358.8 kB / 0.5696 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.1841, allocations: 99.94 kB / 0.5697 GB, free: 13.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.1843, allocations: 148.2 kB / 0.5698 GB, free: 13.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004294/0.1847, allocations: 292.8 kB / 0.5701 GB, free: 13.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1847, allocations: 3.938 kB / 0.5701 GB, free: 13.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005243/0.1852, allocations: 353 kB / 0.5704 GB, free: 12.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1852, allocations: 8 kB / 0.5705 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1852, allocations: 0 / 0.5705 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.1853, allocations: 4 kB / 0.5705 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.1855, allocations: 47.91 kB / 0.5705 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.1855, allocations: 7.984 kB / 0.5705 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.1856, allocations: 31.73 kB / 0.5705 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/0.1857, allocations: 8 kB / 0.5705 GB, free: 12.73 MB / 446.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.0002595/0.1859, allocations: 229.7 kB / 0.5708 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.995e-05/0.186, allocations: 47.73 kB / 0.5708 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.1873, allocations: 1.113 MB / 0.5719 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.772e-05/0.1873, allocations: 19.97 kB / 0.5719 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.1873, allocations: 0 / 0.5719 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1873, allocations: 0 / 0.5719 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008494/0.1882, allocations: 0.7261 MB / 0.5726 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1882, allocations: 0 / 0.5726 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.1883, allocations: 35.92 kB / 0.5727 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.1883, allocations: 4 kB / 0.5727 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.1884, allocations: 7.938 kB / 0.5727 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.1884, allocations: 7.938 kB / 0.5727 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.1884, allocations: 8 kB / 0.5727 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008197/0.1892, allocations: 0.7122 MB / 0.5734 GB, free: 9.734 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.1893, allocations: 140.5 kB / 0.5735 GB, free: 9.578 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.935e-05/0.1893, allocations: 7.938 kB / 0.5735 GB, free: 9.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.1895, allocations: 8 kB / 0.5735 GB, free: 9.562 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.1895, allocations: 15.97 kB / 0.5735 GB, free: 9.547 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.1896, allocations: 8 kB / 0.5736 GB, free: 9.539 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003128/0.1899, allocations: 303.1 kB / 0.5738 GB, free: 9.246 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1899, allocations: 0 / 0.5738 GB, free: 9.246 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001311/0.1912, allocations: 0.4993 MB / 0.5743 GB, free: 8.746 MB / 446.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.002794/0.194, allocations: 1.663 MB / 0.576 GB, free: 7.055 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005767/0.1945, allocations: 383.7 kB / 0.5763 GB, free: 6.684 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1946, allocations: 0 / 0.5763 GB, free: 6.684 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003095/0.1949, allocations: 244.8 kB / 0.5766 GB, free: 6.445 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.1959, allocations: 201.4 kB / 0.5767 GB, free: 6.246 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005852/0.2018, allocations: 4.528 MB / 0.5812 GB, free: 1.605 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006193/0.2024, allocations: 0.9498 MB / 0.5821 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003846/0.2028, allocations: 187 kB / 0.5823 GB, free: 464 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002553/0.203, allocations: 199.4 kB / 0.5825 GB, free: 264 kB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.203, allocations: 0 / 0.5825 GB, free: 264 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0559/0.2589, allocations: 24.48 MB / 0.6064 GB, free: 7.691 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.993/9.252, allocations: 11.83 kB / 0.6064 GB, free: 7.68 MB / 478.1 MB " [Timeout remaining time 651] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.107815278999624] Failed to read output from testmodel.py, exit status != 0: 9.332846132005216 9.354182841 9.211709358 Calling exit ...